Closed daveyvango closed 5 years ago
@daveyvango I have been unable to replicate this issue in the latest release so I am going to close this issue. There was a problem when an & was in the breadcrumb which was fixed in https://github.com/archivesspace/archivesspace/pull/1564. If you believe it is still not fixed, please reopen this issue.
Setup:
Symptoms / Problem: For the 8080/staff instance, it seems that strip_tags inside of
views/shared/_breadchrumb.html.erb
is causing a 500 error with We're sorry, but something went wrong in the browser andlogs/archivesspace.log
reporting:Scope: This is only happening within the staff interface on port 8080. It happens when trying to browse many user pages such as "Events" or "Accessions". It also happens with admin pages like "Manage Repositories" or "Manage Users"
Workaround: Because what's getting sanitized are view names like "Events" and "Accessions", I removed strip_tags from around the crumbs inside of
views/shared/_breadcrumb.html.erb
of the exploded web app. This cleared out the error and brought leaves the app working just fine.Question: Has anyone else experienced this? Is this a bug or am I perhaps missing some underlying Ruby gem or something? Is there a better solution to resolve this issue?
Thanks! -Dave