[Bug 35078] New: HTML tag in system preference is not rendered
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35078 Bug ID: 35078 Summary: HTML tag in system preference is not rendered Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: System Administration Assignee: koha-bugs@lists.koha-community.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com In the OpacShowSavings system preference, there are some <em> tags that are shown rather than making the text italic. To test: 1. Go to Administration > System preferences 2. Search for OPACShowSavings 3. Open the drop-down menu --> The <em> tags are displayed -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35078 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Version|unspecified |master Assignee|koha-bugs@lists.koha-commun |oleonard@myacpl.org |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35078 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|HTML tag in system |Invalid HTML in |preference is not rendered |OpacShowSavings system | |preference Severity|enhancement |minor -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35078 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35078 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 157251 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157251&action=edit Bug 35078: Remove invalid HTML from OpacShowSavings system preference The options defined for the OpacShowSavings system preference contain HTML: "on patron's checkout history page (the system preference <em>opacreadinghistory</em> must be enabled)". This text ends up in an <option> tag, and even though the form is rendered using the multiple-select plugin the HTML still won't render and should be removed. To test, apply the patch and restart all. - Go to Administration -> System preferences and search for "OpacShowSavings" - Check the dropdown of options on the preference. The system preference names referred to should now be single-quoted instead of wrapped in visible <em> tags. - Confirm that the preference still works correctly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35078 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35078 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #157251|0 |1 is obsolete| | --- Comment #2 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Created attachment 157252 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157252&action=edit Bug 35078: Remove invalid HTML from OpacShowSavings system preference The options defined for the OpacShowSavings system preference contain HTML: "on patron's checkout history page (the system preference <em>opacreadinghistory</em> must be enabled)". This text ends up in an <option> tag, and even though the form is rendered using the multiple-select plugin the HTML still won't render and should be removed. To test, apply the patch and restart all. - Go to Administration -> System preferences and search for "OpacShowSavings" - Check the dropdown of options on the preference. The system preference names referred to should now be single-quoted instead of wrapped in visible <em> tags. - Confirm that the preference still works correctly. Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35078 --- Comment #3 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Also tested the translation and it looks good! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35078 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #157252|0 |1 is obsolete| | --- Comment #4 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Created attachment 157366 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157366&action=edit Bug 35078: Remove invalid HTML from OpacShowSavings system preference The options defined for the OpacShowSavings system preference contain HTML: "on patron's checkout history page (the system preference <em>opacreadinghistory</em> must be enabled)". This text ends up in an <option> tag, and even though the form is rendered using the multiple-select plugin the HTML still won't render and should be removed. To test, apply the patch and restart all. - Go to Administration -> System preferences and search for "OpacShowSavings" - Check the dropdown of options on the preference. The system preference names referred to should now be single-quoted instead of wrapped in visible <em> tags. - Confirm that the preference still works correctly. Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35078 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |victor@tuxayo.net Status|Signed Off |Passed QA --- Comment #5 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Works, makes sense, QA script happy, code looks good, passing QA :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35078 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |23.11.00 released in| | Status|Passed QA |Pushed to master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35078 --- Comment #6 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Pushed to master for 23.11. Nice work everyone, thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35078 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m Version(s)|23.11.00 |23.11.00,23.05.06 released in| | Status|Pushed to master |Pushed to stable --- Comment #7 from Fridolin Somers <fridolin.somers@biblibre.com> --- Pushed to 23.05.x for 23.05.06 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35078 Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |31051 Status|Pushed to stable |RESOLVED CC| |matt.blenkinsop@ptfs-europe | |.com Resolution|--- |FIXED --- Comment #8 from Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> --- Dependency missing for 22.11.x - not backporting Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31051 [Bug 31051] Show patron's 'savings' on the OPAC -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org