Bug 6791

Summary: editing list with apostrophe loses text
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: ListsAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: normal    
Priority: PATCH-Sent (DO NOT USE) CC: chris, koha.sekjal
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: 'Reilly missing in the text box
Proposed fix
[SIGNED-OFF] Fix for Bug 6791 - editing list with apostrophe loses text

Description Nicole C. Engard 2011-08-26 16:42:27 UTC
Created attachment 5165 [details]
'Reilly missing in the text box

See attached.  I have a list titled O'Reilly and when I clicked 'edit' the 'Reilly part went away (but was in the name at the top of the screen).
Comment 1 Owen Leonard 2011-08-26 19:17:42 UTC Comment hidden (obsolete)
Comment 2 Nicole C. Engard 2011-08-26 19:45:04 UTC
Created attachment 5167 [details] [review]
[SIGNED-OFF] Fix for Bug 6791 - editing list with apostrophe loses text

Markup used single quotes around value attribute. Since single
quotes aren't escaped by the template's HTML filter these
quotes conflicted with the one in the text.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Comment 3 Ian Walls 2011-08-26 19:54:31 UTC
Easy to read, template-only change, marking as Passed QA
Comment 4 Chris Cormack 2011-08-27 11:07:08 UTC
Pushed, please test
Comment 5 Chris Nighswonger 2011-10-26 18:02:07 UTC
The fix for this bug was published in the 3.4.5 release. If you were the reporter of this bug, please take time to verify the fix and update the status of this bug report accordingly. If the bug is fixed to your satisfaction, please close this report.