-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package Garbage Collector failed multiple ways when it can find the date #3044
Comments
@kwin do you have any ideas why/when |
#It looks like an error like:
Comparator returns NPE. I think it needs a second check for lastUnwrapped property |
The tool fails if any package from the group does not have lastUnpacked property: 1_property=lastUnpacked |
Required Information
On AEM 6.5.12 I'm testing Package Garbage Collector. Note, for test purposes, I copied the required classes from ACS Common Git.
I found several scenarios when the package purge failed
bad_package2.zip
Where
packageCreatedAtCalendar.toInstant()
is throwing the NPE.Expected Behavior
It looks like when the date does not exist or/and the date format follows an old specification it failed to continue. I think in such a scenario we can check
lastUnwrapped
as it directly related to the package deployment dateActual Behavior
Failed due to NPE
Steps to Reproduce
Configure package purge tool
Links
Links to related assets, e.g. content packages containing test components
The text was updated successfully, but these errors were encountered: