You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/08/03 20:03:01 UTC
[jira] [Closed] (JCRVLT-440) Do not treat Throwables differently
than PackageExceptions in Hooks
[ https://issues.apache.org/jira/browse/JCRVLT-440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus closed JCRVLT-440.
----------------------------------
> Do not treat Throwables differently than PackageExceptions in Hooks
> -------------------------------------------------------------------
>
> Key: JCRVLT-440
> URL: https://issues.apache.org/jira/browse/JCRVLT-440
> Project: Jackrabbit FileVault
> Issue Type: Improvement
> Affects Versions: 3.4.4
> Reporter: Konrad Windszus
> Priority: Major
> Fix For: 3.4.6
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)