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

OK button is enabled when moving a document to it's own folder

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • CMS-10.0-alpha-1
    • CMS-10.0-FCS
    • None
    • None

    Description

      When I try to move a document to it's own folder then the server logs the following exception:
      WicketRuntimeException: Stopped plugin is still being referenced: org.hippoecm.frontend.plugins.cms.browse.list.Fold
      erViewPlugin

      Steps to reproduce (using cargo.run with gogreen and firefox)

      • login as admin to cms
      • open document perspective and find a depublished document (or depublish one)
      • click Document -> Move
      • folder picker dialog opens in folder of document with OK button disabled
      • select a different folder then the one the document is in
      • then re-select the folder where the document currently is in
        Expected: OK button is disabled again
        Actual: OK button is enabled

      I you do click OK button then the modal dialog shows error panel and an ERROR is logged on the server

      [org.onehippo.repository.scxml.SCXMLWorkflowExecutor.handleException():184] Cannot move document to same folder
      [INFO] [talledLocalContainer] org.hippoecm.repository.api.WorkflowException: Cannot move document to same folder

      Attachments

        Activity

          People

            pgupta Pankaj Gupta (Inactive)
            meggermont Michiel Eggermont (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: