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

[BUG] OAI-PMH workaround for Linked Agent fields no longer works. #2119

Open
rosiel opened this issue Jun 6, 2022 · 1 comment
Open

[BUG] OAI-PMH workaround for Linked Agent fields no longer works. #2119

rosiel opened this issue Jun 6, 2022 · 1 comment
Labels
Type: bug identifies a problem in the software with clear steps to reproduce

Comments

@rosiel
Copy link
Member

rosiel commented Jun 6, 2022

What steps does it take to reproduce the issue?

I spun up a fresh Playbook and added a Book record with some metadata. The author, who I entered in a Linked Agent field, isn't displaying in the OAI-PMH record.

This code would imply that the author should appear. Documentation is a little vague but implies the same.

The problem appears to be that sometime in the last three years, @joecorall refactored the REST OAI-PMH module to no longer use a theme hook, so our preprocess function isn't running. Here's the theme function in a commit from 2 years ago, but the .module file doesn't declare hook_theme() anymore.

Which version of Islandora are you using?
Playbook, 2.x branch

Any related open or closed issues to this bug report?

Screenshots:
Screen Shot 2022-06-06 at 1 55 01 PM

Screen Shot 2022-06-06 at 2 01 21 PM

@rosiel rosiel added the Type: bug identifies a problem in the software with clear steps to reproduce label Jun 6, 2022
@rosiel rosiel mentioned this issue Jun 6, 2022
7 tasks
@rosiel
Copy link
Member Author

rosiel commented Jun 8, 2022

This should be updated in the plugin in the OAI PMH modle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug identifies a problem in the software with clear steps to reproduce
Projects
None yet
Development

No branches or pull requests

1 participant