Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1574

WorkflowPersistenceManagerImpl#createNodeByWorkflow(Node folderNode, String nodeTypeName, String name) does not take into account whether it should create a normal new-folder or a new-translated-folder

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • None
    • 2.20.04, 2.22.00
    • None
    • None

    Description

      We should improve as follows (Thx Frank for helping)

      Instead of

      category = folderAdditionWorkflowCategory; where folderAdditionWorkflowCategory = "new-folder" we must:

      1) From FolderWorkflow fwf get the hints()
      2) from hints() get the object for 'prototypes'
      3) This is a map. Search the map for the value 'hippostd:folder'
      4) The key belonging to that value must be the folderAdditionWorkflowCategory

      if multiple keys are found for (4) I think we cannot do better then just pick one...?

      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: