Author: kmorin Date: 2013-04-20 13:25:26 +0200 (Sat, 20 Apr 2013) New Revision: 834 Url: http://forge.codelutin.com/projects/tutti/repository/revisions/834 Log: do not remove the species from the species used if we remove only the subbatches Modified: trunk/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/benthos/RemoveBenthosSubBatchAction.java Modified: trunk/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/benthos/RemoveBenthosSubBatchAction.java =================================================================== --- trunk/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/benthos/RemoveBenthosSubBatchAction.java 2013-04-20 11:24:59 UTC (rev 833) +++ trunk/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/benthos/RemoveBenthosSubBatchAction.java 2013-04-20 11:25:26 UTC (rev 834) @@ -67,12 +67,6 @@ // save parent batch (will destroy all his childs from db) persistenceService.deleteSpeciesSubBatch(parentBatch.getId()); - if (parentBatch.isBatchRoot()) { - - // update speciesUsed - handler.removeFromSpeciesUsed(parentBatch); - } - // collect of rows to remove from model Set<BenthosBatchRowModel> rowToRemove = Sets.newHashSet();
participants (1)
-
kmorin@users.forge.codelutin.com