Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-23355

Admin - Cleanup Tags task reports OK even if failed

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.21.2
    • Fix Version/s: None
    • Component/s: Cleanup
    • Labels:
    • Notability:
      4

      Description

      When running the Admin - Cleanup Tags task, if the Delete Associated Components option is not selected but there is a Delete Restriction in place, the script will report an ERROR:

      ERROR [quartz-3-thread-20] *SYSTEM com.sonatype.nexus.tags.tasks.TagCleanupTaskConfiguration - 'Delete associated components' must be selected when the 'Restrict delete' option is selected

      However, it will also report OK status within the UI.

      If this is an error within the script, it should not complete as OK

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mkearns Michael Kearns
              Last Updated By:
              Michael Prescott Michael Prescott
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response:

                  tigCommentSecurity.panel-title