? Pending

User tests: Successful: Unsuccessful:

avatar julienV
julienV
20 Nov 2018

Pull Request for Issue #23121 .

Summary of Changes

reset check_out value to DEFAULT instead of 0 in global checkin

Testing Instructions

use global checkin

Expected result

should work

Actual result

doesn't work if the checked_out olumn has a fk constraint on #_users table

Documentation Changes Required

avatar julienV julienV - open - 20 Nov 2018
avatar julienV julienV - change - 20 Nov 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Nov 2018
Category Administration com_checkin
avatar ggppdk
ggppdk - comment - 28 Nov 2018

Looks good for MySql, PostgreSQL and MsSQL
also i don't see how this change can cause any issues

But it should be changed in more places,
The Models will eventually call JTable::checkin()

method in JTable should be updated too ?
https://github.com/joomla/joomla-cms/blob/staging/libraries/src/Table/Table.php#L1098-L1136

avatar julienV
julienV - comment - 28 Nov 2018

I guess so, but at least you have the possiblity to override the JTable method in your own child class when developing an extension, which is not the case here. And here it's simple and no side effects.
So it can be done, but maybe in a different merge request... let me know.

avatar csthomas
csthomas - comment - 5 Dec 2018

I have tested this item successfully on bd8e6e1


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

avatar csthomas csthomas - test_item - 5 Dec 2018 - Tested successfully
avatar Quy
Quy - comment - 5 Dec 2018

I have tested this item successfully on bd8e6e1


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

avatar Quy
Quy - comment - 5 Dec 2018

I have tested this item successfully on bd8e6e1


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

avatar Quy Quy - change - 5 Dec 2018
Status Pending Ready to Commit
avatar Quy Quy - test_item - 5 Dec 2018 - Tested successfully
avatar Quy
Quy - comment - 5 Dec 2018

RTC


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

avatar mbabker mbabker - change - 7 Dec 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-12-07 16:25:50
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 7 Dec 2018
avatar mbabker mbabker - merge - 7 Dec 2018

Add a Comment

Login with GitHub to post a comment