Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0010716 | Openbravo ERP | A. Platform | public | 2009-09-23 15:39 | 2009-10-12 09:33 |
|
Reporter | shuehner | |
Assigned To | shuehner | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.40 | |
Target Version | | Fixed in Version | 2.40MP10 | |
Merge Request Status | |
Review Assigned To | |
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 | 0010716: On SQL error when using ComboTableData on postgres only error message is '0' instead of the real database error |
Description | The error reporting code inside ComboTableData does throw away the error message text and only keep the error code number. This lead to completely useless errror message shown to the user. |
Steps To Reproduce | 1.) Produce an sql error in some sql executes by ComboTableData
update ad_ref_table set whereclause = 'XISTS (SELECT * FROM C_BPartner bp WHERE AD_User.C_BPartner_ID=bp.C_BPartner_ID AND bp.IsSalesRep=\'Y\')' where ad_reference_id = 190;
2.) Login as openbravo admin
3.) Go to masterdata management -> Product
4.) Error message 'Error: 0' (on postgres) is shown
|
Proposed Solution | Fix ComboTableData to not throw away the database provided error message. This is not perfect but provides (depending on the real sql error) more info to report in a support ticket.
|
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0010715 | | closed | shuehner | On SQL error when using ComboTableData on postgres only error message is '0' instead of the real database error |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2009-09-23 15:40 | shuehner | Type | defect => backport |
2009-09-23 15:40 | shuehner | fix_in_branch | => 2.40 |
2009-09-23 15:53 | hgbot | Checkin | |
2009-09-23 15:53 | hgbot | Note Added: 0020317 | |
2009-09-23 15:53 | hgbot | Status | scheduled => resolved |
2009-09-23 15:53 | hgbot | Resolution | open => fixed |
2009-09-23 15:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.40/rev/b992831aebc19f79e0afe61e203c6d72db2c4b67 [^] |
2009-09-29 12:02 | hgbot | Checkin | |
2009-09-29 12:02 | hgbot | Note Added: 0020443 | |
2009-09-29 12:02 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/stable/2.40/rev/b992831aebc19f79e0afe61e203c6d72db2c4b67 [^] => http://code.openbravo.com/erp/stable/2.40_pageddatagrid/rev/b992831aebc19f79e0afe61e203c6d72db2c4b67 [^] |
2009-10-12 09:33 | arunkumar | Status | resolved => closed |
2009-10-12 09:33 | arunkumar | Note Added: 0020938 | |
2009-10-12 09:33 | arunkumar | Fixed in Version | => 2.40MP10 |