Uploaded image for project: 'Hippo Repository'
  1. Hippo Repository
  2. REPO-1038

Improve exception messages in FolderWorkflowImpl

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.24.15
    • Fix Version/s: 2.24.16
    • Labels:
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: