Fix duplicate tags in ChangeDescription by passing empty lists to recordListChange (#23841)

This commit is contained in:
Adrià Manero 2025-10-14 17:44:41 +02:00 committed by GitHub
parent 650627a025
commit 86b6de3346
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4064,7 +4064,8 @@ public abstract class EntityRepository<T extends EntityInterface> {
}
// Record changes for audit trail
recordListChange(fieldName, origTags, updatedTags, addedTags, deletedTags, tagLabelMatch);
recordListChange(
fieldName, origTags, updatedTags, new ArrayList<>(), new ArrayList<>(), tagLabelMatch);
updatedTags.sort(compareTagLabel);
}