User tests: Successful: Unsuccessful:
Technically what joomla does to set an item as checked out is to set the checked_out
column to 0
. If you have a proper DB schema you probably have a foreign key that connects your checkout_out
column to #__users
table. But joomla does not allow to do this because 0
cannot be assigned because there is no user with id 0
.
So:
NULL
or values > 0.0
or values > 0For backward compatibility we cannot change current allowed values. This pull request changes publish checked out check to accept:
NULL
0
Which should be ok to keep current behaviour but not punishing those that want to use correct foreign keys. Keep compatibility allowing correct DB schemas to be used.
After applying this patch go to articles and publish/unpublish items. Do the same for any other management you want like banners, etc. Ensure that things work as expected.
No changes required.
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
?
|
happy to see you back...
and yes we need fo fix a lot of this things... with your help too
YES WE CAN
I have tested this item
No problem here with core. Not tested with 3rd party.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Thanks for testing and commenting here!
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-04-22 15:35:19 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
|
still dreaming about proper FK adoption