? ? Pending

User tests: Successful: Unsuccessful:

avatar hordijk
hordijk
16 Oct 2015

The input-tag within the radiolist function of JHtmlSelect is not closed, causing issues in validators. This change fixes the issue and created a input-tag which is inline with the other HTML utility classes as well, which are already using self-closing tags.

avatar hordijk hordijk - open - 16 Oct 2015
avatar hordijk hordijk - change - 16 Oct 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Oct 2015
Labels Added: ? ?
avatar joomla-cms-bot
joomla-cms-bot - comment - 16 Oct 2015

Please add more information to your issue. Without test instructions and/or any description we will close this issue within 4 weeks. Thanks.
This is an automated message from the J!Tracker Application.

avatar joomla-cms-bot joomla-cms-bot - change - 16 Oct 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 17 Oct 2015
Category Libraries
avatar zero-24 zero-24 - change - 17 Oct 2015
Labels Removed: ?
Easy No Yes
avatar zero-24
zero-24 - comment - 17 Oct 2015

So for testing it is just make sure the select options still work after the patch.

Please correct me if I wrong.
Thanks


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8102.

avatar zero-24 zero-24 - change - 17 Oct 2015
Labels
avatar hordijk
hordijk - comment - 22 Oct 2015

I've updated the corresponding unit test as well. But you should test if the select options are still working. You can check for example the search component.

The file components/com_search/views/search/view.html.php contains:
$lists['searchphrase'] = JHtml::_('select.radiolist', $searchphrases, 'searchphrase', '', 'value', 'text', $state->get('match'));

If the search_phrases are shown in the front-end search the generated HTML was not valid due to the missing self-closing tag. You can use https://validator.w3.org/ to validate the generated HTML.

avatar SniperSister SniperSister - test_item - 24 Oct 2015 - Tested successfully
avatar SniperSister
SniperSister - comment - 24 Oct 2015

I have tested this item :white_check_mark: successfully on 403116d

The testinstructions are misleading. The validator only throws an validation error if an html4 template is used. In HTML5 self closing tags don't require the closing slash.

So, it would suggest to test this by checking the generated HTML with the inspection tools of your browser manually. That way I was able to test and verify that the patch is working.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8102.

avatar henrylamare
henrylamare - comment - 24 Oct 2015

I have tested this item successfully


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8102.

avatar Coscha
Coscha - comment - 24 Oct 2015

i have tested this item :white_check_mark: successfully.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8102.

avatar SniperSister SniperSister - change - 24 Oct 2015
Status Pending Ready to Commit
avatar SniperSister
SniperSister - comment - 24 Oct 2015

3 successful tests, setting to RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8102.

avatar joomla-cms-bot joomla-cms-bot - change - 24 Oct 2015
Labels Added: ?
avatar Kubik-Rubik Kubik-Rubik - change - 24 Oct 2015
Milestone
avatar Kubik-Rubik
Kubik-Rubik - comment - 24 Oct 2015

Thank you @hordijk and testers! Merged.

avatar Kubik-Rubik Kubik-Rubik - change - 24 Oct 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-10-24 13:07:06
Closed_By Kubik-Rubik
avatar Kubik-Rubik Kubik-Rubik - reference | 02182b3 - 24 Oct 15
avatar Kubik-Rubik Kubik-Rubik - merge - 24 Oct 2015
avatar Kubik-Rubik Kubik-Rubik - close - 24 Oct 2015
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone
avatar wilsonge wilsonge - change - 17 Jan 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment