? Success

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
3 Nov 2016

Pull Request for Issue #12726

Summary of Changes

Making sure not to include in a sprintf an array ($pks is an array, we need the id #)
Making sure the variable is defined

Testing Instructions

Create a Category (for example in articles)
Create a sub category of the former one

Unpublish the parent category.
This will also unpublish the child.

Now try to publish the child category
You will, rightfully get an error:

Error
Failed publishing 1 category as at least one of its parents is unpublished or one of its children is checked out.

But, we also a get 2 Notices in the php logs

[02-Nov-2016 16:24:32 UTC] PHP Notice:  Array to string conversion in ROOT/libraries/joomla/table/nested.php on line 985
[02-Nov-2016 16:24:32 UTC] PHP Notice:  Undefined variable: ntext in ROOT/libraries/legacy/controller/admin.php on line 237

Patch and test again.

avatar infograf768 infograf768 - open - 3 Nov 2016
avatar infograf768 infograf768 - change - 3 Nov 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Nov 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 3 Nov 2016
Category Libraries
avatar infograf768 infograf768 - change - 3 Nov 2016
The description was changed
avatar infograf768 infograf768 - edited - 3 Nov 2016
avatar brianteeman
brianteeman - comment - 3 Nov 2016

Tested successfully

@mbabker missing sha again ;( )


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

avatar mbabker
mbabker - comment - 3 Nov 2016

Fixed this one...

avatar brianteeman brianteeman - test_item - 3 Nov 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 3 Nov 2016

I have tested this item successfully on 9fe48b2


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

avatar infograf768 infograf768 - change - 3 Nov 2016
Status Pending Ready to Commit
avatar jeckodevelopment jeckodevelopment - test_item - 3 Nov 2016 - Tested successfully
avatar jeckodevelopment
jeckodevelopment - comment - 3 Nov 2016

I have tested this item successfully on 9fe48b2


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

avatar infograf768
infograf768 - comment - 4 Nov 2016

RTC. Thanks for testing


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

avatar rdeutz rdeutz - change - 4 Nov 2016
Milestone Added:
avatar rdeutz rdeutz - change - 4 Nov 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-11-04 09:44:01
Closed_By rdeutz
avatar rdeutz rdeutz - close - 4 Nov 2016
avatar rdeutz rdeutz - merge - 4 Nov 2016
avatar rdeutz rdeutz - reference | 31fa2f5 - 4 Nov 16
avatar rdeutz rdeutz - merge - 4 Nov 2016
avatar rdeutz rdeutz - close - 4 Nov 2016
avatar infograf768 infograf768 - head_ref_deleted - 4 Nov 2016

Add a Comment

Login with GitHub to post a comment