NASA-PDS / registry-sweepers

Scripts that run regularly on the registry database, to clean and consolidate information
Apache License 2.0
0 stars 1 forks source link

Bundle documents with string-like reference properties are not handled well #19

Closed alexdunnjpl closed 1 year ago

alexdunnjpl commented 1 year ago

Checked for duplicates

No - I haven't checked

🐛 Describe the bug

As can be seen below, some bundles' collection references appear to be string-like rather than array[str]-like. This results in iteration over the characters in a single LIDVID/LID, rather than over the single-element array of LIDVIDs/LIDs.

image

Need guidance on intended behaviour:

🕵️ Expected behavior

I expected [...]

📜 To Reproduce

Run ancestry-sweepers against the production CCS remotes (it's currently unclear which one(s))

🖥 Environment Info

📚 Version of Software Used

No response

🩺 Test Data / Additional context

No response

🦄 Related requirements

🦄 #xyz

⚙️ Engineering Details

No response

alexdunnjpl commented 1 year ago

Implement legacy support, as registry-api already includes legacy support and re-ingestion of these products isn't feasible.