Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-7789

Double click save self-registration form causes two rest calls and race condition

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Module - Web UI
    • Labels:
      None
    • Cases:
    • Support Ticket IDs:

      Description

      With an OOTB install, enabling self registration.

      Fill the form with random data, then double click the save button. Two rest calls are sent in a row, causing a double entry in the repository. For this particular case, userName uniqueness is enforced, so there seems to be a race condition occurring in the backend. The question is, though :

      • Should double click be caught (and ignored), as according to documentation, a double click event also sends a single click event.
      • or should this condition be better caught in the backend?

        Attachments

          Activity

            People

            • Assignee:
              jake.feasel Jake Feasel
              Reporter:
              patrickdiligent patrick diligent
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: