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

Bitstreams file URL issue (dspace 7.5) #2446

Closed
aroldorique opened this issue Aug 21, 2023 · 2 comments · Fixed by #2473
Closed

Bitstreams file URL issue (dspace 7.5) #2446

aroldorique opened this issue Aug 21, 2023 · 2 comments · Fixed by #2473
Assignees
Labels
bug component: Item (Archived) Item display or editing medium priority
Milestone

Comments

@aroldorique
Copy link

Hello everybody.

I'm having a problem with the URL of my items' bitstream file links.

We have an entry in the DSN that points the address biblioteca.mpf.mp.br/repositorio to the IP of the dspace machine. We access the site normally through the link biblioteca.mpf.mp.br/repositorio. The site is not yet available outside our network.

If I access an item and then go to the full item page, as shown below, I can usually download the two files available for download, without errors. Note that the "Download" link (red arrow) is formed by the URL https://biblioteca.mpf.mp.br/repositorio/bitstreams/... (yellow arrow). The link works normally and I can download the file.

image

The problem occurs on the Item Edit page (picture below). If I click on the button indicated by the red arrow, which is the button to download the license.txt file, the URL formed (yellow arrow) is in the format https://biblioteca.mpf.mp.br/bitstreams/.. This link is broken because /repository is missing before /bitstreams. Does anyone know how I can fix this problem on these URLs? I need to include /repository before /bitstreams in the file links on the item edit page.

image

@aroldorique aroldorique added bug needs triage New issue needs triage and/or scheduling labels Aug 21, 2023
@tdonohue tdonohue added help wanted Needs a volunteer to claim to move forward good first issue This is a smaller ticket/bug that may be easier for new contributors component: Item (Archived) Item display or editing medium priority and removed needs triage New issue needs triage and/or scheduling labels Aug 22, 2023
@tdonohue
Copy link
Member

Moving this to our 7.6.x maintenance board. Sounds like a bug in the Item Edit page (Bitstream tab) where these download paths are not being created properly when the DSpace site is deployed on a subpath (like https://mydspace.edu/repository/ or similar).

I suspect this is a small bug and the code just needs to use the same approach as the main download link (on the Item view). But, needs a volunteer to investigate.

@aroldorique
Copy link
Author

Hi.

The same problem occurs in the Cookie Configuration link (red balloon). The link (yellow balloon) should be biblioteca.mpf.mp.br/repositorio/info/privacy.

image

@alexandrevryghem alexandrevryghem self-assigned this Sep 1, 2023
@alexandrevryghem alexandrevryghem removed help wanted Needs a volunteer to claim to move forward good first issue This is a smaller ticket/bug that may be easier for new contributors labels Sep 1, 2023
@tdonohue tdonohue added this to the 7.6.1 milestone Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component: Item (Archived) Item display or editing medium priority
Projects
Development

Successfully merging a pull request may close this issue.

3 participants