Bug #1394: Fix problem because of deletedWorkReportLinesSet set was not reseted

FEA: ItEr76S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2012-03-13 19:54:03 +01:00
parent e9c198afea
commit e24cb9ba7e

View file

@ -150,6 +150,7 @@ public class WorkReportModel extends IntegrationEntityModel implements
setDefaultCode();
}
loadMaps();
deletedWorkReportLinesSet = new HashSet<WorkReportLine>();
}
@Override
@ -161,6 +162,7 @@ public class WorkReportModel extends IntegrationEntityModel implements
forceLoadWorkReportTypeFromDB(workReport.getWorkReportType());
loadMaps();
initOldCodes();
deletedWorkReportLinesSet = new HashSet<WorkReportLine>();
}
@Transactional(readOnly = true)