Change By: Radosław Janas (13/Nov/13 10:10 AM)
Summary: Wrong  condition determines whether display or not  failure message in AbstractMultiItemAction
Description: Here is piece of code from AbstractMultiItemAction:

{code}
if (failedItems.isEmpty()) {
            String message = getSuccessMessage();
            if (message != null) {
                uiContext.openNotification(MessageStyleTypeEnum.INFO, true, getSuccessMessage());
            }
        } else {
            String message = getSuccessMessage();
            if (message != null) {
                uiContext.openNotification(MessageStyleTypeEnum.ERROR, false, getErrorNotification());
            }
        }
{code}

As you can see
 if sth *goes wrong*, a * success message *  is  taken  used  to  determine whether  display  error  or not 'ErrorNotification' .
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to