Author: tchemit Date: 2013-03-04 17:44:15 +0100 (Mon, 04 Mar 2013) New Revision: 527 Url: http://forge.codelutin.com/projects/tutti/repository/revisions/527 Log: benthos as warning in tree validation (for now) Modified: trunk/tutti-persistence/src/main/java/fr/ifremer/tutti/persistence/service/batch/ScientificCruiseCatchBatchValidator.java Modified: trunk/tutti-persistence/src/main/java/fr/ifremer/tutti/persistence/service/batch/ScientificCruiseCatchBatchValidator.java =================================================================== --- trunk/tutti-persistence/src/main/java/fr/ifremer/tutti/persistence/service/batch/ScientificCruiseCatchBatchValidator.java 2013-03-04 15:26:13 UTC (rev 526) +++ trunk/tutti-persistence/src/main/java/fr/ifremer/tutti/persistence/service/batch/ScientificCruiseCatchBatchValidator.java 2013-03-04 16:44:15 UTC (rev 527) @@ -127,7 +127,7 @@ "pmfmId", enumeration.PMFM_ID_SORTING_TYPE, enumeration.QUALITATIVE_ID_SORTING_TYPE_BENTHOS); if (benthosBatch == null) { - addError(errors, n_("tutti.persistence.batch.validation.vracBenthosNotFound"), null); + addWarning(errors, n_("tutti.persistence.batch.validation.vracBenthosNotFound")); } else { // Vrac > Benthos > Inert SortingBatch inertBatch = catchBatchDao.getSortingBatch(benthosBatch.getChildBatchs(),