[Bug 12060] New: Indentation issues allow markup errors in header.inc
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12060 Bug ID: 12060 Summary: Indentation issues allow markup errors in header.inc Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Staff Client Assignee: koha-bugs@lists.koha-community.org Reporter: mtompset@hotmail.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com By correcting the indentation, it became more apparent the two markup errors (stray </li> and </div> tags) that were generated by pasting the page source of PROTOCOL://STAFFCLIENT/cgi-bin/koha/tools/holidays.pl into http://validator.w3.org/check -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12060 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Small patch -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12060 --- Comment #1 from M. Tompsett <mtompset@hotmail.com> --- Created attachment 26929 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26929&action=edit Bug 12060 - Indentation issues cause markup errors in header.inc By correcting the indentation, it became more apparent the two markup errors (stray </li> and </div> tags) that were generated by pasting the page source of PROTOCOL://STAFFCLIENT/cgi-bin/koha/tools/holidays.pl into http://validator.w3.org/check TEST PLAN --------- 1) Home -> Tools -> Calendar in the staff client 2) In another tab open http://validator.w3.org/check 3) Select Validate by Direct Input 4) In the staff client, view the page source 5) Copy the page source to the Validation text box in the other tab. 6) Click the 'Check' button. -- There will be 3 errors. 7) Apply the patch. 8) Refresh the staff client page. 9) Copy the revised page source into the validation text box. 10) click the 'Check' button. -- There will be 1 error. 11) Run the koha qa test tool. NOTE: This error is not in the intended file to fix. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12060 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |mtompset@hotmail.com |ity.org | --- Comment #2 from M. Tompsett <mtompset@hotmail.com> --- I encountered this while testing bug 12056, so I figured let's tidy it up a little. See the test plan in comment 1. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12060 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off Patch complexity|Small patch |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12060 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #26929|0 |1 is obsolete| | --- Comment #3 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 26930 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26930&action=edit [SIGNED-OFF] Bug 12060 - Indentation issues cause markup errors in header.inc By correcting the indentation, it became more apparent the two markup errors (stray </li> and </div> tags) that were generated by pasting the page source of PROTOCOL://STAFFCLIENT/cgi-bin/koha/tools/holidays.pl into http://validator.w3.org/check TEST PLAN --------- 1) Home -> Tools -> Calendar in the staff client 2) In another tab open http://validator.w3.org/check 3) Select Validate by Direct Input 4) In the staff client, view the page source 5) Copy the page source to the Validation text box in the other tab. 6) Click the 'Check' button. -- There will be 3 errors. 7) Apply the patch. 8) Refresh the staff client page. 9) Copy the revised page source into the validation text box. 10) click the 'Check' button. -- There will be 1 error. 11) Run the koha qa test tool. NOTE: This error is not in the intended file to fix. Signed-off-by: Owen Leonard <oleonard@myacpl.org> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12060 --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 26932 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26932&action=edit Bug 12060 - Indentation issues cause markup errors in header.inc By correcting the indentation, it became more apparent the two markup errors (stray </li> and </div> tags) that were generated by pasting the page source of PROTOCOL://STAFFCLIENT/cgi-bin/koha/tools/holidays.pl into http://validator.w3.org/check TEST PLAN --------- 1) Home -> Tools -> Calendar in the staff client 2) In another tab open http://validator.w3.org/check 3) Select Validate by Direct Input 4) In the staff client, view the page source 5) Copy the page source to the Validation text box in the other tab. 6) Click the 'Check' button. -- There will be 3 errors. 7) Apply the patch. 8) Refresh the staff client page. 9) Copy the revised page source into the validation text box. 10) click the 'Check' button. -- There will be 1 error. 11) Run the koha qa test tool. NOTE: This error is not in the intended file to fix. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> git diff --color -w HEAD^ reveals, that only a </li> and a </div> are removed by this patch, all other changes are whitespace. Passes all tests and QA script. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12060 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12060 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #26930|0 |1 is obsolete| | Attachment #26932|0 |1 is obsolete| | --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 26933 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26933&action=edit [PASSED QA] Bug 12060 - Indentation issues cause markup errors in header.inc By correcting the indentation, it became more apparent the two markup errors (stray </li> and </div> tags) that were generated by pasting the page source of PROTOCOL://STAFFCLIENT/cgi-bin/koha/tools/holidays.pl into http://validator.w3.org/check TEST PLAN --------- 1) Home -> Tools -> Calendar in the staff client 2) In another tab open http://validator.w3.org/check 3) Select Validate by Direct Input 4) In the staff client, view the page source 5) Copy the page source to the Validation text box in the other tab. 6) Click the 'Check' button. -- There will be 3 errors. 7) Apply the patch. 8) Refresh the staff client page. 9) Copy the revised page source into the validation text box. 10) click the 'Check' button. -- There will be 1 error. 11) Run the koha qa test tool. NOTE: This error is not in the intended file to fix. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> git diff --color -w HEAD^ reveals, that only a </li> and a </div> are removed by this patch, all other changes are whitespace. Passes all tests and QA script. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12060 Galen Charlton <gmcharlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #6 from Galen Charlton <gmcharlt@gmail.com> --- Pushed to master. Thanks, Mark! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12060 Fridolin SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable CC| |fridolyn.somers@biblibre.co | |m --- Comment #7 from Fridolin SOMERS <fridolyn.somers@biblibre.com> --- Pushed to 3.14.x, will be in 3.14.09 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org