打开 关闭

Bugs & Problems v2.7.0 #149


User avatar
0
alper 创建
支持团队 Director

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 答案
  • User Avatar
    0
    alper 创建
    支持团队 Director

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

  • User Avatar
    0
    armanozak 创建

    Gravatar @alper, yes.

  • User Avatar
    0
    sean.alford 创建

    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?"

  • User Avatar
    0
    ninomartini 创建

    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.

  • User Avatar
    0
    Mehmet 创建

    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.

  • User Avatar
    0
    edirkzwager 创建

    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 ?

  • User Avatar
    0
    ninomartini 创建

    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
  • User Avatar
    0
    alper 创建
    支持团队 Director

    thanks @sean.alford, updated.

  • User Avatar
    0
    alper 创建
    支持团队 Director

    @ninomartini is it Angular?

  • User Avatar
    0
    alper 创建
    支持团队 Director

    @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));
    
  • User Avatar
    0
    edirkzwager 创建

    @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 ?

  • User Avatar
    0
    alper 创建
    支持团队 Director

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

  • User Avatar
    0
    ninomartini 创建

    @alper Yes, Angular 2.7.

  • User Avatar
    0
    sean.alford 创建

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

    ABP Suite - Created

    ABP Suite - Should Create

  • User Avatar
    0
    terrycullen 创建

    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

  • User Avatar
    0
    Mehmet 创建

    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.

  • User Avatar
    0
    alper 创建
    支持团队 Director

    @edirkzwager coud not reproduce your issue.

  • User Avatar
    0
    sean.alford 创建

    Trouble updating ABP Suite 2.8.0

  • User Avatar
    0
    alper 创建
    支持团队 Director

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

  • User Avatar
    1
    alper 创建
    支持团队 Director

    @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

  • User Avatar
    0
    sean.alford 创建

    @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

  • User Avatar
    0
    ninomartini 创建

    @mehmet Thank you for informtion theCurrentUserImageComponent.

  • User Avatar
    0
    sean.alford 创建

    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

  • User Avatar
    0
    maliming 创建
    支持团队 Fullstack Developer

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

  • User Avatar
    0
    alper 创建
    支持团队 Director

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

    abp suite remove
    abp suite install
    
Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11