Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13963

Sometimes, unexpected toast is shown when user tries to update locked component

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • High
    • Resolution: Unresolved
    • 14.3.1, 14.4.0
    • None
    • None
    • None
    • 0.5
    • Quasar
    • Puma Sprint 246, Puma Sprint 248

    Description

      Scenario for HAP:

      1. Login as admin and login as editor in the separate windows.
      2. As an admin go to the news page.
      3. As an editor got to the news page.
      4. As an editor click "add new document" orange button and stays with open side panel.
      5. As an admin lock the news component by changing and saving the changes.
      6. As an editor continue creating the document and press save.

      Expected behavior: toast message is shown saying that the component cannot be updated.

      Actual behavior: three toast messages are shown together with an unexpected one (see screenshot) 

       Another way to reproduce this is if you see comment https://issues.onehippo.com/browse/CMS-14112?focusedCommentId=589088&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-589088

      Note that further click Save button results into another message: "Document is not yours to edit it" which is also wrong because the editor is the one who created the document.

      Attachments

        Issue Links

          Activity

            People

              aschrijvers Ard Schrijvers
              asolod Andrey Solod (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: