Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0036205 | Openbravo ERP | A. Platform | public | 2017-06-08 13:36 | 2017-06-09 14:01 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR17Q3 | |
Merge Request Status | |
Review Assigned To | inigosanchez |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0036205: Error fired after selecting the CalloutClass in the Linked Items section of the Callout window |
Description | The following error appears in the UI after selecting the CalloutClass in the Linked Items section of the Callout window:
@CODE=0@ERROR: column reference "action" is ambigous Position: 641
And the following exception is raised in the console:
SELECT (AD_Model_Object.AD_Model_Object_ID) AS ID, (AD_COLUMN_IDENTIFIER(?,TO_CHAR(AD_Model_Object.AD_Model_Object_ID),?)) AS NAME, tab1.AD_TAB_ID AS AD_TAB_ID, tab1.AD_WINDOW_ID AS AD_WINDOW_ID, table1.NAME AS TABLENAME, menu1.NAME AS AD_MENU_NAME, tab1.UIPATTERN FROM AD_Model_Object LEFT OUTER JOIN AD_TAB tab1 ON (tab1.AD_TAB_ID = ?) LEFT OUTER JOIN AD_TABLE table1 ON (tab1.AD_TABLE_ID = table1.AD_TABLE_ID) LEFT OUTER JOIN AD_MENU menu1 ON (menu1.AD_WINDOW_ID = tab1.AD_WINDOW_ID) WHERE AD_Model_Object.AD_Callout_ID = ? AND 1=1 AND Action='C' AND EXISTS (SELECT 1 FROM AD_Callout WHERE AD_Callout.AD_Callout_ID = AD_Model_Object.AD_Callout_ID) AND AD_Model_Object.AD_ORG_ID IN ('0') AND AD_Model_Object.AD_CLIENT_ID IN ('0') ORDER BY 2Exception:org.postgresql.util.PSQLException: ERROR: column reference "action" is ambiguous
|
Steps To Reproduce | 1) As system administrator, go to the Callout window
2) Open any callout in form view, and display the Linked Items section
3) Click on the "Callout Class" link |
Proposed Solution | The Linked Items feature makes use of the sql where clause defined in the tab. Fix the where clause of the Callout Class: use "AD_Model_Object.Action='C'" instead of "Action='C'" |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | design defect | 0033305 | | new | Triage Platform Base | Linked Items do not take into account HQL where clause |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2017-06-08 13:36 | caristu | New Issue | |
2017-06-08 13:36 | caristu | Assigned To | => caristu |
2017-06-08 13:36 | caristu | Modules | => Core |
2017-06-08 13:36 | caristu | Triggers an Emergency Pack | => No |
2017-06-08 13:38 | caristu | Relationship added | related to 0033305 |
2017-06-08 13:51 | hgbot | Checkin | |
2017-06-08 13:51 | hgbot | Note Added: 0097220 | |
2017-06-08 13:51 | hgbot | Status | new => resolved |
2017-06-08 13:51 | hgbot | Resolution | open => fixed |
2017-06-08 13:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e1cdf33211c8428fe81a759ffb8e165c9b114b88 [^] |
2017-06-08 13:51 | caristu | Review Assigned To | => inigosanchez |
2017-06-09 02:49 | hudsonbot | Checkin | |
2017-06-09 02:49 | hudsonbot | Note Added: 0097262 | |
2017-06-09 14:01 | inigosanchez | Note Added: 0097289 | |
2017-06-09 14:01 | inigosanchez | Status | resolved => closed |
2017-06-09 14:01 | inigosanchez | Fixed in Version | => 3.0PR17Q3 |