Pending

User tests: Successful: Unsuccessful:

avatar griiettner
griiettner
21 Jan 2013

When adding new category, I noticed that I was getting a Notice on my PHP log.
The notice was because the publish_id field did not have any value.
So adding a default value to 1, will point the parent id category to root, what normally wood and the notice will stop

avatar griiettner griiettner - open - 21 Jan 2013
avatar infograf768
infograf768 - comment - 21 Jan 2013

Please create a joomlacode tracker and cross reference here.

avatar infograf768
infograf768 - comment - 21 Jan 2013

BTW, I can't reproduce the Notice here. No PHP notice and cat parent_id set to 1 when no parent is chosen.
Which PHP version do you use?
It looks like the patch proposed does not create any issue though.

avatar elkuku
elkuku - comment - 21 Jan 2013

Could you post the full message and, if possible, a call stack ?

avatar elinw
elinw - comment - 21 Jan 2013

For some reason this is bothering me, parent_id should always be a required field for categories since all categories must at minimum have the root as parent. However it is by no means assured that someone couldn't have somehow gotten their root into a row that is not the first row. In that case it would be pretty confusing. I'd rather see us force parent_id to be required I think. Are you doing this in an extension that is not a core extension when this happens?

avatar nicksavov
nicksavov - comment - 28 Mar 2013

Thanks for coding this, Paulo!

While we’re transitioning to a new integrated tracker, could you report the issue on our current main tracker at JoomlaCode and cross-reference each with a link to other? Here’s the process for reporting on the other tracker:
http://docs.joomla.org/Filing_bugs_and_issues

Alternatively, let me know if you’d like me to create it for you and I can go ahead and do that.

Thanks in advance and thanks again for coding this, Paulo!

avatar nicksavov
nicksavov - comment - 4 May 2013

I went ahead and submitted the tracker item:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30836

Thanks again, Paulo!

avatar brianteeman brianteeman - close - 13 Oct 2013
avatar brianteeman
brianteeman - comment - 13 Oct 2013

The related item on the issue tracker has been closed

Add a Comment

Login with GitHub to post a comment