Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033490 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | critical | sometimes | 2016-07-18 11:38 | 2016-08-11 18:40 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR16Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 172bf8f14427 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Pre packaging ( pi ) | |||||||
Regression date | 2016-07-08 | |||||||
Regression introduced in release | pi | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/772761fc1df8 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0033490: can't create/edit record depending on the order windows are opened | |||||||
Description | Depending on the order different windows are opened/operated, it is possible to reach a situation where it is not possible to create/edit rows in some of them. This is mainly reproducible when trying to create a new record in a tab that shares the same table than another tab that has been previously opened in the same session. | |||||||
Steps To Reproduce | 1. In an instance with NO module in development 2. Login as Openbravo Admin 3. Open Sales Order window 4. Open Purchase Order window 5. Create new record ERRORS: -UI: does not show default values -logs: ERROR org.hibernate.LazyInitializationException - could not initialize proxy - no Session 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.datamodel.Table_$$_javassist_322.getDataOriginType(Table_$$_javassist_322.java) at org.openbravo.client.application.window.FormInitializationComponent.execute(FormInitializationComponent.java:147) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0088549) hgbot (developer) 2016-07-18 11:46 |
Repository: erp/devel/pi Changeset: 172bf8f14427197f393e59e6e1253a997c54b446 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Mon Jul 18 11:45:42 2016 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/172bf8f14427197f393e59e6e1253a997c54b446 [^] fixed bug 33490: can't create/edit record depending on how windows are opened Depending on the order different windows were opened/operated within the same session, it was not possible to edit/crete records in some of these windows. The problem was on how data was cached in ADCS. If more than one tab shared the same table, tab.getTable was only initialized for the 1st one because tab.getTable.getId() was used to check whether it was already in cache. This code before made the table to be fully initialized, but now it only gets the id from proxy. Fixed by forcing table initialization. --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java --- |
(0088655) caristu (developer) 2016-07-26 09:03 |
Code review + testing OK in pi@c1dff2b0991a |
(0089017) hudsonbot (developer) 2016-08-11 18:40 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/edaa05b1fb18 [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2016-07-18 11:38 | alostale | New Issue | |
2016-07-18 11:38 | alostale | Assigned To | => alostale |
2016-07-18 11:38 | alostale | Modules | => Core |
2016-07-18 11:38 | alostale | Regression level | => Pre packaging ( pi ) |
2016-07-18 11:38 | alostale | Regression date | => 2016-07-08 |
2016-07-18 11:38 | alostale | Regression introduced in release | => pi |
2016-07-18 11:38 | alostale | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/772761fc1df8 [^] |
2016-07-18 11:38 | alostale | Triggers an Emergency Pack | => No |
2016-07-18 11:39 | alostale | Relationship added | caused by 0033200 |
2016-07-18 11:41 | alostale | Review Assigned To | => caristu |
2016-07-18 11:46 | hgbot | Checkin | |
2016-07-18 11:46 | hgbot | Note Added: 0088549 | |
2016-07-18 11:46 | hgbot | Status | new => resolved |
2016-07-18 11:46 | hgbot | Resolution | open => fixed |
2016-07-18 11:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/172bf8f14427197f393e59e6e1253a997c54b446 [^] |
2016-07-26 09:03 | caristu | Note Added: 0088655 | |
2016-07-26 09:03 | caristu | Status | resolved => closed |
2016-07-26 09:03 | caristu | Fixed in Version | => 3.0PR16Q4 |
2016-08-11 18:40 | hudsonbot | Checkin | |
2016-08-11 18:40 | hudsonbot | Note Added: 0089017 |
Copyright © 2000 - 2009 MantisBT Group |