[xwiki-notifications] [Issue] Commented: (XWIKI-2529) Impossible to overload macros.vm

Sergiu Dumitriu (JIRA) jira at xwiki.org
Tue Jul 1 02:37:54 CEST 2008


    [ http://jira.xwiki.org/jira/browse/XWIKI-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27618#action_27618 ] 

Sergiu Dumitriu commented on XWIKI-2529:
----------------------------------------

It would be better to register a custom macros document in XWikiPreferences. I don't think we'll allow to override macros.vm in the future, it was wrong before to let skin documents override it.

I'm +1 for closing this as Won't fix. Vincent?

> Impossible to overload macros.vm
> --------------------------------
>
>                 Key: XWIKI-2529
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-2529
>             Project: XWiki Core
>          Issue Type: Bug
>          Components: Macros & Filters, Templates & User Interface
>    Affects Versions: 1.3.2, 1.4.1, 1.5 M2
>         Environment: Tested on the XWiki Profarm (1.3.2), on 1.4.1 (standalone) & 1.5M2 (standalone)
>            Reporter: eveilleau thomas
>            Priority: Critical
>
> It's impossible to overload macros.vm by :
> - adding the "macros.vm" field in the XWiki.XWikiSkins class 
> - changing things in the "macros.vm" field of the XWikiSkins object used for the wiki skin
> - saving it
> The only solution i actually see is directly modify the macros.vm file (but having to change things in the file system is not a good workaround).

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

        


More information about the notifications mailing list