Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
JCR Package Init 1.0.2
-
None
Description
Only the first executed hash is compared against the list of candidates in https://github.com/apache/sling-org-apache-sling-jcr-packageinit/blob/4a78330354e4d65402ec8bf37dfda20346826651/src/main/java/org/apache/sling/jcr/packageinit/impl/ExecutionPlanRepoInitializer.java#L127.
If another item in the executed hash list is containing the hash already, the execution plan is still scheduled for execution. I think a nested loop is somehow missing here.
The assumption that the execution plan order in candidates and processed hashes is always the same is wrong.
Attachments
Issue Links
- links to