[Archivesspace_Users_Group] frontend mangles file_version URIs

Majewski, Steven Dennis (sdm7g) sdm7g at eservices.virginia.edu
Mon Sep 12 09:14:39 EDT 2016


The frontend appears to mangle any file_version URIs whose scheme isn’t http:

 uva-lib:01234567 is transformed into file://01234567<file:///01234567>

file_versions remain correct according to backend API. Just getting mangled in frontend view.

This appears to me to be a bug, but as it looks intentional, I’m wondering if there is some use case for this behavior?
i.e. any reason not to remove this:

archivesspace/_show.html.erb at master · archivesspace/archivesspace<https://github.com/archivesspace/archivesspace/blob/master/frontend/app/views/file_versions/_show.html.erb#L26>


archivesspace/file_embed_helper.rb at master · archivesspace/archivesspace<https://github.com/archivesspace/archivesspace/blob/master/frontend/app/helpers/file_embed_helper.rb>


— Steve Majewski



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160912/3a31adaa/attachment.html>


More information about the Archivesspace_Users_Group mailing list