? Failure

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
9 Feb 2020

Pull Request for Issue #26306

Summary of Changes

Fixes undefined property in error logs when editing a stage or transition.

Testing Instructions

Create a new workflow.
Under Stages column, click the count badge.
Edit Unpublished.
Click Save & Close.
View PHP error log.

Trying to get property 'workflow_id' of non-object in \administrator\components\com_workflow\Model\StageModel.php on line 163

Do the same under the Transitions column.

Trying to get property 'workflow_id' of non-object in \administrator\components\com_workflow\Model\TransitionModel.php on line 89

After patching neither entries will be added to the error log

Documentation Changes Required

None

avatar wilsonge wilsonge - open - 9 Feb 2020
avatar wilsonge wilsonge - change - 9 Feb 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 9 Feb 2020
Category Administration com_workflow
avatar wilsonge wilsonge - change - 9 Feb 2020
Title
Fix undefined property when editing stages/transitions
[4.0] Fix undefined property when editing stages/transitions
avatar wilsonge wilsonge - edited - 9 Feb 2020
avatar richard67 richard67 - test_item - 9 Feb 2020 - Tested successfully
avatar richard67
richard67 - comment - 9 Feb 2020

I have tested this item successfully on a5bca08


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

avatar Quy Quy - test_item - 9 Feb 2020 - Tested successfully
avatar Quy
Quy - comment - 9 Feb 2020

I have tested this item successfully on a5bca08


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

avatar Quy Quy - change - 9 Feb 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 9 Feb 2020

RTC


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

avatar richard67 richard67 - change - 9 Feb 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-02-09 17:48:20
Closed_By richard67
Labels Added: ?
avatar richard67 richard67 - close - 9 Feb 2020
avatar richard67 richard67 - merge - 9 Feb 2020
avatar richard67
richard67 - comment - 9 Feb 2020

Thanks.

Add a Comment

Login with GitHub to post a comment