diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/server/parser/UpdatedSampleParserObjectFactory.java b/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/server/parser/UpdatedSampleParserObjectFactory.java index 7bb99f7df756ff1372f9e7c29028d6750a8b05f7..070e0ff03c684c76720b5325aca8ec781e767aeb 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/server/parser/UpdatedSampleParserObjectFactory.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/server/parser/UpdatedSampleParserObjectFactory.java @@ -55,7 +55,7 @@ final class UpdatedSampleParserObjectFactory extends NewSampleParserObjectFactor boolean updateExperiment = isColumnAvailable(UpdatedSample.EXPERIMENT); boolean updateParent = isColumnAvailable(UpdatedSample.PARENT); boolean updateParents = isColumnAvailable(UpdatedSample.PARENTS); - if (updateParent == updateParents == true) + if (updateParent == true && updateParents == true) { throw new ParserException("Both '" + UpdatedSample.PARENT + "' and '" + UpdatedSample.PARENTS