[MGNLUI-5307] New Notifications app is not taking messageViews definition into account Created: 01/Aug/19  Updated: 28/Aug/19  Resolved: 27/Aug/19

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.1.1
Fix Version/s: 6.1.2, 6.2

Type: Bug Priority: Neutral
Reporter: Mercedes Iruela Assignee: Milan Divilek
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: 0d
Time Spent: 1.15h
Original Estimate: Not Specified

Attachments: PNG File Captura de pantalla 2019-08-01 a las 10.18.03.png     PNG File Captura de pantalla 2019-08-01 a las 9.41.59.png     PNG File Captura de pantalla 2019-08-01 a las 9.53.00.png    
Issue Links:
causality
relation
is related to MGNLUI-5347 Extract MessageView API from old ui-a... Closed
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:
Epic Link: Support
Sprint: UI Framework 4
Story Points: 3

 Description   

Previously, you were able to configure the information that was displayed in Pulse's messages and include some relevant information just by configuring Messageviews. Now, in Magnolia 6, with the Notifications app it is not possible anymore.

Steps to reproduce:

  1. Update the messageView defined, in this test a new field myfield was added to ui-admincentral:default
  2. Create a new message adding the new propertie, for example, you can create it with Groovy and execute this code in the Groovy app:
    mm = info.magnolia.objectfactory.Components.getComponent(info.magnolia.ui.framework.message.MessagesManager.class)
    message = new info.magnolia.ui.api.message.Message(Calendar.getInstance().getTimeInMillis())
    message.setMessage("Hola Message Text");
    message.setType(info.magnolia.ui.api.message.MessageType.INFO); 
    message.setSubject("subject");
    message.addProperty("myfield", "This is my extra text!");
    message.setView("ui-admincentral:default");
    mm.sendLocalMessage(message);
    

In Magnolia 5, the new property is displayed:

But not in Magnolia 6:



 Comments   
Comment by Roman Kovařík [ 27/Aug/19 ]

mdivilek Can we drop info.magnolia.admincentral.apps.notifications.view.detail.NotificationDetailDescriptor?

Generated at Mon Feb 12 09:25:14 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.