Create organisation validation error for "abbreviation" not shown
Expected behaviour
When a user enters an invalid Abbreviated name
in the "New Organization" UI, a validation error message should show.
See expected validation (from dev issue #389 (closed))
{
"name": "New publisher", // New publisher name to create.
"abbreviation": "npub" // New publisher abbreviation. Must match [a-z][a-z0-9_]+$ (start with a letter and only contains alphanumeric chars plus underscore)
}
Current behaviour
User can enter an abbreviation that start with a number, a validation error message does not show.
Steps to reproduce
new-org-validation-bug-20220907
- enter in an abbreviation that starts with a digit
- press save
- button says saving briefly, modal stays open, no org is created.
Environment
[Provide browser name and version and if you're working from a PC or Mac]
Possible solution
[Not required. Suggest a fix for the bug]
NCBI's priority feedback
[Select "Y" or "N" and provide an explanation]
- This bug is blocking NCBI's work on migration planning for deployment 1 (Y/N)
- This can be prioritised after deployment 1 (Y/N)
QA Steps
[To be completed by Coko once dev is done]