Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0025130 | Openbravo ERP | A. Platform | public | 2013-11-12 02:21 | 2013-11-19 19:07 |
Reporter | dbaz | ||||
Assigned To | dbaz | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0MP30 | |||
Merge Request Status | |||||
Review Assigned To | shankarb | ||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0025130: Java error if no record indentifier is defined in the parent record | ||||
Description | Java error if no record indentifier is defined in the parent record: If you define a parent/child window structure, and you don't define a record indentifier in the parent, you get an ugly java error in the backend that doesn't let you know at all where the error could be. | ||||
Steps To Reproduce | Create two new tables (father and child). Set both tables in "Tables and Columns" and in "Windows Tabs and Fields". It is important that you don't set any field as "Record Identifier" (in the 'Column' tab) Create a new entry in "Menu" window to be able to navigate to the created window Do "ant smartbuild" Go to the created window. Create a father/header Create a child/line Notice that it seems like the child/line form doesn't finish to load. There is a Java error in the backend like: ERROR org.openbravo.erpCommon.utility.ComboTableData - Error of SQL in query: SELECT td0.Obuiapp_Grid_Configuration_ID AS ID, , '' AS DESCRIPTION FROM Obuiapp_Grid_Configuration td0 WHERE td0.AD_Client_ID IN ('0','0') AND td0.AD_Org_ID IN ('0') AND (td0.isActive = 'Y' OR td0.Obuiapp_Grid_Configuration_ID = (?) ) ORDER BY 2Exception:org.postgresql.util.PSQLException: ERROR: error de sintaxis en o cerca de «,» Position: 49 b3e0edee 97748 [http-8880-4] ERROR org.openbravo.base.exception.OBException - Error while computing combo data java.lang.Exception: @CODE=0@ERROR: error de sintaxis en o cerca de «,» Position: 49 at org.openbravo.erpCommon.utility.ComboTableData.select(ComboTableData.java:1102) at org.openbravo.client.kernel.reference.UIDefinition.getValueInComboReference(UIDefinition.java:473) at org.openbravo.client.kernel.reference.FKComboUIDefinition.getFieldProperties(FKComboUIDefinition.java:101) ... | ||||
Proposed Solution | Avoid this Java error and show in the client something that points the user/developer that something has failed. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-11-12 02:21 | dbaz | New Issue | |||
2013-11-12 02:21 | dbaz | Assigned To | => dbaz | ||
2013-11-12 02:21 | dbaz | Modules | => Core | ||
2013-11-12 02:21 | dbaz | OBNetwork customer | => No | ||
2013-11-12 02:21 | dbaz | Triggers an Emergency Pack | => No | ||
2013-11-12 02:36 | dbaz | Review Assigned To | => shankarb | ||
2013-11-12 02:36 | dbaz | Issue Monitored: shankarb | |||
2013-11-12 02:37 | dbaz | Note Added: 0062075 | |||
2013-11-12 02:41 | hgbot | Checkin | |||
2013-11-12 02:41 | hgbot | Note Added: 0062076 | |||
2013-11-12 02:41 | hgbot | Status | new => resolved | ||
2013-11-12 02:41 | hgbot | Resolution | open => fixed | ||
2013-11-12 02:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/dc863e6e11e31739d4e4fbbb831d91418fe48d64 [^] | ||
2013-11-12 11:32 | shankarb | Note Added: 0062085 | |||
2013-11-12 11:32 | shankarb | Status | resolved => closed | ||
2013-11-12 11:32 | shankarb | Fixed in Version | => 3.0MP30 | ||
2013-11-19 19:07 | hudsonbot | Checkin | |||
2013-11-19 19:07 | hudsonbot | Note Added: 0062251 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|