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

Sergiu Dumitriu reopened XWIKI-2098:
------------------------------------


It depends on how you look at it, as it is a bit of both. It doesn't need to be 
in 1.2.2, because we're not making use of this feature, as most of the official 
skins is in the filesystem, and not in skin documents.

Why it is a bug IMO: When searching for a template to parse, the algorithm is 
different from what you get with the getSkinFile or SkinAction#render, and skin 
developers could get confused by this. They use the same principle as for 
overriding CSS or images, yet it doesn't work.


Also, while commenting on this I discovered that XWiki#getSkinFile is still not 
consistent, using a third (!) algorithm to find resources.

> Make the way parseTemplate considers where to find a template consistent with 
> the way SkinAction does that
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: XWIKI-2098
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-2098
>             Project: XWiki Core
>          Issue Type: Bug
>          Components: Core
>            Reporter: Sergiu Dumitriu
>         Assigned To: Sergiu Dumitriu
>             Fix For: 1.3 M2
>
>
> For the moment:
> SkinAction tries:
> # the content of the object field with that name
> # the content of an attachment with that name
> # a filesystem file
> parseTemplate tries:
> # a filesystem file
> # the content of an attachment with that name

-- 
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