[Koha-bugs] [Bug 5471] Quotes in tags cause moderation approval/rejection to fail

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 9 15:15:46 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5471

--- Comment #3 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 64129
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64129&action=edit
Bug 5471 - Quotes in tags cause moderation approval/rejection to fail

This patch makes changes to the tag moderation template and JavaScript
to fix handling of tags with double or single quotes. This patch also
moves the tags moderation JavaScript out of the template and into a
separate JS file.

To test you should have multiple tags awaiting moderation, including
tags which contain double and single quotes.

- Go to Tools -> Tags.
- In the list of tags pending approval, test approving and rejecting
  tags, including those containing single or double quotes.
  - The state of the "Approve" or "Reject" buttons should correctly
    change according to the action you chose.
  - The label in the status column should update correctly.
- In the "Check lists" form, submitting approved, rejected, and
  unclassified terms should result in the correct message.

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


More information about the Koha-bugs mailing list