Open Closed

Bugs & Problems v2.7.0 #149


0
alper created
Support Team

Update the ABP CLI:

dotnet tool update -g Volo.Abp.Cli

Update the ABP Suite:

abp suite update

  • Release notes: https://docs.abp.io/en/commercial/latest/release-notes

52 Answer(s)
  • 0
    AndrewT created

    Are there release notes somewhere?

  • 0
    sean.alford created

    @AndrewT

    https://blog.abp.io/abp/ABP-Framework-v2_7_0-Has-Been-Released

    https://github.com/abpframework/abp/releases/tag/2.7.0

  • 0
    690486439 created

    hello!!! My version is the enterprise version! no add project

    abp suite version 2.7

  • 0
    zony created

    Can't access the url http://127.0.0.1:8988/Docs/Admin/Projects after publish.

    Below is the log message.

    [16:16:16 INF] Request starting HTTP/1.1 GET http://127.0.0.1:8988/Docs/Admin/Projects
    [16:16:17 ERR] Connection id "0HLVJU4I80GIM", Request id "0HLVJU4I80GIM:00000002": An unhandled exception was thrown by the application. Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.CompilationFailedException: One or more compilation failures occurred: /Pages/Docs/Admin/Projects/Index.cshtml(33,28): error CS1705: 标识为“Volo.Abp.Authorization, Version=2.7.0.0, Culture=neutral, PublicKeyToken=null”的程序集“Volo.Abp.Authorization”所使用的“Microsoft.AspNetCore.Authorization, Version=3.1.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60”版本高于所引用的标识为“Microsoft.AspNetCore.Authorization, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60”的程序集“Microsoft.AspNetCore.Authorization” /Pages/Docs/Admin/Projects/Index.cshtml(42,28): error CS1705: 标识为“Volo.Abp.Authorization, Version=2.7.0.0, Culture=neutral, PublicKeyToken=null”的程序集“Volo.Abp.Authorization”所使用的“Microsoft.AspNetCore.Authorization, Version=3.1.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60”版本高于所引用的标识为“Microsoft.AspNetCore.Authorization, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60”的程序集“Microsoft.AspNetCore.Authorization” at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(RazorCodeDocument codeDocument, String generatedCode) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.CompileAndEmit(String relativePath) at Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.RuntimeViewCompiler.OnCacheMiss(String normalizedPath) --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DefaultPageLoader.LoadAsyncCore(PageActionDescriptor actionDescriptor, EndpointMetadataCollection endpointMetadata) at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageLoaderMatcherPolicy.ApplyAsyncAwaited(CandidateSet candidates, Task1 actionDescriptorTask, Int32 index) at Microsoft.AspNetCore.Routing.Matching.DfaMatcher.SelectEndpointWithPoliciesAsync(HttpContext httpContext, IEndpointSelectorPolicy[] policies, CandidateSet candidateSet) at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.<Invoke>g__AwaitMatch|8_1(EndpointRoutingMiddleware middleware, HttpContext httpContext, Task matchTask) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication1 application) [16:16:17 INF] Request finished in 618.5964ms 500

  • 0
    alper created
    Support Team

    @andrew the release notes for the commercial side will be available in the next week, we'll announce it. When it's ready, it will be published in the document website https://docs.abp.io/en/commercial/latest

  • 0
    AndrewT created

    @alpers - Thankyou, let me know which tree it is under or create a new "Release Notes" category?

  • 0
    alper created
    Support Team

    @690486439 yes you have an Enterprise License, but this is a bug in Suite. It's has been addressed and fixed. You'll see the "Add to project" button in the next version.

  • 0
    alper created
    Support Team

    @zony i think it's related with the Docs module on the free side so can you file an issue to https://github.com/abpframework/abp/issues

  • 0
    alper created
    Support Team

    @AndrewT here's the release notes => https://docs.abp.io/en/commercial/latest/release-notes

  • 0
    AndrewT created

    @Alper - Thankyou! Can you tell us about progress on Blazor templates?

  • 0
    alper created
    Support Team

    @AndrewT, it's in the roadmap but not in high priority. Sorry, I can't tell a deadline.

  • 0
    ninomartini created

    Hello,

    Just want to bring your attetion to a small cosmetic issue with the tenant listing screen. It seems the table column headers are not aligning with the table column rows. Furthermore, the height of the table headers when viewed from a mobile device are wrong. Please refer to the attached images.

  • 0
    [email protected] created

    suite update failed

  • 0
    alper created
    Support Team

    @roop.yekollu, can you run

    abp suite remove

    then

    abp suite install

  • 0
    alper created
    Support Team

    @ninomartini this must be fixed in the latest version. tomorrow there'll be 2.7.1 for NPM packages. then you can update it or wait for the v2.8.0

  • 0
    sean.alford created

    ABP Suite: 2.7.0.0

    FYI: When you choose long for your PK type, there are several places within the project templates that are not getting substitude properly.

  • 0
    [email protected] created

    no luck alper

  • 0
    alper created
    Support Team

    I think your app is corrupted. try deleting this directory => %UserProfile%\.dotnet\tools\.store\volo.abp.suite then install again

  • 1
    alper created
    Support Team

    hi @sean.alford , thanks for reporting long primary key issue. Created an issue for that.

  • 0
    [email protected] created

    I don't see this folder volo.abp.suite

  • 0
    sean.alford created

    @alper I ran into a new problem this morning when I tried to start ABP.io Suite. I see @[email protected] is have a similar problem. So I followed your instructions to them and manually deleted %UserProfile%\.dotnet\tools\.store\volo.abp.suite. However, as you can see the install is failing.

    NOTE: I am logged into ABP via CLI in an Administrative Command Prompt

  • 0
    sean.alford created

    @alper, it looks like my virus protection is removing Volo.Abp.Suite.dll

    ABP.io Suite installed after I manually deleted it, and Update Restart Windows.

    However, if failed to start after the Windows Update Restart

    Norton Screen Shots

  • 0
    alper created
    Support Team

    That's definately a false alarm! Virus programs makes a heroistic check... A heuristic check is a method that lets a computer program "guess" about unknown stuff. The Suite DLL creates a web hosting, makes requests, accesses directories so they mark it as potentially risky. But it has nothing to do with virus. As you see from the Norton report, it says Heuristic Virus, which means the application follows a bunch of rules about what makes something look like a virus and when it sees a program that does similar things, it gets flagged as questionable.

    Here's the virus total score: 2 / 72 https://www.virustotal.com/gui/file/0911c25aaee672cc24e95654cd3d96c209cc1a01dce89c04cfff5cdd48ffecbc/detection

    You can ignore this and exclude Volo.Abp.Suite.dll from your antivirus.

  • 0
    armanozak created
    Support Team

    Dynamic Form Problem Caused by Ivy in Angular UI

    Hello,

    We have noticed that, due to this open issue on Angular, the DisabledDirective breaks all dynamic forms in v2.7 of the Angular UI, when Ivy is enabled.

    We have implemented one of the workarounds suggested in the thread of that issue and released v2.7.2 for the commercial-ui package which fixes the problem.

    If you observe anything similar, please remove yarn.lock (or package-lock.json) in your project and reinstall npm packages.

    Sorry for the inconvenience.

  • 0
    ninomartini created

    The header's avatar in a previous version was a more generic user avatar.

    The current version has a different user avatar.

    Was this changed in the template or controlled by a setting? Can you point me to any addtional information?

    Thank you in advance.

  • 0
    alper created
    Support Team

    I think the new one is Gravatar! Am I correct @armanozak?

  • 0
    armanozak created
    Support Team

    Gravatar @alper, yes.

  • 0
    sean.alford created

    Cosmetic/Translation

    This message should probably be read something like the following.

    "The 'Acme.HelpDesk' solution needs to be built prior to code generation. Do you wish to continue?"

    "The 'Acme.HelpDesk' solution must be built prior to code generation. Do you wish to continue?"

  • 0
    ninomartini created

    Gravatars are linked by email, correct? However, all my users are showing the same Gravatar. Even accounts with Gravators setup.

    Can I change the default Gravator for users that don't have Gravator?

    Thank you in advance.

  • 0
    Mehmet created
    Support Team

    Hi @ninomartini

    We linked the Gravatar image with the email of the current user. But not released yet. It'll be released on May 21.

    Can I change the default Gravator for users that don't have Gravator?

    We'll work on this.

    Thanks.

  • 0
    edirkzwager created

    After upgrading form version 2.3 to 2.7, we encounter a problem in the BundleContributer. The below code worked with 2.3 but does not work with 2.7. Goal is to delete the jquery from the global script bundle and add it ourselves at the top of the page.

                // delete jquery from the standard global scripts (will be added later by the Telerik Layout hook at the top of the page)
                Configure<AbpBundlingOptions>(options =>
                {
                    options
                        .ScriptBundles
                        .Configure(StandardBundles.Scripts.Global, bundle => {
                            bundle.AddContributors(typeof(Support.RemoveJqueryScriptContributor));
                        });
                });
                // Adds Telerik javascripts at the top of the page
                Configure<AbpLayoutHookOptions>(options =>
                {
                    options.Add(
                        LayoutHooks.Body.First,
                        typeof(TelerikControlsScriptsLayoutHook)
                    );
                });
    

    Implementation of the RemoveJqueryScriptContributor

    	public class RemoveJqueryScriptContributor : BundleContributor
    	{
    		public override void ConfigureBundle(BundleConfigurationContext context)
    		{
    			context.Files.RemoveAll(x => x.StartsWith("/libs/jquery/jquery.js", StringComparison.InvariantCultureIgnoreCase));
    		}
    	}
    

    In the actual page the the jquery is included (once at the top and once at the bottom). Setting a breakpoint on the RemoveAll however shows the jquery is removed from the context.Files. I would expect only one instance of jquery at the top of the page. Any ideas ?

  • 0
    ninomartini created

    Account self registration not displaying correctly when switching tenants. When switching tenants, the login page does not show or hide the register link correctly unless the page is refreshed.

    Steps to reproduce:

    1. Tenant-A has sef-registraion enabled
    2. Tenant-B has self registration disabled
    3. When switching from Tenant-A to Tenant-B on login form--the register link is showing even though the Tenant has self registration disabled
    4. Refreshing the page (F5) will hide the register link
  • 0
    alper created
    Support Team

    thanks @sean.alford, updated.

  • 0
    alper created
    Support Team

    @ninomartini is it Angular?

  • 0
    alper created
    Support Team

    @edirkzwager it seems like you are doing everything OK. but this code smells

    context.Files.RemoveAll(x => x.StartsWith("/libs/jquery/jquery.js", StringComparison.InvariantCultureIgnoreCase));
    

    if you run it in a Docker container (Linux OS) and in Windows it'll behave different. because directory seperator is different in both systems.

    I would write this code as below:

    context.Files.RemoveAll(x => x.EndsWith("jquery.js", StringComparison.OrdinalIgnoreCase));
    
  • 0
    edirkzwager created

    @alper Thanks, for pointing this out. I did not think of that. But even with this 'fix' it still does not work. Could you confirm this is an issue in the 2.7.0 ?

  • 0
    alper created
    Support Team

    @edirkzwager I'll try to reproduce it in a scratch 2.7.0 and get back to you.

  • 0
    ninomartini created

    @alper Yes, Angular 2.7.

  • 0
    sean.alford created

    @alper, I think I found another issue this afternoon.

    ABP Suite - Created

    ABP Suite - Should Create

  • 0
    terrycullen created

    Hi,

    Minor improvement:

    1. Please trim URLs pasted into the Identity Server configuration screen.
    2. When copying URLs from an existing Identity Server configuration, they are padded with whitespace... please make them not padded for easier copying.
    3. Please add a 'Duplicate' button to aid in copying Identity Server clients.

    The problem is that if the URL in the 'RedirectUrl' field has some white space on it, it creates reallly hard to identify issues.

    Thanks!

    Terry

  • 0
    Mehmet created
    Support Team

    Hi @ninomartini

    The header's avatar in a previous version was a more generic user avatar. The current version has a different user avatar. Was this changed in the template or controlled by a setting? Can you point me to any addtional information? Thank you in advance.


    We have created a component called CurrentUserImageComponent and made the component replaceable. You can replace this component with your own component in v2.8. I created a GitHub gist to explain how to replace the CurrentUserImageComponent. See https://gist.github.com/mehmet-erim/f83f1c0f9f95281a42b50d758eff33c8.


    Account self registration not displaying correctly when switching tenants. When switching tenants, the login page does not show or hide the register link correctly unless the page is refreshed. Steps to reproduce:

    1. Tenant-A has sef-registraion enabled
    2. Tenant-B has self registration disabled
    3. When switching from Tenant-A to Tenant-B on login form--the register link is showing even though the Tenant has self registration disabled
    4. Refreshing the page (F5) will hide the register link

    Thanks for reporting. We'll fix the problem.

  • 0
    alper created
    Support Team

    @edirkzwager coud not reproduce your issue.

  • 0
    sean.alford created

    Trouble updating ABP Suite 2.8.0

  • 0
    alper created
    Support Team

    @sean for the update problem.. you need to first update abp cli tool then update abp suite see screenshot

  • 1
    alper created
    Support Team

    @sean for this post, I've created an issue. thank you for the feedback! https://support.abp.io/QA/Questions/149#answer-dc4c68b2-bb05-4581-4827-39f540d8ecbf

  • 0
    sean.alford created

    @alper I updated the abp cli tool prior to attempting to update abp suite. (https://support.abp.io/QA/Questions/149#answer-c6e4f4d5-40b5-de60-9c0b-39f549d5cc24)

    As you can see here:

    NOTE: I also tried abp suite remove, and then abp suite install and received the same result.

    SOLUTION:

    1. Remove ABP Suite: abp suite remove
    2. Delete Folder: C:\Users\Username\.abp\suite
    3. Install abp suite install

  • 0
    ninomartini created

    @mehmet Thank you for informtion theCurrentUserImageComponent.

  • 0
    sean.alford created

    ABP Suite 2.8.0

    Here's another Navigation Property issues. It's related to the previous one, but in this case it doesn't create the entity propertly.

    Generated

    Should Generate

  • 0
    maliming created
    Support Team

    https://support.abp.io/QA/Questions/188/Bugs--Problems-v280

  • 0
    alper created
    Support Team

    if you have updated Suite on 2020-05-21, please remove and install it again.

    abp suite remove
    abp suite install
    
  • 0
    alper created
    Support Team

    @sean.alford if you can send us the Suite entity json files, I'll try to reproduce and fix them.

  • 0
    edirkzwager created

    @alper Concerning my problem with removing jquery. You can close that issue because we needed to change the removal of jquery to the below code :

                options
                    .ScriptBundles
                    .Configure(LeptonThemeBundles.Scripts.Global, bundle => {
                        bundle.AddContributors(typeof(Support.RemoveJqueryScriptContributor));
                    });
    

    instead of

                options
                    .ScriptBundles
                    .Configure(StandardBundles.Scripts.Global, bundle => {
                        bundle.AddContributors(typeof(Support.RemoveJqueryScriptContributor));
                    });