This issue has been created
There are 4 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-2520bd53-5e4b-44fd-8935-cfaf600783df XWIKI-23507 Open

Root cause of an error is not displayed when using save

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-9a829c41-6a0d-4044-b187-7d4de71cf0c5 Simon Urli created this issue on 04/Sep/25 15:58
 
Summary: Root cause of an error is not displayed when using save
Issue Type: cid:jira-generated-image-avatar-2520bd53-5e4b-44fd-8935-cfaf600783df Bug
Affects Versions: 16.10.11
Assignee: Unassigned
Components: Old Core
Created: 04/Sep/25 15:58
Priority: cid:jira-generated-image-static-major-ee028748-6a5c-4cad-86cd-a68acb55d18d Major
Reporter: Simon Urli
Description:

In case of problem when saving, using save&continue button will always display properly the reason of the save failure in the notification, while using the save & view button will always only display "Server error" for the reason of the save failure which is not helping at all.

Reproduction steps:

  • Create a page with a very long title (> 800 characters)
  • Try to save it using save & continue
  • Try to save it using save & view

Expected result:

  • In both case the notification should display an exception reason

Obtained result:

  • in case of save & continue the notification displays the exception reason
  • in case of save & view the notification displays "server error"
 
 

4 updates

 
cid:jira-generated-image-avatar-9a829c41-6a0d-4044-b187-7d4de71cf0c5 Changes by Simon Urli on 04/Sep/25 16:00
 
Fix Version: 17.8.0-rc-1
Fix Version: 16.10.12
Fix Version: 17.4.5
Assignee: Simon Urli
 
 

1 comment

 
cid:jira-generated-image-avatar-9a829c41-6a0d-4044-b187-7d4de71cf0c5 Simon Urli on 04/Sep/25 16:00
 

Related to XWIKI-20910 since now that fromString can throw an exception it's important to always being able to display the root cause of a failure in case of problem when saving. Was already true before but it's becoming even more important.