From version < 4.1 >
edited by Alexandru Colesnicov
on 2018/10/23 19:06
To version < 5.1 >
edited by Alexandru Colesnicov
on 2018/10/23 19:09
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -5,7 +5,7 @@
5 5   #set($docName = ${request.docName})
6 6   #set($targetDocName = "${request.spaceName}.${docName}")
7 7   #if(!$xwiki.exists($targetDocName) && $xwiki.hasAccessLevel('edit', $xcontext.user, $targetDocName))
8 - $response.sendRedirect($xwiki.getURL($targetDocName, 'inline', "template=${escapetool.url($request.template)}&parent=${escapetool.url($request.parent)}"))
8 + $response.sendRedirect($xwiki.getURL($targetDocName, 'inline', "template=${escapetool.url($request.template)}&title=${request.docName}&parent=${escapetool.url($request.parent)}"))
9 9   ## Stop processing, since we already sent a redirect.
10 10   #stop
11 11   #end

Need help?

If you need help with XWiki you can contact: