Skip to content

Message list component: the message type is always error when parameters specified #17700

@dmytro-ch

Description

@dmytro-ch

Preconditions

Magento 2.2.5

Description

Component: Magento_Ui/js/model/messageList.js component.
The message type is always "error" when specifying the parameters property.

Steps to reproduce

  1. Use message list component (Magento_Ui/js/model/messageList.js).
  2. Add success message with parameters. E.g.
messageList.addSuccessMessage({message: 'Sample %test message.', parameters: {test: 'Success'}});

Expected result

  1. The success message should be shown.
    screen shot 2018-08-20 at 3 24 57 pm

Actual result

  1. The error message is shown.
    screen shot 2018-08-20 at 3 36 30 pm

Metadata

Metadata

Assignees

Labels

Component: UiFixed in 2.1.xThe issue has been fixed in 2.1 release lineFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions