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

AbstractWorkflowDialog iterates to the root before saving a new handle, which shouldn't be necessary

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • 2.01.00m05
    • 2.01.00m06
    • addon-cms-prototype
    • None

    Description

      @Override
      protected void ok() throws Exception {
      JcrNodeModel handle = model.getNodeModel();
      while (handle.getParentModel() != null && !handle.getNode().isNodeType(HippoNodeType.NT_HANDLE))

      { handle = handle.getParentModel(); }

      handle.getNode().save();
      execute();

      ((UserSession) Session.get()).getJcrSession().refresh(true);
      }

      Attachments

        Activity

          People

            aschrijvers Ard Schrijvers
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: