ItEr44S10CUGravacionModelosUnidadesTraballoItEr43S12: Fixing bug. It was providing the detached entity instead of the newly retrieved one.

This commit is contained in:
Óscar González Fernández 2010-01-21 02:13:57 +01:00
parent e6a518fe4d
commit 2465faae01

View file

@ -137,7 +137,7 @@ public class OrderTemplatesModel implements IOrderTemplatesModel {
public void initEdit(OrderElementTemplate template) {
initializeAcompanyingObjectsOnConversation();
this.template = dao.findExistingEntity(template.getId());
loadAssociatedData(template);
loadAssociatedData(this.template);
treeModel = new TemplatesTree(this.template);
}