pulibrary / aspace_helpers

methods and reports to support common SC activities in ArchivesSpace
1 stars 0 forks source link

re-imported components trigger the "multiple items" label in the XSL-FOP #399

Closed regineheberlein closed 11 months ago

regineheberlein commented 11 months ago

Describe the bug From aspace-help:

I had imported a spreadsheet of archival objects, and printed off folder labels through oXygen. Then I imported another spreadsheet with my next set of archival objects, but I had accidentally left the same archival objects I already imported, so I reimported a mix of archival objects that were already in Aspace. when I did the folder label transformation scenario, some of the titles of the folders changed to "Multiple Items" if they were for archival objects I had already imported. But in Aspace, each component still looks like one component without duplicated information anywhere. But I'm wondering, since I accidentally imported a spreadsheet of archival objects twice, did it do something to the XML?

Steps to replicate Steps to reproduce the behavior, if applicable.

Expected behavior The print label should only print a single item

Impact of this bug

This results in wrong folder labels

regineheberlein commented 11 months ago

I'm speculating that the re-import created duplicate holdings, but this is to be confirmed

regineheberlein commented 11 months ago

The affected collection is C0183

amycvo commented 11 months ago

There are no identifiable duplicates in the resource record, or in the Top Container view. Screenshot (56) Screenshot (57)

amycvo commented 11 months ago

Here is what happens with running the folder labels transformation scenario: Screenshot (58)

amycvo commented 11 months ago

It looks like the XML for the second set of accidentally imported archival objects is repeated in the file: Screenshot (59)

regineheberlein commented 11 months ago

If you look at Subseries 1C, the two duplicate series are there at the end.

Can you simply delete them from there? If the situation is more complex, let me know and I'll help!

amycvo commented 11 months ago

Wow, I totally missed that they nested there! Thank you for being so thorough, Regine!!!!!!!! It works now

regineheberlein commented 11 months ago

Thank you for providing all the background information--that helped a lot!!