Found this by coincidence during training: If a serial frequency description contains quotes or is surrounded by quotes, the description is empty ("TEST" > empty) or shown without the quotes part (TEST "sth" > TEST) on editing the frequency. To test: - Create a new frequency - description: "Test" - Modify frequency - Verify the description field is empty
Created attachment 63955 [details] [review] Bug 13747: Fix problems with frequency descriptions containing quotes If a serial frequency description contains quotes or is surrounded by quotes, the description is empty ("TEST" > empty) or shown without the quotes part (TEST "sth" > TEST) on editing the frequency. To verify: - Create a new frequency with description: "Test" - Modify frequency - Verify the description field is empty To test: - Apply patch - Try to recreate, verify that the description field is correctly filled when editing - Test also with a name like: 'A "souble quoted" name'
Created attachment 63986 [details] [review] Bug 13747: Fix problems with frequency descriptions containing quotes If a serial frequency description contains quotes or is surrounded by quotes, the description is empty ("TEST" > empty) or shown without the quotes part (TEST "sth" > TEST) on editing the frequency. To verify: - Create a new frequency with description: "Test" - Modify frequency - Verify the description field is empty To test: - Apply patch - Try to recreate, verify that the description field is correctly filled when editing - Test also with a name like: 'A "souble quoted" name' Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Trivial, skipping QA.
Pushed to master for 17.11, thanks to everybody involved!
Pushed to 17.05.x, will be in 17.05.01
This patch has been pushed to 16.11.x and will be in 16.11.09.
Pushed to 16.05.x, for 16.05.15 release