Uploaded image for project: 'OpenLMIS General'
  1. OLMIS-5852

Supervisory node code can be not unique when different casing is used

    Details

    • Epic Link:
    • Sprint:
      Team JSI Sprint 119, Team JSI Gap Sprint 120
    • Story Points:
      2

      Description

      During exploratory tests, I noticed that one can change a supervisory node's code to a not unique one when one uses different casing.

      Reproduction steps:

      1. Log into the application as administrator.
      2. Go to Administration > Supervisory Nodes.
      3. Click the "Edit" button next to any supervisory node.
      4. Change the supervisory node's code to a not unique one but with different casing (e.g. "sn1").
      5. Try to update the supervisory node.
      6. The supervisory node is updated.

      Expected behavior:

      • It shouldn't be possible to change the supervisory node's code to a not unique one, even if different casing is used;
      • The changes shouldn't be saved; instead, an error message should be returned.

        Checklists

          Attachments

            Activity

              People

              • Assignee:
                teklutesfayeh Teklu Tesfaye
                Reporter:
                jbebak Joanna Bebak
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: