Koha/koha-tmpl/intranet-tmpl/prog/en
Marc Véron 6e7c125a56 Bug 18727: System preferences loose part of values because of double quotes
System preferences do not display values of text fields properly if they
contain doulbe quotes.

To recreate:
- Go to Home > Administration > System preferences , then tab Acquisitions
- Enter values to both system preferences like proposed in the example (o=5|a="bar foo" and  o=5|a="foo bar")
- Save
- Click on tab Acquisitions to reload
- Wrong result: Both preferences show a value of: o=5|a=
  (parts with double quotes are truncated)

- Edit any of the email addresses (Bug 9814):
  KohaAdminEmailAddress, NoticeBcc, ReplytoDefault, PayPalUser
- Set value to: "The Library" <thelibrary@example.com>
- Search for this email address syspref to re-display it
- Wrong result:
  Use [     ] " autocomplete="off" /> as the email address for the
  administrator of Koha.

To test:
- Apply patch
- Try to recreate issues above
- Additionally, edit other system preferences that could contain double
  quotes, e.g. LibraryName or UsageStatsLibraryName
- Set value to: Bibliothek "Zur Leseratte"

(Note: patch contains a tiny fix for a typo in acquisitions.pref)

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-06-09 11:52:26 -03:00
..
data Bug 16608 - Missing entity nbsp in some XML files 2016-06-10 17:40:55 +00:00
includes Bug 18693: Translatability: Get rid of exposing a [%% FOREACH loop in translation for branch-selector.inc 2017-06-05 16:47:22 -03:00
js Bug 16795 - Patron categories: Accept integers only for enrolment period and age limits 2016-07-08 13:15:31 +00:00
modules Bug 18727: System preferences loose part of values because of double quotes 2017-06-09 11:52:26 -03:00
xslt Bug 15179 (QA Followup) Fix comments to 'other classification' 2017-05-09 21:04:14 +00:00
columns.def Bug 17196: Remove occurrence of marcxml in columns.def 2017-01-13 13:49:30 +00:00