Details
-
Bug
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
Core: F - Sprint 98, Core: F - Sprint 99
-
Prokopovych
Description
Overview: When testing permissions for Inventory (Testing Bugfest test case T14177) pwanninger found that a user can not add statistical codes in the BugFest environment. The same bug can be reproduced in FOLIO Snapshot (user: diku_admin, with all permissions).
Step to reproduce:
- Login to FOLIO Snapshot, go to Settings > Inventory
- Select Instance, Holdings, Item > Statistical codes
- Click on the 'New' button
- Enter a statistical code that has either the same name or type (or both) as one that already exists in the list
- Click Save button
Expected result:
Should get an informative error message that tells you why the data wasn't saved: e.g. "Please supply a unique value." CB: I think this message should work universally, as I checked a number of different controlled vocabularies throughout settings and you seem to get this "Error on saving data" message when either:
1. Data is required but not supplied
2. Supplied data is not unique and should be
Actual result:
An error message: "Error on saving data"
Additional info:
- After changing my inputs to make them unique I was able to save the entry BUT the page then cleared out and said "No statistical codes". I had to nav away and back to see the codes (along with the newly created one) -
UIIN-1081 - This repros in snapshot and Edelweiss as well as Fameflower BugFest
- This ambiguous error message appears elsewhere in Settings. For example, if I attempt to create a duplicate Institution
TestRail: Results
Attachments
Issue Links
- is duplicated by
-
UIIN-445 Settings-Inventory: Statistical code types - No Error When Creating Duplicate
-
- Closed
-
- relates to
-
STSMACOM-346 Settings > Inventory. Create or Edit of Statistical code value require page refreshed to see edit
-
- Closed
-