Consume subfield definitions creation requests

Description

Overview: After implementation of undefined subfield rule we need to process undefined subfield “$9” (which stores authority’s UUID) in linked MARC field without showing a Warn error.

Requirements:

  1. Don’t change current behavior related to $9 existence validation in linked / linkable field. We still need to show Fail error when:
    - subfield “$9” is added by user to the linked field;
    - subfield “$9” is added by user to the linkable (not linked yet) field;
    see attached screenshot:

  2. Don’t show Warn error, which appears because of subfield “$9” (which stores authority’s UUID).
    see attached screenshot:


Approach:

  • create a kafka topic (specification-storage.specification.update) and consume it to have a possibility to create system rules.

  • Define the message schema in dto submodule. possible message payload format:

Environment

None

Potential Workaround

None

Attachments

5

Checklist

hide

Activity

Show:

Valery_PilkoOctober 8, 2024 at 11:43 AM

Verified on Snapshot-2 environment:

  1. Warn error for subfield $9 in linked field is not displayed in Create/Derive/Edit, see screenshot for example:

     

  2. Fail error is displayed when user added $9 in linked/linkable field in Create/Derive/Edit, see screenshot for example:
    Note: when there are multiple $9 - “Fail: Subfield '9' is non-repeatable.” is displayed.

     

  3. Warn error is displayed when user added $9 in non-linkable field in Create/Derive/Edit, see screenshot for example:

Ready for PO review.

Pavlo SmahinOctober 7, 2024 at 8:57 AM

It could be tested in couple with MODELINKS-255

Christine Schultz-RichertSeptember 19, 2024 at 11:28 AM

Refinement - 9/19/24: Team will create additional story, after which we will be able to estimate both.

Khalilah GambrellSeptember 18, 2024 at 12:36 PM

Hey - I cannot think of a scenario.

  • If Bulk-edit ever uses record validation they will follow whatever we have implemented + tenant level rules.

  • Data import should be the same

  • Data export should be the same

  • OAI-PMH should be the same

  • Is there a way to get a list of modules that interact with SRS or quickMARC to confirm?

Pavlo SmahinSeptember 18, 2024 at 12:24 PM

, is there a possibility that some modules will need to define some non-local fields/subfields/indicator rules for the specifications? Similar to this case where we need to add $9 system rule for each linkable field, we need to make mod-entities-links (the module that handles linking rules) to define these rules.


Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Ramsons (R2 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created September 12, 2024 at 1:45 PM
Updated October 30, 2024 at 12:57 PM
Resolved October 11, 2024 at 5:25 PM
TestRail: Cases
TestRail: Runs