? ? Pending

User tests: Successful: Unsuccessful:

avatar richard67
richard67
23 Oct 2019

Pull Request for Issue # .

Summary of Changes

This is a follow up to recently merged PR's which changed datetime columns in database for real null values.

Because content history might be used not only for core components' database tables, the checks for the old (preudo-)null datetimes are kept and extended by the check for real null values.

The PR makes sure that in the comparison and preview models, no datetime formatting is done with null values.

Testing Instructions

Code review should be sufficient: Make sure that in com_contenthistory there are no other places where old (preudo-)null datetimes are checked without checking for real null values, too.

Expected result

Datetime values which have real null values in database are shown as emtpy and not as any rubbish date.

Actual result

Datetime values which have real null values in database might be shown as some rubbish date or lead to formatting errors.

Documentation Changes Required

None.

avatar richard67 richard67 - open - 23 Oct 2019
avatar richard67 richard67 - change - 23 Oct 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Oct 2019
Category Administration com_content com_contenthistory
avatar richard67 richard67 - change - 23 Oct 2019
The description was changed
avatar richard67 richard67 - edited - 23 Oct 2019
avatar richard67 richard67 - change - 23 Oct 2019
Title
[4.0] [WiP] [com_contenthistory] Add check for real null datetimes
[4.0] [com_contenthistory] Add check for real null datetimes
avatar richard67 richard67 - edited - 23 Oct 2019
avatar richard67 richard67 - change - 26 Oct 2019
Labels Added: ?
avatar richard67
richard67 - comment - 26 Oct 2019

Drone failure seems to be unrelated.

avatar Quy Quy - test_item - 26 Oct 2019 - Tested successfully
avatar Quy
Quy - comment - 26 Oct 2019

I have tested this item successfully on e494e80


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

avatar infograf768 infograf768 - test_item - 27 Oct 2019 - Tested successfully
avatar infograf768
infograf768 - comment - 27 Oct 2019

I have tested this item successfully on e494e80

By review


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

avatar infograf768 infograf768 - change - 27 Oct 2019
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 27 Oct 2019

RTC


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

avatar infograf768 infograf768 - change - 27 Oct 2019
Labels Added: ?
avatar wilsonge wilsonge - change - 3 Nov 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-11-03 00:43:12
Closed_By wilsonge
avatar wilsonge wilsonge - close - 3 Nov 2019
avatar wilsonge wilsonge - merge - 3 Nov 2019
avatar wilsonge
wilsonge - comment - 3 Nov 2019

Thanks!

avatar richard67
richard67 - comment - 3 Nov 2019

Thanks too.

Add a Comment

Login with GitHub to post a comment