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

raw proxy repository negative not found cache does not cache correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1, 3.3.0
    • Fix Version/s: 3.3.0
    • Component/s: Proxy Repository
    • Labels:
    • Environment:
      Chrome, FF MacOSX

      Description

      While testing caching, I checked NFC in the raw repository by performing the below steps. I was unable to get it working. npm did work in 3.2.1 using the same procedure so raw, at least more recently, just doesn't seem to be working.

      Steps I took:
      1) Create raw hosted repo
      2) Create raw proxy repo (of #1). Have NFC timeout as 5 min (from default 1440 min).
      3) Hit the url for package on proxy (e.g. http://localhost:8081/repository/rawproxy1/ticketlist.txt). Should return not found.
      4) Push the file (I used curl; curl -v --user 'admin:admin123' --upload-file ./ticketlist.txt http://localhost:8081/repository/rawhosted1/ticketlist.txt).
      5) Before 5 minutes hit the url for package on proxy (e.g. http://localhost:8081/repository/rawproxy1/ticketlist.txt). EXPECTED not found but BUG/Test Concern #1: It loads.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jstephens Joseph Stephens
              Reporter:
              jtom Joe Tom
              Last Updated By:
              Peter Lynch
              Team:
              Nexus - Formats
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title