This is an automated email from the git hooks/post-receive script. New commit to branch feature/8050 in repository tutti. See http://git.codelutin.com/tutti.git commit fe77029cc48ae948ddf8aa449d3126e24c6da7e7 Author: Kevin Morin <morin@codelutin.com> Date: Thu Mar 3 16:54:01 2016 +0100 chargement des pj des obs individuelles (fixes #8050) --- .../content/operation/catches/species/SpeciesBatchUIHandler.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/species/SpeciesBatchUIHandler.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/species/SpeciesBatchUIHandler.java index 5e5204b..e11b9a3 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/species/SpeciesBatchUIHandler.java +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/species/SpeciesBatchUIHandler.java @@ -1137,6 +1137,13 @@ public class SpeciesBatchUIHandler extends AbstractTuttiBatchTableUIHandler<Spec individualObservations, getDataContext().getDefaultIndividualObservationCaracteristics()); + for (IndividualObservationBatchRowModel obsRow : newRow.getIndividualObservation()) { + List<Attachment> attachments = + getPersistenceService().getAllAttachments(obsRow.getObjectType(), + obsRow.getObjectId()); + obsRow.addAllAttachment(attachments); + } + List<Attachment> attachments = getPersistenceService().getAllAttachments(newRow.getObjectType(), newRow.getObjectId()); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.