? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
23 Sep 2020

Closes #30731.

Summary of Changes

Adds nullable checks for proper handling of 0 value in com_checkin.

Testing Instructions

Set checked_out field value to 0 in one of core tables, e.g by running this query:

UPDATE #__menu SET checked_out=0 WHERE client_id=0

Go to com_checkin.

It would also be good to test that check in still works with 3rd party components that don't use null values.

Actual result BEFORE applying this Pull Request

#__menu table not listed as having checked out items.

Expected result AFTER applying this Pull Request

#__menu table listed as having checked out items and items can be checked in properly.

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 23 Sep 2020
avatar SharkyKZ SharkyKZ - change - 23 Sep 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Sep 2020
Category Administration com_checkin
avatar SharkyKZ SharkyKZ - change - 23 Sep 2020
The description was changed
avatar SharkyKZ SharkyKZ - edited - 23 Sep 2020
avatar SharkyKZ SharkyKZ - change - 23 Sep 2020
Labels Added: ?
avatar richard67
richard67 - comment - 23 Sep 2020

@mahagr Could you test this PR and mark the test result in the issue tracker? Thanks in advance.

avatar toivo toivo - test_item - 23 Sep 2020 - Tested successfully
avatar toivo
toivo - comment - 23 Sep 2020

I have tested this item successfully on 97d2867

Tested successfully in Beta5-dev of 23 September.


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

avatar ceford ceford - test_item - 24 Sep 2020 - Tested successfully
avatar ceford
ceford - comment - 24 Sep 2020

I have tested this item successfully on 97d2867

Works as described. Not tested third party components.


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

avatar richard67 richard67 - change - 24 Sep 2020
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 24 Sep 2020

RTC


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

avatar HLeithner HLeithner - change - 24 Sep 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-09-24 13:37:23
Closed_By HLeithner
Labels Added: ?
avatar HLeithner HLeithner - close - 24 Sep 2020
avatar HLeithner HLeithner - merge - 24 Sep 2020
avatar HLeithner
HLeithner - comment - 24 Sep 2020

Thanks

avatar richard67
richard67 - comment - 24 Sep 2020

RTC

Add a Comment

Login with GitHub to post a comment