Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-440

Do not treat Throwables differently than PackageExceptions in Hooks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.4
    • 3.4.6
    • None
    • None

    Description

      Currently only PackageExceptions in hooks leads to package installation failures. All Throwable s are basically silently ignored (with just a small warning) at https://github.com/apache/jackrabbit-filevault/blob/38ab44e815e114479dcf06dabfbfd5a1898a192f/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/InstallHookProcessorImpl.java#L152.

      IMHO all exceptions should lead to package installation failures which are also propagated to the client.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: