{{async context = “request”}}
{{velocity wiki = “true”}} runs OK, but not what I need (does not contain parameters from an HTML form which should give context to the macro)
{{async context = “request.url”}}
{{velocity wiki = “true”}} Macro does not start.
Any hint?
By the way the tool is really very useful!
I also tried request.* and the result is the same : nothing happens, only the HTML form is displayed on top of the screen, which is fine the macro itself does not seem to be launched as is normally the case (circling wheel of dots). Nothing happens.
If I put {{async context = “request”}} instead of {{async context = “request.*”}} (only modification made), then the macro runs… (takes a minute or so and then displays everything expected, emails are being sent…) .
In fact, this could be linked to a version issue. I tried the very same code (with “request.*” as a parameter given to async) in a recent demo version of Xwiki and it works (as opposed to our production version which is slightly older).
By the way, where do I find the version from the web interface?
So it seems that "request." is accepted by the async macro under version 12.10.2 (which I just tested) but not under version 11.10.10, which to be honest is mentioned in the corresponding doc page. request.: since 12.10 all the above request related data
(https://extensions.xwiki.org/xwiki/bin/view/Extension/Rendering%20Module/Async/)
But I thought :
** request.url: the URL received by XWiki*
would have been accepted by this earlier version, since no restriction is mentioned, but it does not seem to be the case either.