Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
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
..
acquisitions.pref Bug 18727: System preferences loose part of values because of double quotes 2017-06-09 11:52:26 -03:00
admin.pref Bug 18066: Remove warnings from translate script 2017-04-24 16:29:12 -03:00
authorities.pref Bug 18554: Adjust a few typos including responsability 2017-05-09 21:03:22 +00:00
cataloguing.pref Bug 14629 - Add aggressive ISSN matching feature equivalent to the aggressive ISBN matcher 2016-10-28 11:58:14 +00:00
circulation.pref Bug 15582: Fix grammar in syspref description 2017-05-09 21:05:29 +00:00
enhanced_content.pref bug_16034 Adding a new syspref - OverDriveCirculation 2017-02-21 19:58:21 +00:00
i18n_l10n.pref Bug 17762: Add the new TranslateNotices syspref 2017-05-09 20:56:40 +00:00
labs.pref Bug 11559: (QA followup) switch to new delimiter, fix minor issues 2015-10-27 12:18:00 -03:00
local_use.pref
logs.pref Bug 17708: Added a logaction function in Addrenewal in order to send renew logs 2017-03-31 12:36:16 +00:00
opac.pref Bug 14764 - [followup] Addressing QA concerns 2017-03-03 18:27:52 +00:00
patrons.pref Bug 18314: Add pref FailedLoginAttempts and columns borrowers.login_attempts 2017-05-12 10:58:35 -04:00
searching.pref Added a new syspref to Load history to the next user 2017-03-22 19:01:28 +00:00
serials.pref Bug 7677 [Follow-up]: New areas in subscriptions and new functions when receiving. 2016-09-12 09:13:56 +00:00
staff_client.pref Bug 14902 - Add qualifier menu to staff side "Search the Catalog" 2016-07-08 13:57:59 +00:00
tools.pref Bug 17465: NumSavedReports syspref 2017-05-09 21:17:53 +00:00
web_services.pref Bug 16165 - Include link to ILS-DI documentation page in ILS-DI system preference 2016-06-10 18:08:13 +00:00