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

[Forward-port to master] - Clicking twice on internal link toolbar button throws exception and requires to logout to recover

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • 4.1.0
    • 4.1.0
    • None
    • None

    Description

      Steps to reproduce
      1) Open CMS and create a new document with ckeditor
      2) Create some text and select it, click internal link button twice with short interval
      Expected: Only one click executed, no problems
      Actual: Server 500 error on client, stacktrace on server

      If the error didn't occur click faster or throttle browser

      04.04.2016 16:34:21 ERROR [org.hippoecm.frontend.plugin.impl.PluginManager.internalUnregisterService():290] Error while unregistering service
      org.apache.wicket.WicketRuntimeException: Cannot replace a component which has not been added: id='extension.list', component=[EmptyPanel [Component id = extension.list]]:
      [DocumentCollectionView [Component id = documents]]
      	at org.apache.wicket.MarkupContainer.replace(MarkupContainer.java:734)
      	at org.hippoecm.frontend.plugins.cms.browse.DocumentCollectionView$2.onRemoveService(DocumentCollectionView.java:108)
      	at org.hippoecm.frontend.plugins.cms.browse.DocumentCollectionView$2.onRemoveService(DocumentCollectionView.java:93)
      	at org.hippoecm.frontend.service.ServiceTracker.removeService(ServiceTracker.java:52)
      	at org.hippoecm.frontend.plugin.impl.PluginManager.internalUnregisterService(PluginManager.java:288)
      	at org.hippoecm.frontend.plugin.impl.PluginManager.unregisterService(PluginManager.java:168)
      ...
      at org.hippoecm.frontend.plugins.standards.picker.NodePickerController.create(NodePickerController.java:91)
      	at org.hippoecm.frontend.plugins.richtext.dialog.AbstractBrowserDialog.<init>(AbstractBrowserDialog.java:76)
      	at org.hippoecm.frontend.plugins.richtext.dialog.links.DocumentBrowserDialog.<init>(DocumentBrowserDialog.java:39)
      	at org.hippoecm.frontend.plugins.richtext.dialog.links.LinkPickerBehavior.createDialog(LinkPickerBehavior.java:44)
      	at org.hippoecm.frontend.plugins.richtext.dialog.AbstractAjaxDialogBehavior.respond(AbstractAjaxDialogBehavior.java:54)
      

      Attachments

        Issue Links

          Activity

            People

              pgupta Pankaj Gupta (Inactive)
              tjeger Tobias Jeger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: