sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bosschaert (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SLING-8234) Feature launcher does not specify which content package requires a missing dependency
Date Thu, 13 Jun 2019 10:21:00 GMT

    [ https://issues.apache.org/jira/browse/SLING-8234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16862904#comment-16862904
] 

David Bosschaert commented on SLING-8234:
-----------------------------------------

The new analyzer should do this validation independent of the launcher: SLING-8251

> Feature launcher does not specify which content package requires a missing dependency
> -------------------------------------------------------------------------------------
>
>                 Key: SLING-8234
>                 URL: https://issues.apache.org/jira/browse/SLING-8234
>             Project: Sling
>          Issue Type: Bug
>          Components: Feature Model
>            Reporter: Robert Munteanu
>            Priority: Major
>             Fix For: Feature Model Launcher 1.0.6
>
>
> When trying to run an application which depends on a missing content package, an uncaught
exception stops the application, but does not explain which content package is missing a dependency,
making troubleshooting difficult:
> {noformat}[ERROR] Error while assembling launcher: Package has unresolved dependencies:
day/cq610/social/enablement:cq-social-enablement-pkg:1.1.0
> shaded.org.apache.jackrabbit.vault.packaging.DependencyException: Package has unresolved
dependencies: day/cq610/social/enablement:cq-social-enablement-pkg:1.1.0
> 	at shaded.org.apache.jackrabbit.vault.packaging.registry.impl.ExecutionPlanBuilderImpl.resolveInstall(ExecutionPlanBuilderImpl.java:257)
> 	at shaded.org.apache.jackrabbit.vault.packaging.registry.impl.ExecutionPlanBuilderImpl.validate(ExecutionPlanBuilderImpl.java:239)
> 	at org.apache.sling.feature.extension.content.ContentHandler.buildExecutionPlan(ContentHandler.java:79)
> 	at org.apache.sling.feature.extension.content.ContentHandler.handle(ContentHandler.java:121)
> 	at org.apache.sling.feature.launcher.impl.FeatureProcessor.prepareLauncher(FeatureProcessor.java:159)
> 	at org.apache.sling.feature.launcher.impl.Main.main(Main.java:250){noformat}
> It would be very helpful if the package missing dependencies would be included in the
message as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message