Open Closed

User Edit Modal Issues with Roles and Permissions Tabs #5804


User avatar
0
AliJaradat995 created
  • ABP Framework version: v7.4.0
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:

Specifically, I am facing problems in the Identity User Edit modal when attempting to access the Role and Permissions tabs.

Issue with Role Tab: Upon opening the Edit modal for an Identity User, I noticed that one of the roles is displaying incorrectly. It appears as described in the attached screenshot . The role is not displaying as expected, and this is causing confusion and usability problems for our users.

Problem with Localization in Permissions Tab: Additionally, there is an issue with the Localization in the Permissions tab. When accessing the Localization settings, I have observed that the translations are not rendering correctly. They seem to display text enclosed within <span> tags, as illustrated in the attached screenshot. This issue makes it challenging to work with localization settings effectively.

I kindly request your assistance in addressing these issues promptly, as they are impacting the user experience and functionality of our application.

Could you please investigate these problems and provide guidance on how to resolve them? If necessary, I am prepared to provide additional information or access to our environment to aid in troubleshooting.

  • Steps to reproduce the issue:

Issue with Role Tab:

  1. Log in to the ABP Framework application as an administrator.
  2. Navigate to the User Management section.
  3. Select an existing Identity User to edit.
  4. Click on the "Roles" tab within the Edit User modal.
  5. Observe that one of the roles is displaying incorrectly, as shown in the attached screenshot.

Problem with Localization in Permissions Tab:

  1. Log in to the ABP Framework application as an administrator.
  2. Navigate to the User Management section.
  3. Select an existing Identity User to edit.
  4. Click on the "Permissions" tab within the Edit User modal.
  5. Access the Localization settings.
  6. Observe that translations appear to be enclosed within <span> tags, as depicted in the attached screenshot.

5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We have fixed this, What's your abp version?

    https://github.com/abpframework/abp/pull/16677/

  • User Avatar
    0
    AliJaradat995 created

    Version 7.3

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Observe that one of the roles is displaying incorrectly, as shown in the attached screenshot.

    
    Configure<WebEncoderOptions>(options =>
    {
          options.TextEncoderSettings = new TextEncoderSettings(UnicodeRanges.All);
    });
    
    or
    
    Configure<WebEncoderOptions>(options =>
        options.TextEncoderSettings = new TextEncoderSettings(UnicodeRanges.BasicLatin,
            UnicodeRanges.CjkUnifiedIdeographs));
    

    Observe that translations appear to be enclosed within <span> tags, as depicted in the attached screenshot.

    The fix code exists on 7.4.0-rc.3 7.4.0-rc.2 7.4.0-rc.1 7.3.3 7.3.2 7.3.1 7.3.0 7.3.0-rc.3 7.3.0-rc.2 7.3.0-rc.1 7.2.3

    Can you try a new template project? Are you custom any page code?

  • User Avatar
    0
    AliJaradat995 created

    There are no custom page codes within the permissions or roles.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Can you try a new template project? or share a simple project to reproduce? Thanks

    liming.ma@volosoft.com

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19