This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository tutti. See https://gitlab.nuiton.org/codelutin/tutti.git commit de5e325240ab55bc77a767e0febb20ee702c69d1 Author: Benjamin POUSSIN <poussin@codelutin.com> Date: Tue Jan 3 15:34:27 2017 +0100 fixes #8663: [IMPORT GENERIQUE] impossible d'importer une trait préalablement saisie L'import de prélèvement individuel benthos etait impossible, ce patch corrige le probleme --- .../tutti/service/genericformat/importactions/ImportCatchAction.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tutti-service/src/main/java/fr/ifremer/tutti/service/genericformat/importactions/ImportCatchAction.java b/tutti-service/src/main/java/fr/ifremer/tutti/service/genericformat/importactions/ImportCatchAction.java index 5f17023..82b3ecb 100644 --- a/tutti-service/src/main/java/fr/ifremer/tutti/service/genericformat/importactions/ImportCatchAction.java +++ b/tutti-service/src/main/java/fr/ifremer/tutti/service/genericformat/importactions/ImportCatchAction.java @@ -293,6 +293,9 @@ public class ImportCatchAction extends ImportActionSupport { Collection<AttachmentRow> attachmentRows = importContext.popAttachmentRows(ObjectTypeCode.BATCH, batchObjectId); persistenceHelper.persistAttachments(createdBatch.getIdAsInt(), attachmentRows); + // keep id translation (will be used by individual observations) + fishingOperationContext.registerPersistedSpeciesBatchId(batchObjectId, createdBatch.getIdAsInt()); + if (CollectionUtils.isNotEmpty(frequencies)) { Integer batchId = batch.getIdAsInt(); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.