Velocimacros defined in a page are also access by other pages
-------------------------------------------------------------

                 Key: VELOCITY-550
                 URL: https://issues.apache.org/jira/browse/VELOCITY-550
             Project: Velocity
          Issue Type: Bug
          Components: Website
            Reporter: Chon-Ji
            Priority: Minor


Hi, I have this weird problem in my velocity pages. I have two different 
modules on my website, both have a macro (with the same name) defined. For 
example, I have a macro #settable on module 1 and another #settable on module 
2. They have the same name but the content differs slightly from each other. My 
problem is that soemtimes module1 access the #settable2 or vice versa.

It never crossed my mind that having the same name would be a problem since 
they are on different pages. I thought that macro definition should only be 
local and not global. I was only able to solve it by using this configuration

velocimacro.permissions.allow.inline.local.scope = true

However this may affect other pages, is there another way to address this 
problem?


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to