Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 7.4.2
-
Fix Version/s: 7.4.3, 8.1-milestone-2
-
Component/s: Web - Templates & Resources
-
Labels:
-
Difficulty:Unknown
-
Documentation:N/A
-
Documentation in Release Notes:N/A
-
Similar issues:
Description
1. Log in with a simple user or make sure that you mark your current user as "Simple" in the user profile.
2. Use the following URL to try to create a terminal page: http://localhost:8080/xwiki/bin/create/Main/?spaceReference=Space1.Space2&template=&tocreate=terminal
3. Fill in a page title (e.g. "AAA")
4. You will be redirected to the following URL, in edit mode: http://localhost:8080/xwiki/bin/edit/Space1/Space2/AAA/WebHome?template=&parent=Main.WebHome&title=AAA
This means that, instead of creating the Space1.Space2.AAA terminal page, as intended by the create URL, you will be creating the non-terminal page Space1.Space2.AAA.WebHome.
This scenario can come from an application that generates /create/ URLs and wants to create terminal pages.
This also affects the backwards compatibility mode, for URLs using the deprecated space parameter, e.g. http://localhost:8080/xwiki/bin/create/Main/?space=Space1&template=