migration fix
This commit is contained in:
parent
fc9a4134e7
commit
81156955dc
|
@ -65,6 +65,8 @@ public class TagMigrationService {
|
|||
boolean tagAlreadyExists;
|
||||
if (elasticDataset.getTags() != null && !elasticDataset.getTags().isEmpty()) {
|
||||
for (Tag tag : elasticDataset.getTags()) {
|
||||
if (tag.getName() == null || tag.getName().isBlank()) continue;
|
||||
|
||||
tagAlreadyExists = savedTagIdsByName.containsKey(new TagKey(item, tag)); //TODO we want owner logic ?
|
||||
if (!tagAlreadyExists) {
|
||||
TagEntity tagEntity = new TagEntity();
|
||||
|
|
Loading…
Reference in New Issue