Project:
View Revisions: Issue #34439 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0034439: can't add attachment to Invoices after print and attach | ||
Revision | 2016-11-09 15:51 by alostale | ||
Steps To Reproduce | In an instance with no modules in development 1) Open [Purchase Invoice] window and select some record 2) Press button "Print Record" and press "Yes" to attach the document 3) Expand attachments section and press "Add" to add a new document ---> It shows the error Caused by: freemarker.template.TemplateModelException: get(title) failed on instance of org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter ... Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:167) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190) at org.openbravo.model.ad.ui.Element_$$_javassist_10.getADElementTrlList(Element_$$_javassist_10.java) at org.openbravo.client.application.window.OBViewUtil.getParameterTitle(OBViewUtil.java:105) at org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter.getTitle(OBViewParameterHandler.java:241) ... 85 more Note this happens when 2 is the first action in the current session regarding attachments for that window, in case add attachment is executed before, there is no issue. |
||
Revision | 2016-11-09 15:50 by alostale | ||
Steps To Reproduce | In an instance with no modules in development 1) Open [Purchase Invoice] window and select some record 2) Press button "Print Record" and press "Yes" to attach the document 3) Expand attachments section and press "Add" to add a new document ---> It shows the error Caused by: freemarker.template.TemplateModelException: get(title) failed on instance of org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter ... Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:167) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190) at org.openbravo.model.ad.ui.Element_$$_javassist_10.getADElementTrlList(Element_$$_javassist_10.java) at org.openbravo.client.application.window.OBViewUtil.getParameterTitle(OBViewUtil.java:105) at org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter.getTitle(OBViewParameterHandler.java:241) ... 85 more |
||
Revision | 2016-11-09 13:50 by alostale | ||
Steps To Reproduce | 1) Open [Purchase Invoice] window and select some record 2) Press button "Print Record" and press "Yes" to attach the document 3) Deploy the attachments and press "Add" to add a new document ---> It shows the error |
Copyright © 2000 - 2009 MantisBT Group |