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

nexus.assetdownloads.enabled=false does not stop all download count updates

    XMLWordPrintable

    Details

      Description

      Setting the "nexus.assetdownloads.enabled=false" property should stop all updates of the download count database table. However, there is a code path which is not covered by this:

      https://github.com/sonatype/nexus-public/blob/release-3.7.1-02/components/nexus-repository/src/main/java/org/sonatype/nexus/repository/browse/internal/BrowseServiceImpl.java#L363

      This path should check to see if the flag has been set before making the database update.

        Attachments

          Activity

            People

            Assignee:
            plynch Peter Lynch
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title