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

Dynamic Storage - Blob store incorrectly displays Enable Soft Quota as checked

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.15.0
    • Component/s: Blobstore
    • Labels:
      None

      Description

      Blob stores show that Soft Quota is enabled when they are not. This happens when a periodic quota check job runs and tires to access the config from the blob stores attributes. Calling the attributes method on the BlobStoreConfiguration object has a side effect of changing the backing map. Our view objects determine if it is enabled by simply evaluating if the config is null.

      Possible solutions:

      • Calling attributes should not have side effects. (This seems like the best route)
      • Checking to see if the option is enabled could check for more than null
      • Save the enabled state separate from the config

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mjohnson Matt Johnson
            Last Updated By:
            Peter Lynch Peter Lynch
            Team:
            NXRM - Morpheus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title