Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5307

New Notifications app is not taking messageViews definition into account

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Done
    • Affects Version/s: 6.1.1
    • Fix Version/s: 6.1.2, 6.2
    • Component/s: None
    • Labels:
      None
    • Epic Link:
    • Sprint:
      UI Framework 4
    • Story Points:
      3
    • Magnolia Release:
      6.1.2, 6.2

      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:

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mdivilek Milan Divilek
                Reporter:
                miruela Mercedes Iruela
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1.15h
                  1.15h