[Koha-bugs] [Bug 11049] New: Truncated URLs may mangle output of sending cart email from opac

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 14 13:36:42 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11049

            Bug ID: 11049
           Summary: Truncated URLs may mangle output of sending cart email
                    from opac
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Cataloging
          Assignee: gmcharlt at gmail.com
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

I stumbled over this in 3.8. A record contains four longer URLs (in MARC 856)
that in total exceed the field length of biblioitems.url (255 chars).
In saving this info into biblioitems.url the output of TransformMarcToKoha is
truncated.
When you put this biblio in the opac cart and send the cart, this truncated
field is inserted into a html template. After that it should be sent as a plain
text email. Somewhere in this process the truncated field causes the email
output to be mangled. Information after the URLs like item info and the closing
line with dashes do no longer appear.

It seems like this bug could be reproduced in master (looking at the code and
templates). But unfortunately, in master when sending the basket another error
pops up before the form of opac-sendbasket is shown.
Can't call method "field" on an undefined value at
/usr/share/koha/testclone/C4/Biblio.pm line 1713.
This is in the routine GetMarcNotes and it is actually not really related to
the error presented in this report ;)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list