Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1732

'Update Permission' popup shows empty permission on re-editing

    XMLWordPrintable

    Details

    • Release Notes Summary:
      Reopening the update permission dialog, the right input field displays the permission previously selected, allowing for seamless editing
    • Backlog priority:
      750
    • Browser:
    • Sprint:
      UI - 2024-4
    • Story Points:
      3

      Description

      When attempting to update a permission for a document, the permissions drop down displays the correct permission upon initial edit. However, if the edit is cancelled and the permission edit dialog is reopened, the permissions drop down appears empty instead of displaying the previously selected permission.

      Steps to reproduce:

      1. Navigate to the Permissions tab of any document
      2. Add a permission by clicking on the New button in the Permissions defined locally section. If permission already exists, you can skip this step.
      3. Locate the newly created / existing permission and click on the Edit Permission button. Observe that the permissions drop down correctly displays the previously selected permission
      4. Without making changes, click on the Cancel button to close the edit dialog
      5. Reopen the edit dialog for the same permission by clicking on the Edit Permission button again
      6. Observe that the permissions (Right) drop down is now empty, not showing the previously selected permission

      Expected behavior: when reopening the update permission dialog, the Right input field should display the permission previously selected, allowing for seamless editing.

      Actual Behavior: up on reopening the Update Permission dialog, the Right input field is empty, forcing the users to re-select the permission, which can lead to confusion.

      Additional Information:

      • this issue is noticed in nuxeo-elements-3.0.29+
      • across all browsers for all users

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 days, 5 hours
                  4d 5h
                  Remaining:
                  Time Spent - 4 days, 4 hours Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 4 days, 4 hours Remaining Estimate - 1 hour
                  4d 4h