Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.29.2, 3.30.0, 3.32.0, 3.36.0, 3.38.1
-
3
-
NXRM Neo Sprint 28, NXRM Neo Sprint 27
-
2
-
support-escalated
-
non-concept
Description
- Create a cleanup policy for "All formats" with component age of 10 days
- Assign this policy to a repository
- Edit the cleanup policy, and change the component age to 11 days
- view the repository that previously had the policy Applied to it. Observe that the policy has now entirely disappeared from the maven repository's configuration. It isn't just back in the Available list, it is completely missing, and cannot be reassigned to any repository.
If the affected repositories are edited and saved again for any other reason, and the editor does not notice the empty Applied policy list, it will mean that the Applied policy list will get saved as empty and this will mean that disk space may not be cleaned up anymore.
Workaround:
Create and use format specific cleanup policies and only assign these to repositories.
Expected
- "All format" policies should be either Available or Applied for repos, after a cleanup policy is edited
- Restore previously hidden All format policies affected by this bug as "Available" to all repositories
- Do not magically insert back an affected hidden "Applied" policy affected by this bug to a repository configuration ( in case the end user has already implemented a work around and also to avoid silently assigning cleanup to repos)
Attachments
Issue Links
- is duplicated by
-
NEXUS-35270 Can't assign cleanup policies to repos - policies don't show up in repo settings
-
- Closed
-
- is related to
-
NEXUS-27114 Cleanup Policy List shows Error 500 after Upgrade 3.28.0 to 3.29.2 and 3.30.0-01
-
- New
-