Project

General

Profile

Actions

BUG #2609

open

[SQA] Roles Module - Role Name Shows in Lowercase on Edit & Permissions Bug

Added by Md. Abdul Hamid 10 months ago.

Status:
Pending
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
06/25/2025
Due date:
% Done:

0%

Estimated time:

Description

There are two related issues in the Roles module when editing an existing role:

1. Role Name Casing Issue:

  • When a new role is created, the role name appears in UPPERCASE, which is correct.
  • However, after editing a role (even without changing the name), the role name is saved/displayed in lowercase, which is inconsistent.

2. Permission Checkbox Bug in Edit Modal:

  • When editing a role via the modal, if the user opens the modal and submits the form without making any changes, all previously assigned permissions appear to be unchecked.
  • However, if the page is reloaded, the original permissions reappear correctly, indicating the backend data is intact, but the frontend display is broken after the form submission.

Expected Behavior:

  • The role name should remain uppercase after editing.
  • Submitting the edit form without any changes should not affect the display or state of permissions.
  • Permissions checkboxes should remain checked as per their existing values unless explicitly modified by the user.

Video links:

https://drive.google.com/file/d/10WkM-wnZ7oRd6ap4IiqJ6pjVHpTfBb5z/view?usp=sharing
https://drive.google.com/file/d/1KPdLAp_0UxG_N-DA1XEsWaW-DT9koA4L/view?usp=sharing

No data to display

Actions

Also available in: Atom PDF