Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
3.1
-
None
-
Unknown
-
Description
When editing a new document in inline form (for creation purposes), a title parameter can be passed, to be saved as the title of the document to be created. However, the form being displayed for edit does not have the passed title, but the page name as title. E.g. go to the following url:
/xwiki/bin/inline/Sandbox/TestTitle?title=Test%20title%20with%20spaces
You will see TestTitle as the displayed title.
Upon save though, the right title is displayed (the one passed in the parameter). Save the form that you got when accessing the URL above, and you will see "Test title with spaces" as the document title.
From what I could find, this is caused by the fact that the title displayed is actually $tdoc.displayTitle, and the title passed as a parameter is only set for $doc, not for $tdoc.
Attachments
Issue Links
- is related to
-
XWIKI-6992 Display title is incorrect when editing a new document with "title" parameter set.
- Closed