? Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
9 Feb 2017

Pull Request for Issue #13654 .

Summary of Changes

This PR fixes the issues described on #13654. Further more, it makes some improvements to the code of com_content:

  1. Re-use method canEditState for checking Edit State permission instead of using if ... else... block

  2. Passing $record variable to parent::canEditState call at https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_content/models/article.php#L211 . Without the variable, there will be PHP notice

Testing Instructions

  1. Follow the description of the issue ##13654, check and confirm the issue
  2. Apply patch, check and make sure the issue is fixed
  3. Try to add/edit article in the backend, make sure it is working as expected

It would be great if someone can help reviewing the code changes, too.

Documentation Changes Required

None

avatar joomdonation joomdonation - open - 9 Feb 2017
avatar joomdonation joomdonation - change - 9 Feb 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 9 Feb 2017
Category Administration com_content Front End
avatar joomdonation joomdonation - change - 9 Feb 2017
The description was changed
avatar joomdonation joomdonation - edited - 9 Feb 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 9 Feb 2017

I have tested this item successfully on af94431


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 9 Feb 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Feb 2017

this needs a 2nd successfully Test.

avatar joomdonation joomdonation - change - 14 May 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-05-14 01:39:41
Closed_By joomdonation
Labels Added: ?
avatar joomdonation joomdonation - close - 14 May 2017

Add a Comment

Login with GitHub to post a comment