Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0042419 | Openbravo ERP | A. Platform | public | 2019-11-27 14:33 | 2020-01-20 09:11 |
|
Reporter | shuehner | |
Assigned To | cberner | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR20Q2 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
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 | 0042419: Error about non-existing table on each install.source in pg logfile (related to obsolete table recreation in dbsm) |
Description | On each install.source the following error can be found in postgresql.log
2019-11-27 14:16:08.486 CET [11876] tadpi_pg12_pg@obpi_pg12_pg ERROR: relation "m_requisitionline_" does not exist at character 33
2019-11-27 14:16:08.486 CET [11876] tadpi_pg12_pg@obpi_pg12_pg STATEMENT: SELECT (SELECT DATEPLANNED FROM M_REQUISITIONLINE_ WHERE M_REQUISITIONLINE_.M_REQUISITIONLINE_ID = M_REQUISITIONLINE.M_REQUISITIONLINE_ID) FROM M_REQUISITIONLINE LIMIT 1
Technically that some from an onCreateDefault clause on the table definition:
database/model/tables/M_REQUISITIONLINE.xml: <onCreateDefault><![CDATA[SELECT DATEPLANNED FROM M_REQUISITIONLINE_ WHERE M_REQUISITIONLINE_.M_REQUISITIONLINE_ID = M_REQUISITIONLINE.M_REQUISITIONLINE_ID]]></onCreateDefault>
Technical error comes from the fact that the clause is reading from a M_REQUISITIONLINE_ table which is a intermediate table which was several years ago by update.database when modifying tables.
However that 'table recreation' is not done anymore for some years (except very special cases) so probably the onCreateDefault clause does not even provide value today.
|
Steps To Reproduce | Check postgresql log file after any install.source for above error. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-11-27 14:33 | shuehner | New Issue | |
2019-11-27 14:33 | shuehner | Assigned To | => platform |
2019-11-27 14:33 | shuehner | OBNetwork customer | => No |
2019-11-27 14:33 | shuehner | Modules | => Core |
2019-11-27 14:33 | shuehner | Triggers an Emergency Pack | => No |
2019-12-26 11:42 | AugustoMauch | Note Added: 0116532 | |
2019-12-26 11:43 | AugustoMauch | Assigned To | platform => cberner |
2019-12-30 16:28 | cberner | Status | new => scheduled |
2019-12-30 16:28 | cberner | Review Assigned To | => AugustoMauch |
2019-12-30 16:36 | cberner | Note Added: 0116577 | |
2020-01-13 09:42 | hgbot | Checkin | |
2020-01-13 09:42 | hgbot | Note Added: 0116782 | |
2020-01-13 09:42 | hgbot | Status | scheduled => resolved |
2020-01-13 09:42 | hgbot | Resolution | open => fixed |
2020-01-13 09:42 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/bff30b62883c6fc9089d0ea30d34d6c7f493fa53 [^] |
2020-01-20 09:11 | AugustoMauch | Note Added: 0117051 | |
2020-01-20 09:11 | AugustoMauch | Status | resolved => closed |
2020-01-20 09:11 | AugustoMauch | Fixed in Version | => 3.0PR20Q2 |