Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-21813

Creating new user role instead of updating the existing one

XMLWordPrintable

    • Team B
    • Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023)
    • 0.5

      Steps to reproduce:

      1. Open any user role for editing.
      2. Cut the name (leave the field empty).
      3. Click the Update button.
      4. Observe:
        1. The form reloads with error:
          Cannot update user role: Incorrect value for field "name": cannot be empty.
        2. Also, the Add button is displayed instead of the Update button below the form.
      5. Put the name back.
      6. Click the Add button.
      7. Observe:
        1. The form reloads with error:
          Cannot create user role: User role "..." already exists.

      Expected:

      On errors, still editing the existing user role and not creating a new one.

            dpetra Dace Petra
            averza Andrejs Verza
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: