There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-28c053b7-70a3-4203-9676-923f9e205b5a XWIKI-6929 Open

When creating a page switching edit modes from the edit menu doesn't preserve URL parameters

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-1a0cecfb-ab86-4678-bd29-250ef671becf Charpentier Lucas on 08/Oct/26 11:16
 

I checked it on 18.9.0-SNAPSHOT as an advanced user. It is still reproducible, but only for some editors.

I created a new page with ?template=<a template with content and an object>&parent=Sandbox.WebHome&title=My Custom Title and switched the editor from the Edit menu:

  • Wiki and WYSIWYG: the template content, the template objects, the title and the parent are all kept. These two entries submit the edit form when clicked, as Simon Urli noticed.
  • Inline form, Objects and Class: all of them are lost. These entries are plain links (edit/...?editor=object), so the page is reloaded without the template, title and parent parameters. Saving from there creates the page without its template.

So the issue is now limited to switching to the Inline form, Objects and Class editors.