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

Sorting by name in the cleanup policy preview not working correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.24.0
    • Fix Version/s: None
    • Component/s: Cleanup, UI
    • Labels:
    • Notability:
      3

      Description

      Sorting on the Name column in the Cleanup Policy preview window does not appear to work correctly when artifact names are hyphenated. 

      To reproduce:

      1. For a given repo e.g. Maven, upload a mix of artifacts where some have a hyphen in their name and some do not e.g. my-app, foo, bar.
      2. Create a cleanup policy that will match the above artifacts in preview.
      3. Preview the results against the given repo and then attempt to sort the results by name.

      Expected:
      All shown results will be sorted  by name (Asc or Desc).

      Actual:

      Only the non-hyphenated artifacts are sorted by Name. See attached video 'preview_sort.mov' for demo (notice only artifacts named "foo" and "bar" are sorted but "my-app" are not).

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              hardeepn Hardeep Nagra
              Last Updated By:
              Wes Wannemacher
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response:

                  tigCommentSecurity.panel-title