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

Remove old UI references from OpenSearch / RSS feeds #9576

Merged
merged 2 commits into from
May 29, 2024

Conversation

tdonohue
Copy link
Member

References

Description

Removes UI-type related functionality from OpenSearch & RSS feeds. It was still being used to generate Bitstream URLs (for community/collection logos) but these URLs were incorrect for DSpace 7+.

This code fixes the Bitstream URL to be of the format: [dspace.ui.url]/bitstreams/[uuid]/download

It also adds a basic IT to verify these logo URLs are correct now.

In fixing this bug, I found a disabled test which uses OpenSearch for special characters. I added a minor fix to get it to work, and enabled it.

@tdonohue tdonohue added bug 1 APPROVAL pull request only requires a single approval to merge. integration: syndication feed Related to RSS / ATOM syndication feeds port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release labels May 13, 2024
@tdonohue tdonohue added this to the 8.0 milestone May 13, 2024
@tdonohue
Copy link
Member Author

tdonohue commented May 13, 2024

The IT failures in this PR are fixed in #9577 . They are unrelated to this PR.

UPDATE: PR #9577 was merged, so I've rebased this on latest main.

Copy link
Member Author

@tdonohue tdonohue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging as this is minor code cleanup that is all covered by Integration Tests. Primarily it's just removing references to XMLUI/JSPUI. The only functional change is to ensure OpenSearch uses new Bitstream URLs instead of older XMLUI-based URLs....and this functional change has ITs to prove it works

@tdonohue tdonohue merged commit 1e639a1 into DSpace:main May 29, 2024
22 checks passed
@dspace-bot
Copy link

Successfully created backport PR for dspace-7_x:

@tdonohue tdonohue deleted the remove_old_ui_refs branch May 29, 2024 20:57
@tdonohue tdonohue removed the port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 APPROVAL pull request only requires a single approval to merge. bug integration: syndication feed Related to RSS / ATOM syndication feeds
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

SyndicationFeed still contains references to JSPUI and XMLUI
2 participants