[Koha-bugs] [Bug 10727] New: Replace carriage return with <br /> when writing hold notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 14 15:47:21 CEST 2013


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

            Bug ID: 10727
           Summary: Replace carriage return with <br /> when writing hold
                    notices
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: sophie.meynieux at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

This patch replaces carriage return with <br /> in the content of hold notices
for printing. This is necessary to convert html file into well formatted pdf
file.

Test plan : 
- return an item reserved by a borrower that has not activated email
notification
- verify in message_queue table that you've got a new HOLD_PRINT notice with
status 'pending'
- run gather_print_notices.pl <directory>

Without the patch, the script generates a html file without <br /> tags. If you
run printoverdues.sh <directory>, the text in the resulting pdf file is all on
one line

With the patch, the script generates a html file with <br/> tags and pdf file
created by printoverdues.sh is well formatted.

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


More information about the Koha-bugs mailing list