[RTFACT-18400] Error on distributing release bundle with same file but different checksum Created: 16/Jan/19  Updated: 01/Mar/20  Resolved: 01/Mar/20

Status: Resolved
Project: Artifactory Binary Repository
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: Sowjanya Kamatam Assignee: Gal Ben Ami
Resolution: Won't Fix Votes: 0
Labels: dist





Error: "Artifact <filename.tar.gz> cannot replace an artifact that is part of a bundle."
Cause for the error: When a file in release bundle is distributed multiple times (different versions of release bundle) and if the checksum doesn't match with already existing file in Edge node, the distribution fails.
Steps to reproduce:
1. Distribute a new release bundle with a file (example: testbundle/test.tar.gz) 
2. Change the file test.ar.gz and deploy it in source Artifactory. Checksum of test.tar.gz is different now.
3. Create new release bundle in Distribution with the file test.tar.gz and distribute the release bundle. This will fail because the checksum value doesn't match with already existing file test.tar.gz in Edge node.
Request: ** Distribution is failing overwriting files in target instances because of checksum mismatch. Can we please have an overwrite option to write the files to release bundle in target instances?

Comment by Krzysztof Malinowski [ 12/Feb/20 ]

I think this behavior is by design and it makes sense: a release bundle should not be changed once published, allowing this behavior will lead to inconsistencies in published artifacts.

Comment by Shlomi Kriheli (Inactive) [ 01/Mar/20 ]

This is by design. 

Generated at Tue Sep 29 11:49:17 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.