Summary

https://github.com/joomla/joomla-cms/pull/1043
https://github.com/joomla/joomla-cms/pull/1043.diff

This pull request fixes two api issues that have been reported by extension developers.

THe first is a notice that happens when you save a new item with no tags. You don't normally see the notice rendered but it is there. You can see if it you use a die; after this:
$this->tagsChanged = ($oldTags != $newTags) || !$table->$key;

in JHelper tags (around line 730).


The other is that items from the ucm_content table are saving assets with no permissions. This pr saves them with [] which will make handling them in extensions such as ACL Manager easier.

You can see this by going to the assets table after you have tagged some items and see in the permissions field for those items that it is blank.
Opened On:
24 Apr 2013, 9:30 by Elin Waring
Closed On:
26 Apr 2013, 16:58
Status:
Fixed in SVN/GitHub

Filed Under

  • CMS Libraries
  • First
  • No Platform Implications
  • Second

Responses

Posted on 24 Apr 2013, 10:00 by Sander Potjer
I can confirm the patch fixes both issues. Thanks Elin.
Posted on 25 Apr 2013, 21:07 by Matias Aguirre
Confirmed.
Posted on 26 Apr 2013, 0:38 by David Hurley
@test

Fixes notices. Thanks!
Posted on 26 Apr 2013, 12:01 by Matias Aguirre
Added a comment for redundant code. Thanks
Posted on 26 Apr 2013, 16:58 by Mark Dexter
Fixed in master. Thanks!