Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
18.7.0-rc-1
-
None
-
Unknown
-
Description
Problem
When adding an entry to a Live Data fails, the user only sees the generic notification "Adding the entry failed for an unknown reason." (livedata.error.addEntryFailed), whatever the cause.
The server usually knows why the creation failed (for instance, no location configured for the new entries, or the current user lacks the rights required by the template of the new entry), but that reason is only logged in the browser console, in English and in technical terms. The user cannot tell whether to fix a value, ask for rights or contact an administrator.
Expected
The notification explains the actual reason in user-facing, translated terms, and only falls back to the generic message when the reason is genuinely unknown.
Context
Raised in the review of https://github.com/xwiki/xwiki-platform/pull/7090#discussion_r4583914425 (XWIKI-24727), which adds a new failure cause (missing template required rights).
Attachments
Issue Links
- relates to
-
XWIKI-17627 Livedata Add entry from layout
-
- Closed
-
-
XWIKI-24727 Livedata template support for row creation
-
- Closed
-