Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-14533

RPM local repositories - Deletion of the entire folder within the folder depth of the repository will fire an event calculation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.16.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Deletion of an entire folder within the depth (for example, if the folder depth is 3, deleting a folder <=3), will still fire an event to re-calculate the metadata.
      This will recreate the folder again with repodata folder in it.
      The reason for it is that when the check to invoke calculation runs (recursively on all files under this folder), it also finds there .rpm files.
      This will automatically trigger the calculation again.

      Same goes also for move actions.

      Steps to reproduce :

      1. Create RPM repo and set folder depth 3 , and auto calculate metadata.

      2. Create a 3 folders inside the repo and upload an rpm into the folder.
      Wait for metadata calculation.

      3. Navigate to the folder in UI, and delete the folder. (as the following screenshot remove directory)
      as the following snapshot :

      Wait for some minutes, the folder comes back (without the RPM , metadata recalculated which you can see from timestamps but ).

      As the following snapshot :

        Attachments

          Activity

            People

            Assignee:
            aviz Avi Zaig (Inactive)
            Reporter:
            batelt Batel Tova
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: