From aafb0719f3f2286f348541cb5e98795e19d76b89 Mon Sep 17 00:00:00 2001 From: buczekp <buczekp> Date: Fri, 12 Feb 2010 09:48:08 +0000 Subject: [PATCH] [LMS-1376] fixed SVN: 14718 --- .../web/server/parser/SampleUploadSectionsParser.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/server/parser/SampleUploadSectionsParser.java b/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/server/parser/SampleUploadSectionsParser.java index db117e5b46c..d941766e438 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/server/parser/SampleUploadSectionsParser.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/server/parser/SampleUploadSectionsParser.java @@ -102,8 +102,11 @@ public class SampleUploadSectionsParser switch (operationKind) { case REGISTRATION: - generateIdentifiers(defaultGroupIdentifier, sampleCodeGeneratorOrNull, - isAutoGenerateCodes, newSamples); + if (isAutoGenerateCodes) + { + generateIdentifiers(defaultGroupIdentifier, sampleCodeGeneratorOrNull, + isAutoGenerateCodes, newSamples); + } break; case UPDATE: fillIdentifiers(defaultGroupIdentifier, newSamples); -- GitLab