Rules for handling 010 (MARC authority - 1XX)

Rules for handling 010 (MARC authority - 1XX)

This logic applies to data import (update MARC authority) and edit MARC authority via quickMARC UI (with additional validations) 

Scenario

authority field 001 valid prefix

authority field 010 $a valid prefix

bib field $0 populated by 

naturalid

1

N

N

001

001

2

N

Y

010 $a

010 $a

3

Y

Y

010 $a

010 $a

4

Y

N

001

001

 

See table to revise test results:
Table 1: Edit in quickMARC; Linking is based on "001" field ("$0" of "MARC Bib" is controlled by "001" field of "MARC Authority")

https://folio-org.atlassian.net/browse/UIQM-386

Test #

Description 

Expected result

Actual result

Passed?

Test-case

Test #

Description 

Expected result

Actual result

Passed?

Test-case

1

When "MARC Authority" doesn't have "010" >>
Create new "010" field with "$a" >> save the record

Show error 

Successful save 

Yes

https://foliotest.testrail.io/index.php?/cases/view/375140

2

When "MARC Authority" doesn't have "010" >>
Create new "010" field with "$z" >> save the record 

Successful save

Successful save

Yes

https://foliotest.testrail.io/index.php?/cases/view/374162

3

When "MARC Authority" has "010 $z"
Edit "$z" in "010" field >> save the record  

Successful save

Successful save

Yes

https://foliotest.testrail.io/index.php?/cases/view/375144

4

When "MARC Authority" has "010 $z"
Delete "010" field with "$z">> save the record  

Successful save

Successful save

Yes

https://foliotest.testrail.io/index.php?/cases/view/375144

5

When "MARC Authority" has "010 $z"
Add "$a" in "010" field >> save the record  

Show error

Show error

Yes

https://foliotest.testrail.io/index.php?/cases/view/374162

6

When "MARC Authority" has "010 $a"
Edit "$a" in "010" field >> save the record

Show error

Show error

Yes

https://foliotest.testrail.io/index.php?/cases/view/375142

7

 When "MARC Authority" has "010 $a"
Add "$z" in "010" field >> save the record

Successful save

Successful save

Yes

https://foliotest.testrail.io/index.php?/cases/view/375144

8

When "MARC Authority" has "010 $a and $z"
Edit "$z" in "010" field >> save the record

Successful save

Successful save

Yes

https://foliotest.testrail.io/index.php?/cases/view/375144

9

When "MARC Authority" has "010 $a and $z"
Delete "$z" in "010" field >> save the record

Successful save

Successful save

Yes

https://foliotest.testrail.io/index.php?/cases/view/375144

10

When "MARC Authority" has "010 $a and $z"
Delete "$a" in "010" field >> save the record

Show error

Show error

Yes

https://foliotest.testrail.io/index.php?/cases/view/375144

11

When "MARC Authority" has "010 $a"
Delete "010" field >> save the record

Successful save

Successful save

Yes

https://foliotest.testrail.io/index.php?/cases/view/374163

 

Table 2: Edit in quickMARC; Linking is based on "010" field ("$0" of "MARC Bib" is controlled by "010 $a" field of "MARC Authority")

https://folio-org.atlassian.net/browse/UIQM-348

Test #

Description

Expected result

Actual result

Passed?

Test-case

Test #

Description

Expected result

Actual result

Passed?

Test-case

1

Edit "$a" in "010" field (from valid to valid prefix) >> save the record

successful save; 
"$0" - updated with "010 $a"

successful save; 
"$0" - updated with "010 $a"

Yes

https://foliotest.testrail.io/index.php?/cases/view/374157

2

Edit "$a" in "010" field (from valid to NOT valid prefix) >> save the record

successful save; 
"$0" - updated with "001"

successful save; 
"$0" - updated with "001"

Yes

https://foliotest.testrail.io/index.php?/cases/view/376595

3

Delete "010" field 

Icon doesn't show

Icon doesn't show

Yes

https://foliotest.testrail.io/index.php?/cases/view/374161

4

Delete "010" field via rename tag value to "009" >> Save the record

Show error

Successful save

Yes

https://foliotest.testrail.io/index.php?/cases/view/374161

5

Add "$z" in "010" field >> save the record

successful save

successful save

Yes

https://foliotest.testrail.io/index.php?/cases/view/376596

6

Edit "$z" in "010" field >> save the record

successful save

successful save

Yes

https://foliotest.testrail.io/index.php?/cases/view/376596

7

Delete "$z" in "010" field >> save the record

successful save

successful save

Yes

https://foliotest.testrail.io/index.php?/cases/view/376596

8

When "MARC Authority" has "010 $a and $z"
Delete "$a" in "010" field >> save the record

Show error

successful save; Linked bib update confirmation modal is shown;
"$0" - updated with "001"

Yes

https://foliotest.testrail.io/index.php?/cases/view/376600

9

Delete value from "$a" in "010" field >> save the record

Show error

successful save; Linked bib update confirmation modal is shown;
"$0" - updated with "001 $a"

Yes

https://foliotest.testrail.io/index.php?/cases/view/376936

 

Table 3: Update MARC authority record via "Data import"; Linking is based on "010" field ("$0" of "MARC Bib" is controlled by "010 $a" field of "MARC Authority")

Test #

Description

Expected result

Actual result

Passed?

Test-case

Test #

Description

Expected result

Actual result

Passed?

Test-case

1

Edit "$a" in "010" field (from valid to valid prefix)

Update MARC authority 010 $a

Linked bib fields "$0" - updated with "010 $a"

Linked bib fields "$0" - updated with "010 $a"

Yes

https://foliotest.testrail.io/index.php?/cases/view/374180

2

Edit "$a" in "010" field (from valid to NOT valid prefix)  

Update MARC authority 010 $a

Linked bib fields "$0" - updated with "001"

Linked bib fields "$0" - updated with "001"

Yes

https://foliotest.testrail.io/index.php?/cases/view/376938

3

Delete "010" field 

Update MARC authority without 010

Linked bib fields "$0" - updated with "001" 

Linked bib fields "$0" - updated with "001"

Yes

https://foliotest.testrail.io/index.php?/cases/view/374182

5

Add "$z" in "010" field 

MARC authority 010 is updated with $z

No change to linked bib fields $0

Linked bib fields "$0" -

not updated

Yes

https://foliotest.testrail.io/index.php?/cases/view/376939

6

Edit "$z" in "010" field

MARC authority 010 is updated with $z

No change to linked bib fields $0

Linked bib fields "$0" -

not updated

Yes

https://foliotest.testrail.io/index.php?/cases/view/376940

7

Delete "$z" in "010" field

MARC authority 010 is updated without $z

No change to linked bib fields $0

Linked bib fields "$0" -

not updated

Yes

https://foliotest.testrail.io/index.php?/cases/view/376941

8

When "MARC Authority" has "010 $a and $z"
Delete "$a" in "010" field

MARC authority 010 is updated without $a

Linked bib fields "$0" - updated with "001" 

Linked bib fields "$0" - updated with "001"

Yes

https://foliotest.testrail.io/index.php?/cases/view/376942

9

Delete value from "$a" in "010" field

Could be an DI error that prevents the record from updating OR

MARC authority is updated without 010

Linked bib fields "$0" - updated with "001"

Linked bib fields "$0" - updated with "001"

MARC authority updated with empty "010" (without "$a"). "Something went wrong" screen when opening it for edit

No

https://foliotest.testrail.io/index.php?/cases/view/376943

(assumption: MARC authority is updated without 010)

 

Table 4: Update via "Data import"; Linking is based on "001" field ("$0" of "MARC Bib" is controlled by "001" field of "MARC Authority")

 

Test #

Description

Expected result

Actual result

Passed?

Test-case

Test #

Description

Expected result

Actual result

Passed?

Test-case

1

Given 001 has a valid prefix 

When "MARC Authority "create new "010" field with "$a"  AND valid prefix

MARC authority updated with 010 $a 

AND the bib field $0 is also updated with 010 $a 

 

Linked bib fields "$0" - updated with "010"

Yes

https://foliotest.testrail.io/index.php?/cases/view/376944

2

Given 001 has an invalid prefix 

When "MARC Authority" create new "010" field with "$a"  AND valid prefix

MARC authority updated with 010 $a 

AND the bib field $0 is also updated with 010 $a 

Linked bib fields "$0" - updated with "010"

Yes

https://foliotest.testrail.io/index.php?/cases/view/376945

3

Given 001 has an invalid prefix 

When "MARC Authority" create new "010" field with "$a"  AND invalid prefix

MARC authority updated with 010 $a

AND the bib field $0 is not updated and 001 continues to populate the value

Linked bib fields "$0" - not updated 

Yes

https://foliotest.testrail.io/index.php?/cases/view/376947

4

Given 001 has an valid prefix 

When "MARC Authority" create new "010" field with "$a"  AND invalid prefix

MARC authority updated with 010 $a

AND the bib field $0 is not updated and 001 continues to populate the value

Linked bib fields "$0" - not updated 

Yes

https://foliotest.testrail.io/index.php?/cases/view/376948

5

When "MARC Authority" doesn't have "010" >>
Create new "010" field with "$z" 

MARC authority updated with 010 $z

AND the bib field $0 is not updated and 001 continues to populate the value

Linked bib fields "$0" - not updated

Yes

https://foliotest.testrail.io/index.php?/cases/view/376950

6

When "MARC Authority" has "010 $z"
Edit "$z" in "010" field >> save the record  

MARC authority updated with 010 $z

AND the bib field $0 is not updated and 001 continues to populate the value

Linked bib fields "$0" - not updated

Yes

https://foliotest.testrail.io/index.php?/cases/view/376951

7

When "MARC Authority" has "010 $z"
Delete "010" field with "$z  

MARC authority updated without 010 $z 

AND the bib field $0 is not updated and 001 continues to populate the value. Assuming that 010 $a has an invalid prefix. 

Linked bib fields "$0" - not updated

Yes

https://foliotest.testrail.io/index.php?/cases/view/376952

8

When "MARC Authority" has "010 $z"
Add "$a" in "010" field  

MARC authority updated with 010 $a

If 010 $a is valid then update linked bib fields $0 otherwise no change

If 010 $a is valid then update linked bib fields $0 otherwise no change

Yes

Add valid "$a":

https://foliotest.testrail.io/index.php?/cases/view/376954
Add invalid "$a":

https://foliotest.testrail.io/index.php?/cases/view/376953

9

When "MARC Authority" has "010 $a"
Edit "$a" in "010" field

MARC authority updated with 010 $a

If 010 $a is valid then update linked bib fields $0 otherwise no change