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

Wrong error when a user is editing a page and the page is deleted by another user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Neutral Neutral
    • None
    • 5.7.6, 6.1.4
    • None

      If a user has a page open for editing in pages app and the page is deleted by another user, a strange error is shown to the user (see below).

      Error:
      RpcInvocationException: Unable to invoke method closeTab in com.vaadin.shared.ui.tabsheet.TabsheetServerRpc
      caused by InvocationTargetException
      caused by CacheUpdateException: Error during Table cache update.
      caused by MgnlInstantiationException: Failed to create instance of [class info.magnolia.contenttags.form.field.TagFieldFactory]
      caused by MgnlInstantiationException: Unable to resolve parameters [Item at 1] of ctor [TagFieldFactory(TagFieldDefinition, Item, UiContext, I18NAuthoringSupport, TagManager, TagsModule, SimpleTranslator)]

      Steps to reproduce on demoauthor:

      • LogIn with user Peter
      • Create a page in pages app
      • Open this page for editing in pages app
      • Log in with user superuser on a different browser
      • Delete the page created by Peter and publish the deletion
      • User Peter now sees the error message above (at least after he tries to Close the tab)

      If superuser is logged in both browsers, then a different message is displayed ("Page was removed").

        Acceptance criteria

              jbenito Javier Benito
              miruela Mercedes Iruela
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD