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?