]> git.koha-community.org Git - koha.git/commit
Bug 11235: Names for reports and dictionary are cut off when quotes are used
authorMarc Véron <veron@veron.ch>
Sun, 4 Jun 2017 17:55:08 +0000 (19:55 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 27 Jun 2017 14:20:54 +0000 (16:20 +0200)
commitd6eb92b44f85a82db4dc063bd369b449f17cd7a5
tree4b47ee53a238411e45a7278116ff301f227e07e7
parentdafd66b7a6cbabea3af905a3f78064109424d032
Bug 11235: Names for reports and dictionary are cut off when quotes are used

To reproduce for saved reports:

- Go to Home > Reports > Guided reports wizard
- Create a report with double quotes in it's name, e.g. 'My "double quoted" report'
- Go to "Saved reports", locate in the list the new report (name is correct here,
  is correct in database as well)
- From the selection button at the right choose "Edit"
- Result: Content of edit field for the report name is truncated (displays only: 'My')

To reproduce for Reports dictionary:

- Go to Home > Reports > Guided reports wizard
- Create a new definition, give it the name 'The "double quoted" definition' and enter
  a text with double quotes for "Description"
- Save
- Verify that in the list of definitions both name and descriptions are truncated
  (in database as well)

To test:
- Apply patch
- Verify that issues described above can no longer be reproduced

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit f4c965781d82e9537015b695cc15677cd06d72cd)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt