You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2019/09/04 13:19:07 UTC
[sling-org-apache-sling-installer-factory-packages] branch master
updated: SLING-6528 uninstallation of packages should not trigger a new
cycle
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-installer-factory-packages.git
The following commit(s) were added to refs/heads/master by this push:
new e382a40 SLING-6528 uninstallation of packages should not trigger a new cycle
e382a40 is described below
commit e382a40182d1687d3c4b080ed2a720a69c5c401f
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Wed Sep 4 15:19:00 2019 +0200
SLING-6528 uninstallation of packages should not trigger a new cycle
trigger a new cycle in case of subpackage installation
---
.../sling/installer/factory/packages/impl/PackageTransformer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java b/src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java
index 89cb795..562e873 100644
--- a/src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java
+++ b/src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java
@@ -405,7 +405,6 @@ public class PackageTransformer implements ResourceTransformer, InstallTaskFacto
}
ctx.log("Uninstalled content package {}", getResource());
setFinishedState(ResourceState.UNINSTALLED);
- retryHandler.scheduleRetry();
}
}
@@ -477,6 +476,7 @@ public class PackageTransformer implements ResourceTransformer, InstallTaskFacto
public void onPackageEvent(PackageEvent event) {
switch (event.getType()) {
case INSTALL:
+ case EXTRACT_SUB_PACKAGES:
case EXTRACT:
// this might even be triggered by this transformer itself
logger.debug("Package installation of package {} captured, triggering new OSGI installer cycle.", event.getId());