STORY: Repeatable subfields | Provision activity

Description

As a cataloger, I need the ability to add subfields to a resource description so that the description is complete.

Currently, the design allows a cataloger to repeat an entire components, inclusive of its subfields. A cataloger will also need the ability to add multiple values for selected subfield within a component.

NOTE: the monograph profile for BIBFRAME includes a property for repeatability. And the plan is to allow the front end to leverage this property to determine when / whether to display the repeatability function for any given subfield, starting with the Provision Activity component.

{

                "mandatory": "false",

                "repeatable": "true",

                "type": "literal",

. . .

                  "defaults": [],

                  "valueDataType": {}

                },

 

In scope

Instance Monograph profile subfields

The ability to add multiple occurrences for supported subfields in the Instance Monograph profile

Out of scope

Components that map to the 008 - Fixed Length Data Elements ( including EDTF and Place of publication.

Requirements

  • Place (to/from 26X $a)

  • Name (to/from 26X $b)

  • Date (to/from 26X $c)

Once selected, a new occurrence of the selected subfield is created immediately below the original occurrence. The new occurrence of the subfield will have the properties as the original subfield, but no values will be carried over from the original occurrence to the new occurrence

After a cataloger creates a new occurrence of a subfield, populates the occurrence with values, and saves the resource description, all of the saved occurrences and values of a subfield in the Instance Monograph profile will be displayed as part of the resource description thereafter.

Use cases

1. Default state

GIVEN that a cataloger is creating a new resource description from scratch

WHEN the edit screen is invoked

THEN each subfield (from the list defined above) will display the repeatability function per wireframe design

Repeat for the use case where the cataloger elects to edit an existing resource description in Edit mode. 

2. Invoking repeat function

GIVEN scenario 1, 

WHEN the cataloger the repeatable function for a subfield

THEN a second occurrence of the subfield is displayed directly below the original occurrence

AND the second occurrence of the subfield displays the same field labels as the original occurrence

AND the subfield in the second occurrence is empty

3. Editing / Saving new occurrences

GIVEN scenario 2

WHEN the cataloger enters values into the new occurrence of the subfield and saves the resource description

THEN the edits made to the resource description are displayed when the resource description is retrieved

4. Creating multiple occurrences of one subfield

GIVEN scenario 1

WHEN the cataloger creates multiple occurrences of a subfield

THEN the resource description displays every occurrence created from the action

NOTE: there are no upper limits to the number of occurrences that can be added; 

5. Creating multiple occurrences of multiple fields

GIVEN scenario 5

WHEN the cataloger creates multiple occurrences of multiple subfields

THEN the resource description displays every occurrence created from the action 

 

Environment

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Doug LoynesSeptember 27, 2023 at 11:52 AM

Check with LC to ask why EDTF field is repeatable. If it doesn't need to be repeated, reflect in the Jira card. 

Doug LoynesSeptember 26, 2023 at 6:49 PM

Created a second Jira card to cover use cases for repeating subfields in the Instance profile. 

 

Done

Details

Assignee

Reporter

Labels

Priority

Development Team

Citation

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created September 26, 2023 at 5:27 PM
Updated September 11, 2024 at 12:19 PM
Resolved September 11, 2024 at 12:19 PM
TestRail: Cases
TestRail: Runs