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

Details

    • Team A
    • Sprint 94 (Nov 2022), Sprint 95 (Dec 2022)
    • 0.5

    Description

      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.

      Attachments

        Activity

          People

            averza Andrejs Verza
            averza Andrejs Verza
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: