? Success

User tests: Successful: Unsuccessful:

avatar roland-d
roland-d
4 Dec 2015

Problem

In the list forms where the hidden input value boxchecked is used, it has a default value of 0, no checkboxes are checked. Once you check a box the value of this field is changed to 01 instead of 1. When you uncheck the box, the value becomes 01-1 instead of 2 and it goes on from there.

Solution

The value must be cast to an integer for JavaScript to be able to calculate with it.

Testing

To test this issue, you must use the Debug console of the browser to check the initial value of the boxchecked field.
1. Go to the article list
2. Check the initial value of the boxchecked field is 0
3. Click on a checkbox to select it
4. The value becomes 01
5. Uncheck the box and the value becomes 01-1
6. Apply the patch
7. Reload the page
8. Check the initial value of the boxchecked field is 0
9. Click on a checkbox to select it
10. The value becomes 1
11. Uncheck the box and the value becomes 0
12. Check and uncheck more boxes to see the number increases and decreases

avatar roland-d roland-d - open - 4 Dec 2015
avatar roland-d roland-d - change - 4 Dec 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Dec 2015
Labels Added: ?
avatar roland-d
roland-d - comment - 4 Dec 2015

@Fedik Correct, missed that one. Fixed :)

avatar Fedik Fedik - test_item - 4 Dec 2015 - Tested successfully
avatar Fedik
Fedik - comment - 4 Dec 2015

I have tested this item :white_check_mark: successfully on 223cbac


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

avatar roland-d roland-d - change - 4 Dec 2015
Milestone Added:
avatar anibalsanchez anibalsanchez - test_item - 5 Dec 2015 - Tested successfully
avatar anibalsanchez
anibalsanchez - comment - 5 Dec 2015

I have tested this item :white_check_mark: successfully on 223cbac

Test OK


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

avatar anibalsanchez anibalsanchez - test_item - 5 Dec 2015 - Tested successfully
avatar anibalsanchez
anibalsanchez - comment - 5 Dec 2015

I have tested this item :white_check_mark: successfully on 223cbac

Test OK


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

avatar brianteeman brianteeman - change - 10 Dec 2015
Status Pending Ready to Commit
avatar brianteeman
brianteeman - comment - 10 Dec 2015

Thanks for testing - setting RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 10 Dec 2015
Labels Added: ?
avatar rdeutz rdeutz - change - 8 Jan 2016
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2016-01-08 09:47:05
Closed_By rdeutz
avatar rdeutz rdeutz - close - 8 Jan 2016
avatar joomla-cms-bot joomla-cms-bot - close - 8 Jan 2016
avatar joomla-cms-bot joomla-cms-bot - change - 8 Jan 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment