User tests: Successful: Unsuccessful:
Pull Request for Issue #12726
Making sure not to include in a sprintf an array ($pks is an array, we need the id #)
Making sure the variable is defined
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.
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Category | ⇒ | Libraries |
Fixed this one...
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
I have tested this item
RTC. Thanks for testing
Milestone |
Added: |
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 |
Tested successfully
@mbabker missing sha again ;( )
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12737.