Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0023267 | Openbravo ERP | A. Platform | public | 2013-03-08 12:20 | 2013-04-16 19:18 | |||||||
Reporter | egoitz | |||||||||||
Assigned To | shankarb | |||||||||||
Priority | urgent | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | 3.0MP20 | |||||||||||
Target Version | 3.0MP22 | Fixed in Version | 3.0MP22 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | AugustoMauch | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0023267: Error with ComboTableData when refering to columns defined as new selector for table containing also identifiers as new selector | |||||||||||
Description | Error with ComboTableData when refering to columns defined as new selector for table containing also identifiers as new selector | |||||||||||
Steps To Reproduce | -Show the window Outgoing Shipment. -Create a new table pr_series having the mandatory columnas and a name. -Add on the m_product table a new column em_pr_series1 -Create a new selector for the pr_series showing the name of the table. -Define the column em_pr_series1 to use the previous selector -Check the name on pr_series table as identifier -Check the em_pr_series1 column on the m_product table as identifier -Check the m_product_id colmn on m_inoutline table as identifier -Compile the application and restart tomcat -Access to the Outgoing Shipment window. -Add a header -Add a line *When addding a line an error is shown on the openbravo.log ERROR org.openbravo.erpCommon.utility.ComboTableData - Error of SQL in query: SELECT td0.M_InOutLine_ID AS ID, (COALESCE(TO_CHAR((CASE WHEN td_trl2.Name IS NULL THEN COALESCE(TO_CHAR(td1.Name),'') ELSE COALESCE(TO_CHAR(td_trl2.Name),'') END)),'') || ' - ' || COALESCE(TO_CHAR(COALESCE(TO_CHAR(td3.Serienueva),'')),'') || ' - ' || COALESCE(TO_CHAR(COALESCE(TO_CHAR(td4.Serienueva),'')),'') || ' - ' || COALESCE(TO_CHAR(COALESCE(TO_CHAR(td5.Serienueva),'')),'') || ' - ' || COALESCE(TO_CHAR(COALESCE(TO_CHAR(td6.Serienueva),'')),'') || ' - ' || COALESCE(TO_CHAR(COALESCE(TO_CHAR(td1.Description),'')),'')) AS NAME, '' AS DESCRIPTION FROM M_InOutLine td0 left join M_Product td1 on td0.M_Product_ID = td1.M_Product_ID AND td1.AD_Client_ID IN ('0','FF808181332173EE0133217A75ED0001') AND td1.AD_Org_ID IN ('FF808181332173EE013321817E1E278A','0') left join M_Product_Trl td_trl2 on td1.M_Product_ID = td_trl2.M_Product_ID AND td_trl2.AD_Language = ? left join pr_series td3 on td1.EM_Pr_Serie1 = td3.EM_Pr_Serie1 AND td3.AD_Client_ID IN ('0','FF808181332173EE0133217A75ED0001') AND td3.AD_Org_ID IN ('FF808181332173EE013321817E1E278A','0') WHERE td0.AD_Client_ID IN ('0','FF808181332173EE0133217A75ED0001') AND td0.AD_Org_ID IN ('FF808181332173EE013321817E1E278A','0') AND (td0.isActive = 'Y' OR td0.M_InOutLine_ID = (?) ) ORDER BY 2, 2, 2, 2, 2, 2Exception:org.postgresql.util.PSQLException: ERROR: column td3.em_pr_serie1 does not exist ... ... ERROR org.openbravo.base.exception.OBException - Error while computing combo data java.lang.Exception: @CODE=0@ERROR: column td3.em_pr_serie1 does not exist Position: 920 at org.openbravo.erpCommon.utility.ComboTableData.select(ComboTableData.java:1102) at org.openbravo.client.kernel.reference.UIDefinition.getValueInComboReference(UIDefinition.java:469) ... ... ... at java.lang.Thread.run(Thread.java:679) ERROR org.openbravo.client.application.window.FormInitializationComponent - Couldn't get data for column Canceled_Inoutline_ID org.openbravo.base.exception.OBException: Error while computing combo data at org.openbravo.client.kernel.reference.UIDefinition.getValueInComboReference(UIDefinition.java:519) at org.openbravo.client.kernel.reference.FKComboUIDefinition.getFieldProperties(FKComboUIDefinition.java:100) ... ... | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2013-03-08 12:20 | egoitz | New Issue | ||||||||||
2013-03-08 12:20 | egoitz | Assigned To | => AugustoMauch | |||||||||
2013-03-08 12:20 | egoitz | Modules | => Core | |||||||||
2013-03-08 12:20 | egoitz | OBNetwork customer | => Yes | |||||||||
2013-03-08 12:20 | egoitz | Triggers an Emergency Pack | => No | |||||||||
2013-03-08 12:33 | egoitz | Relationship added | related to 0023268 | |||||||||
2013-03-08 12:33 | egoitz | Issue Monitored: networkb | ||||||||||
2013-03-14 07:00 | shankarb | Status | new => scheduled | |||||||||
2013-03-14 07:00 | shankarb | fix_in_branch | => pi | |||||||||
2013-03-14 07:01 | shankarb | Assigned To | AugustoMauch => shankarb | |||||||||
2013-03-14 07:08 | shankarb | Review Assigned To | => AugustoMauch | |||||||||
2013-03-14 07:08 | shankarb | fix_in_branch | pi => | |||||||||
2013-03-14 07:08 | shankarb | Issue Monitored: AugustoMauch | ||||||||||
2013-03-14 07:10 | hgbot | Checkin | ||||||||||
2013-03-14 07:10 | hgbot | Note Added: 0057238 | ||||||||||
2013-03-14 07:10 | hgbot | Status | scheduled => resolved | |||||||||
2013-03-14 07:10 | hgbot | Resolution | open => fixed | |||||||||
2013-03-14 07:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/17257f9051b3b426aff87dae8b59f1db0d1ce254 [^] | |||||||||
2013-03-14 09:36 | shankarb | Note Added: 0057241 | ||||||||||
2013-03-14 19:01 | AugustoMauch | Note Added: 0057266 | ||||||||||
2013-03-14 19:01 | AugustoMauch | Status | resolved => new | |||||||||
2013-03-14 19:01 | AugustoMauch | Resolution | fixed => open | |||||||||
2013-03-17 06:56 | hgbot | Checkin | ||||||||||
2013-03-17 06:56 | hgbot | Note Added: 0057276 | ||||||||||
2013-03-17 06:56 | hgbot | Status | new => resolved | |||||||||
2013-03-17 06:56 | hgbot | Resolution | open => fixed | |||||||||
2013-03-17 06:56 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/17257f9051b3b426aff87dae8b59f1db0d1ce254 [^] => http://code.openbravo.com/erp/devel/pi/rev/9df38a6a44d05d70b347868e328cbf5a45596a19 [^] | |||||||||
2013-03-18 10:55 | AugustoMauch | Note Added: 0057293 | ||||||||||
2013-03-18 10:55 | AugustoMauch | Status | resolved => closed | |||||||||
2013-03-18 10:55 | AugustoMauch | Fixed in Version | => 3.0MP22 | |||||||||
2013-03-25 13:12 | hudsonbot | Checkin | ||||||||||
2013-03-25 13:12 | hudsonbot | Note Added: 0057416 | ||||||||||
2013-04-10 04:06 | hgbot | Checkin | ||||||||||
2013-04-10 04:06 | hgbot | Note Added: 0057814 | ||||||||||
2013-04-16 19:18 | hudsonbot | Checkin | ||||||||||
2013-04-16 19:18 | hudsonbot | Note Added: 0057949 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|