When creating a clone of a FlowFile, ensure that we properly set the 'updated attributes' on the RepositoryRecord to all attributes on the FlowFile itself, the same way we do when calling create(FlowFile)
This closes
@@ -1631,7 +1631,7 @@ public final class StandardProcessSession implements ProcessSession, ProvenanceE
context.getContentRepository().incrementClaimaintCount(claim);
}
final StandardRepositoryRecord record = new StandardRepositoryRecord(null);
- record.setWorking(clone, Collections.<String, String> emptyMap());
+ record.setWorking(clone, clone.getAttributes());
records.put(clone, record);
if (offset == 0L && size == example.getSize()) {
