ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #579] Fix bug.

Avoid to resave the replaced element.
This commit is contained in:
Óscar González Fernández 2010-08-09 18:40:49 +02:00
parent ac53cb33c3
commit 154b9a777e

View file

@ -996,6 +996,7 @@ public class LimitingResourceQueueModel implements ILimitingResourceQueueModel {
limitingResourceQueueElementDAO.save(oldElement);
limitingResourceQueueElementDAO.save(newElement);
toBeSaved.remove(oldElement);
queuesState.replaceLimitingResourceQueueElement(oldElement, newElement);
if (needToReassign) {