Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-1038

Improve exception messages in FolderWorkflowImpl

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.24.15
    • 2.24.16
    • None

    Description

      When org.hippoecm.repository.standardworkflow.FolderWorkflowImpl throws a WorkflowException, the message cannot be interpreted easy into a (configuration) solution for a project.

      E.g. in #add() there is "No category defined for add to folder" and "No template defined for add to folder" which is not very descriptive and could have lot more information based on what data this exception is thrown.

      Suggestions:
      "Node hippo:configuration/hippo:queries/hippo:templates does not have subnode [category] defining a category for adding a [template] to a folder"

      "The results from query [jcrStatement] at node [hippo:configuration/hippo:queries/hippo:templates/[category] did not contain a node named hipposysedit:prototype with type [template] of a node named [template]"

      Attachments

        Issue Links

          Activity

            People

              pgupta Pankaj Gupta (Inactive)
              jhoffman Jeroen Hoffman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: