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

"Discard changes" throws Wicket stacktrace

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • 2.01.00m04
    • 2.01.00m05
    • None
    • None

    Description

      • Edit a document.
      • Change some content.
      • Do NOT press save, but close the tab instead.
      • A dialog pops up asking "You have possibly changes in this node or child nodes. Cancel Save Discard changes and close".

      Clicking on "Discard changes and close" throws a Wicket RuntimeException:
      java.lang.NullPointerException
      at org.hippoecm.frontend.model.WorkflowsModel.iterator(WorkflowsModel.java:113)
      at org.hippoecm.frontend.plugin.workflow.WorkflowsPlugin$1.getItemModels(WorkflowsPlugin.java:88)

      Clicking "Save" throws a Wicket RuntimeException:
      java.lang.NullPointerException
      at org.hippoecm.frontend.model.WorkflowsModel.getWorkflowDescriptor(WorkflowsModel.java:103)
      at org.hippoecm.frontend.plugins.reviewedactions.FullReviewedActionsWorkflowPlugin.receive(FullReviewedActionsWorkflowPlugin.java:122)

      The only other option: "Cancel" works fine :-/

      Attachments

        Activity

          People

            berry van halderen Berry van Halderen (Inactive)
            acahn Arje Cahn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: