PerseusDL / catalog_pending

Repository to hold new catalog source data pending integration into catalog_data
2 stars 2 forks source link

An issue with how host/constituent records are created from the ingest process #7

Closed AlisonBabeu closed 8 years ago

AlisonBabeu commented 9 years ago

This is an issue with several related issues.

First, a MODS record was ingested in the last import but it only created one component work record. The record in question was for Hierocles of Alexandria. The full MODS record at import can be seen here.

While it successfully created an authority record for the top level author Hierocles as well as for the <relatedItem type="constituent"> record by Pythagoras for Carmen Aurem found here, yet it did not create a MODS record for the actual edition by Hierocles even though there was a TLG identifier <mods:identifier type="tlg">2571.001</mods:identifier> in the record.

I'm wondering if this has something to do with the fact that the code is maybe set up to only handle one TLG identifier per individual MODS file unless it finds those separate TLGs (or any other identifier perhaps) in individual <relatedItem type="constituent"> records within that MODS. I only created the one constituent record in this MODS record because the work by Hierocles is the entire edition and the work by Pythagoras was tucked away in the preface. Or perhaps something else entirely caused this to happen.

balmas commented 8 years ago

this issue belongs on the cite_collections_rails repo since that's where the update code is. I'm going to copy it there.