Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Notes" field issue w/record being published or unpublished in ASpace #1

Open
kcrowe1981 opened this issue Apr 3, 2024 · 1 comment
Assignees

Comments

@kcrowe1981
Copy link

It's unclear why, but for some reason only the block that handles the notes field checks if the record is published in ArchivesSpace. Only the notes field is ignored if it isn't. There is a similar issue noted in ASpace development with published/unpublished records in the PUI, but in this case the issue is with our plugin and how it's interacting with the record when we pull it into the repository back and front end.

@freyesdulib
Copy link
Contributor

freyesdulib commented Apr 3, 2024

The issue appears to be in the repository_model.rb file. Functions handle_notes and handle_extents_notes. The field is ignored unless publish = true. The record must be published or the field is ignored when it is requested. Will modify and test.

@freyesdulib freyesdulib self-assigned this Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants