Cleanup, fixed some typos
parent
493f960c1a
commit
7fcdb4a967
|
|
@ -24,7 +24,6 @@ import javax.enterprise.context.RequestScoped;
|
|||
import javax.inject.Inject;
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.NoResultException;
|
||||
import javax.transaction.Transactional;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ import org.libreccm.imexport.Processes;
|
|||
|
||||
import java.util.Set;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
import javax.enterprise.context.RequestScoped;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -66,6 +66,8 @@ public class SeriesImExporter extends AbstractEntityImExporter<Series> {
|
|||
existingEntity.getDescription()
|
||||
);
|
||||
}
|
||||
|
||||
seriesRepo.save(existingEntity);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -61,12 +61,12 @@ public class SciProjectImExporter
|
|||
}
|
||||
|
||||
if (!Objects.equals(
|
||||
existingContentItem.getDescription(),
|
||||
importedContentItem.getDescription()
|
||||
existingContentItem.getProjectDescription(),
|
||||
importedContentItem.getProjectDescription()
|
||||
)) {
|
||||
syncLocalizedStrings(
|
||||
importedContentItem.getDescription(),
|
||||
existingContentItem.getDescription()
|
||||
importedContentItem.getProjectDescription(),
|
||||
existingContentItem.getProjectDescription()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue