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

deleting empty paths under storage does not expire NFC for child paths

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10
    • Fix Version/s: 2.11, 3.0.0-m3
    • Component/s: Proxy Repository
    • Labels:
      None
    • Sprint:
      Sprint 29

      Description

      This issue probably relies on a remote component existing, but which fails due to content validation.

      Make a proxy repo to https://maven.atlassian.com/content/groups/public/
      Request http://localhost:8081/nexus/content/repositories/atlassian/com/atlassian/support/healthcheck/support-healthcheck-plugin/1.0.3/support-healthcheck-plugin-1.0.3.jar
      This fails due to content validation - see NEXUS-7603 - and NFC has 404 for this artifact. The response contains: "not found in local nor in remote storage of M2Repository(id=atlassian)"
      Now in Browse Storage, delete /com
      The empty directory tree in storage is deleted.
      Now request http://localhost:8081/nexus/content/repositories/atlassian/com/atlassian/support/healthcheck/support-healthcheck-plugin/1.0.3/support-healthcheck-plugin-1.0.3.jar again.
      This fails because: "is cached until 2014-10-29T13:33:24.826-03:00 as not found in repository M2Repository(id=atlassian)"

      Expected: When a parent storage path is deleted, this should expire all NFC under that storage.

        Attachments

          Activity

            People

            Assignee:
            alin Alin Dreghiciu
            Reporter:
            plynch Peter Lynch
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title