? ? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
18 Jun 2020

Fixes #29678.

Summary of Changes

Fixes notices when using invalid IDs in history version comparison.

Testing Instructions

Go to faked admin url (change cb519da4124ac219494e83630c56cb09 to your session token):
http://127.0.0.1/administrator/index.php?option=com_contenthistory&view=compare&layout=compare&tmpl=component&cb519da4124ac219494e83630c56cb09=1&id1=&id2=

Expected result

No notices.

Actual result

Notices like these:

Notice: Undefined property: stdClass::$id in administrator\components\com_contenthistory\views\compare\tmpl\compare.php on line 63
Notice: Trying to get property 'value' of non-object in administrator\components\com_contenthistory\views\compare\tmpl\compare.php on line 63

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 18 Jun 2020
avatar SharkyKZ SharkyKZ - change - 18 Jun 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Jun 2020
Category Administration com_content com_contenthistory Language & Strings
avatar viocassel viocassel - test_item - 18 Jun 2020 - Tested successfully
avatar viocassel
viocassel - comment - 18 Jun 2020

I have tested this item successfully on f31bfa2


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

avatar richard67 richard67 - test_item - 18 Jun 2020 - Tested successfully
avatar richard67
richard67 - comment - 18 Jun 2020

I have tested this item successfully on f31bfa2


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

avatar richard67 richard67 - change - 18 Jun 2020
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 18 Jun 2020

RTC


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

avatar richard67 richard67 - change - 18 Jun 2020
Labels Added: ? ? ?
avatar SharkyKZ SharkyKZ - change - 18 Jun 2020
Labels
avatar richard67 richard67 - alter_testresult - 18 Jun 2020 - viocassel: Tested successfully
avatar richard67 richard67 - alter_testresult - 18 Jun 2020 - richard67: Tested successfully
avatar richard67
richard67 - comment - 18 Jun 2020

Adding back the test results because last change after tests was just language string reordering.

RTC also still valid.

avatar viocassel viocassel - test_item - 18 Jun 2020 - Tested successfully
avatar viocassel
viocassel - comment - 18 Jun 2020

I have tested this item successfully on e491f0d


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

avatar zero-24 zero-24 - change - 28 Jun 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-06-28 19:02:05
Closed_By zero-24
avatar zero-24 zero-24 - close - 28 Jun 2020
avatar zero-24 zero-24 - merge - 28 Jun 2020
avatar zero-24
zero-24 - comment - 28 Jun 2020

Merging

Add a Comment

Login with GitHub to post a comment