Skip to content

[4.0] Fix null value support check for checked_out user id in table class#29272

Merged
wilsonge merged 1 commit intojoomla:4.0-devfrom
richard67:4.0-dev-check-null-value-support-in-table-class
May 30, 2020
Merged

[4.0] Fix null value support check for checked_out user id in table class#29272
wilsonge merged 1 commit intojoomla:4.0-devfrom
richard67:4.0-dev-check-null-value-support-in-table-class

Conversation

@richard67
Copy link
Copy Markdown
Member

Pull Request for #29260 (comment).

Summary of Changes

Check null value support in the table (base) class before updating the checked_out column of a table, and write either real NULL or zero value depending on the result.

Testing Instructions

Can be merged by review.

Expected result

3rd party extensions continue to work.

Actual result

3rd party extensions break if the use (J)Table to write into their component-specific table and that table doesn't support NULLs for the checked_out column.

Documentation Changes Required

None.

@richard67
Copy link
Copy Markdown
Member Author

@infograf768 Could you test that with com_localize?

@infograf768
Copy link
Copy Markdown
Member

I have tested this item ✅ successfully on 1991163

Works fine with com_localise


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

@wilsonge wilsonge merged commit f472a7c into joomla:4.0-dev May 30, 2020
@wilsonge
Copy link
Copy Markdown
Contributor

Thanks!

@wilsonge wilsonge added this to the Joomla 4.0 milestone May 30, 2020
@richard67 richard67 deleted the 4.0-dev-check-null-value-support-in-table-class branch May 30, 2020 16:50
sakiss pushed a commit to sakiss/joomla-cms that referenced this pull request Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants