SkinAction should use the first XWikiSkins object found in the document, not 
just the one with number 0
-------------------------------------------------------------------------------------------------------

                 Key: XWIKI-2099
                 URL: http://jira.xwiki.org/jira/browse/XWIKI-2099
             Project: XWiki Core
          Issue Type: Improvement
            Reporter: Sergiu Dumitriu
             Fix For: 1.3 M2


Currently, it gets the object with:
doc.getObject("XWiki.XWikiSkins", 0);
which forces the object with number 0 to be considered. However, if a user 
deletes that object an creates another one, it will have number 1, and thus it 
will never be possible to use it.

Instead, it should use the getObject method that does not have a number 
argument.

-- 
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
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to