[ 
http://jira.xwiki.org/jira/browse/XWIKI-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_20228
 ] 

Vincent Massol commented on XWIKI-1962:
---------------------------------------

Sergiu, this looks like we need this fixed for 1.2 final (at least so that the 
rights mgmt UI works).

> $doc.removeObject causes changes to other objects to be discarded
> -----------------------------------------------------------------
>
>                 Key: XWIKI-1962
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-1962
>             Project: XWiki Platform
>          Issue Type: Bug
>          Components: APIs, Core
>    Affects Versions: 1.2 RC1
>            Reporter: Sergiu Dumitriu
>             Fix For: 1.3 M1
>
>
> If in a #foreach, $doc.removeObject is called on an object, then changing 
> properties for the next objects will cause these changes to be lost when 
> calling $doc.save()
> This caused a bug in the new Rights Management UI, when doing the following 
> sequence of actions:
> 1. On a user without any rights set, grant two rights (for example view and 
> edit)
> 2. Deny the two rights
> 3. Refresh: Only one of the two rights is denied, the other one is not set at 
> all.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
notifications@xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to