Hi all,
We've encountered an issue with the v2.1.2 Print-to-PDF button in the public
interface--apparently for any resource record with an ampersand that is
followed immediately by another character that is not a space (e.g. "b&w" or
"AT&T"), the ampersand is misinterpreted and causes the Print-to-PDF button to
fail with an error. For me, that error is just "something went wrong", but the
log shows this (when it gets tripped up on "b&w"):
RuntimeError (Failed to clean XML: The reference to entity "w" must end with
the ';' delimiter.):
So we're guessing ArchivesSpace is thinking "&w" should be "&w;", and so forth
for any other string of text with an ampersand. I checked this by going into a
record that wouldn't print and changing the lone suspect ampersand ("AT&T" to
"AT and T") and the PDF generated just fine.
This doesn't impact being able to just view resource records in the public
interface, it's just the PDF function that isn't working. It's a problem,
though, because we want to be able to use that PDF functionality but we also
have a lot of ampersands in our resource records! Has anyone else experienced
this issue or possibly come up with a fix?
Thanks,
--Benn
Benn Joseph
Head of Archival Processing
Northwestern University Libraries
Northwestern University
www.library.northwestern.edu
[email protected]<mailto:[email protected]%0d>
847.467.6581
_______________________________________________
Archivesspace_Users_Group mailing list
[email protected]
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group