[Koha-bugs] [Bug 12123] HTML notices can break the notice viewer

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 26 14:30:52 CET 2014


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33885|0                           |1
        is obsolete|                            |
  Attachment #33888|0                           |1
        is obsolete|                            |

--- Comment #11 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 33950
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33950&action=edit
[SIGNED-OFF] Bug 12123 - [Alternative patch] HTML notices can break the notice
viewer

Depending on the content of an html notice, it can cause the notice to
either not be collapsible, be uncollapsible, or to be permanently
collapsed.

Test Plan:
1) Set your CHECKOUT notice to the following ( with HTML Message checked ) :
<p>The following items have been checked out:</p>

----
<blockquote> <<biblio.title>> </blockquote>
----

<p>Thank you for visiting the <<branches.branchname>> of HMCPL.</p>
2) Check out some items to a patron
3) View the patrn's notices
4) Note the notice viewer is broken ( message is not collapsed, and
   con't be collapsed ).
5) Apply this patch
6) Reload the page
7) Note the notice viewer is no longer broken

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

This patch appears to fix the problem with the minimum required change.

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


More information about the Koha-bugs mailing list