[ 
http://jira.xwiki.org/jira/browse/XWIKI-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergiu Dumitriu closed XWIKI-2099.
----------------------------------

         Tests:   (was: [Unit])
    Resolution: Fixed

Fixed in rev. 7465

> 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
>          Components: Actions and URLs
>    Affects Versions: 1.3 M1
>            Reporter: Sergiu Dumitriu
>         Assigned To: Sergiu Dumitriu
>            Priority: Trivial
>             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
notifications@xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to