[MGNLUI-743] No UI feedback is given on action execution error Created: 28/Feb/13  Updated: 25/Jun/13  Resolved: 25/Jun/13

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Bug Priority: Critical
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: apiteam
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File action-execution-error.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

To reproduce

  • try to publish a page (with no public instance set, of course)
  • an error is issued but it's not displayed in the UI and not added to the messages in pulse
  • the UI only displays the default small Vaadin error icon (see attached screenshot)

See also http://wiki.magnolia-cms.com/display/DEV/Concept+-+Actions+API+and+configuration#Concept-ActionsAPIandconfiguration-3Errorsmessages



 Comments   
Comment by Eric Hechinger [ 01/Mar/13 ]

Oup, should factorize instead of defining this 3 times

+ private Message createMessage(MessageType type, String subject, String message)

{ + final Message msg = new Message(); + msg.setSubject(subject); + msg.setMessage(message); + msg.setType(type); + return msg; + }
Generated at Mon Feb 12 08:39:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.