Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
Description
- we still have various places directly manipulating the context
- things put in the ScriptContext don't always end up in the VelocityContext (mostly because of the first issue)
We need to get rid of any java code manipulating the Velocity context and have the ScriptContext being the only reference.
The current situation makes quite hard to set binding for wiki content and be sure everything will have access to it.
Attachments
Issue Links
- is related to
-
XCOMMONS-1030 Allow getting the current ScriptContext without updating it
- Closed
-
XCOMMONS-1031 Allow getting current VelocityContext without updating it
- Closed
- relates to
-
XWIKI-13873 Impossible to translate a page
- Closed
-
XWIKI-13613 XWikiContext should automatically bridge old "vcontext" property to execution context one
- Closed
-
XWIKI-13614 Allow setting a binding in Velocity macro and access it a following JSR223 script macro
- Closed