Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0020780 | Openbravo ERP | A. Platform | public | 2012-06-15 10:12 | 2012-07-30 11:00 |
Reporter | jecharri | ||||
Assigned To | AugustoMauch | ||||
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | 3.0MP14 | Fixed in Version | pi | ||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | OBPS | ||||
Web browser | Google Chrome | ||||
Modules | Core | ||||
Support ticket | 15882 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0020780: Bug in HBFix_data.xsql insert statement | ||||
Description | following code: <SqlMethod name="insert" type="preparedStatement" return="rowCount"> <Sql> <![CDATA[ INSERT INTO ad_process_request VALUES (get_uuid(), '0', '0', 'Y', NOW(), '100', NOW(), '100', '1005800000', NULL, '100', 'Y', ? , 'SCH', NULL, NULL, NULL, 'Process Scheduler', 'S', NOW(), NOW(), '4', NULL, NULL, NULL, 7, NULL, NULL, NULL, 'N', 'N', 'N', 'N', 'N', 'N','N', 'S', NULL, NULL, 'N', NULL, NULL, 'N', NULL, NULL, 'N', 'N', 'N', NULL)]]> The insert statement tries to insert into ad_process_request table without specifying columns, so if a module adds a new column to the table, the insert statement fails | ||||
Steps To Reproduce | - | ||||
Proposed Solution | The solution is to change the insert statement to: INSERT INTO ad_process_request(ad_process_request_id, ad_client_id, ad_org_id, ... [name of all core columns] ) VALUES (get_uuid(), etc.) | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-06-15 10:12 | jecharri | New Issue | |||
2012-06-15 10:12 | jecharri | Assigned To | => alostale | ||
2012-06-15 10:12 | jecharri | Web browser | => Google Chrome | ||
2012-06-15 10:12 | jecharri | Modules | => Core | ||
2012-06-15 10:12 | jecharri | OBNetwork customer | => Yes | ||
2012-06-15 10:12 | jecharri | Support ticket | => 15882 | ||
2012-06-15 10:12 | jecharri | Resolution time | => 1339538400 | ||
2012-07-18 13:23 | shuehner | Issue Monitored: shuehner | |||
2012-07-25 15:55 | AugustoMauch | Assigned To | alostale => AugustoMauch | ||
2012-07-25 15:58 | hgbot | Checkin | |||
2012-07-25 15:58 | hgbot | Note Added: 0050837 | |||
2012-07-25 15:58 | hgbot | Status | new => resolved | ||
2012-07-25 15:58 | hgbot | Resolution | open => fixed | ||
2012-07-25 15:58 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c7f7fd1bcc69afe5349820fb3204aa99c15e0984 [^] | ||
2012-07-26 02:42 | hudsonbot | Checkin | |||
2012-07-26 02:42 | hudsonbot | Note Added: 0050885 | |||
2012-07-30 11:00 | migueldejuana | Note Added: 0050978 | |||
2012-07-30 11:00 | migueldejuana | Status | resolved => closed | ||
2012-07-30 11:00 | migueldejuana | Fixed in Version | => pi |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|