This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-b057df95-b413-4eb7-99d0-682e8815c1b9 XWIKI-23923 Open

Hitting enter wrongly lead to preview when using Object Editor

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-dbadbf51-d3b1-4836-a786-46d6e89fc5d9 Simon Urli created this issue on 20/Jan/26 16:16
 
Summary: Hitting enter wrongly lead to preview when using Object Editor
Issue Type: cid:jira-generated-image-avatar-b057df95-b413-4eb7-99d0-682e8815c1b9 Bug
Affects Versions: 16.10.15
Assignee: Unassigned
Attachments: image-2026-01-20-16-15-01-590.png, image-2026-01-20-16-15-22-948.png
Components: Web - Templates & Resources
Created: 20/Jan/26 16:16
Labels: usability
Priority: cid:jira-generated-image-static-major-10ba7406-cde0-40f8-a9e2-e7dc6d79fda7 Major
Reporter: Simon Urli
Description:

Reproduction steps:

  • Open the object editor
  • Click on the suggester to select a class
  • Type "User", select "XWikiUsers" using arrows on the keyboard and type Enter to select it
  • Type Enter again

Expected result:

  • the "XWikiUser" object is created and the form to fill the values is displayed

Obtained result:

  • the Preview page is displayed showing if the page doesn't exist yet:
    _thumb_44514.png
  • Clicking "back to edit" leads to the following empty editor:
    _thumb_44513.png

Note that even if it's a usability issue it seems it cannot lead easily to loss of data since if there's unsaved data the dialog asking confirmation for leaving the page is displaying when hitting enter.