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

UI doesn't reflect actual status of Enable Event Replication Checkbox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 7.33.6
    • Fix Version/s: None
    • Component/s: Web UI
    • Labels:
      None
    • Location:
      External

      Description

      When replication configuration is set via API call with Enable Event Replication set to true, this is not reflected in UI (ie checkbox in front of Enable Event Replication is empty).

      Affected version: 7.33.9 Pro (this version is not available in  Affect Versions field though)

       

      How to reproduce:

      1. create replication that has Event Replication option enabled using API
        Example:
      curl -X PUT -u'admin:admin' http://src.artifactory:8081/artifactory/api/replications/docker-local -H "Content-Type: application/json" -d @/tmp/repl.json
      
      cat /tmp/repl.json
      {
       "url" : "http://src.artifactory:8081/artifactory/docker-local",
       "socketTimeoutMillis" : 60000,
       "username" : "admin",
       "password" : "DELETED",
       "syncStatistics" : false,
       "enabled" : true,
       "cronExp" : "0 */20 * * * ?",
       "syncDeletes" : true,
       "syncProperties" : true,
       "includePathPrefixPattern" : "",
       "repoKey" : "docker-dev-local",
       "enableEventReplication" : true,
       "checkBinaryExistenceInFilestore" : false
      }

      2. Check that even-based replication is enabled with API call:

      curl -XGET -u'admin:admin' http://src.artifactory:8081/artifactory/api/replications/docker-local
      {
       "url" : "http://dst.artifactory:8081/artifactory/docker-local",
       "socketTimeoutMillis" : 60000,
       "username" : "admin",
       "password" : "DELETED",
       "syncStatistics" : false,
       "enabled" : true,
       "cronExp" : "0 */20 * * * ?",
       "syncDeletes" : true,
       "syncProperties" : true,
       "includePathPrefixPattern" : "",
       "repoKey" : "docker-local",
       "replicationKey" : "docker-local-lbb1961b02f",
       "enableEventReplication" : true,
       "checkBinaryExistenceInFilestore" : false
      }

      3. Go to UI http://src.artifactory:8082/ui/admin/repositories/local/docker-local/edit, switch to Replication tab and check that Enable Event Replication checkbox is empty (while there should be a tick)

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              yujin Yevgeniy Korin
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-26817 -
                  SYNCHRONIZED
                  • Last Sync Date: