Details
Assignee
UnassignedUnassignedReporter
Valery_PilkoValery_PilkoLabels
Priority
P4Development Team
SpitfireAffected releases
Quesnelia (R1 2024)Poppy (R2 2023)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Unassigned
UnassignedReporter
Valery_Pilko
Valery_PilkoLabels
Priority
Development Team
Spitfire
Affected releases
Quesnelia (R1 2024)
Poppy (R2 2023)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created October 9, 2024 at 3:30 PM
Updated March 11, 2025 at 12:32 PM
Overview:
On UI we have validation for cases when:
linkable (but not linked yet field) has $9
linked field has additional $9 added by user
See attached screenshots for example:
Requirement:
Add validation for ‘/records-editor/records’ endpoint for following case:
user tries to add “$9” subfield in linkable field (but not linked yet) of MARC bibliographic record via API request (POST, PUT to ‘/records-editor/records’)
No changes for linking or $9 handling.
Steps to reproduce:
Send POST/PUT with $9 subfield in linkable (but not linked) field:
Check status of started job:
Actual result: Error is returned with following message:
Expected result: Return sensible error message on for POST, PUT request, ex.: “$9 is an invalid subfield for linkable bibliographic fields.”
Approach
Create ticket to add UUID format validation for $9 subfield in record specification. Possible options:
Update
Subfield
entity definition to includevalueFormatType
(uuid, regex) enum andvalueFormat
fieldsUse invalidSubfieldValue rule for $9
Check that all fields required for linking present if $9 present. If only $9 present - return expected error