Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0040842 | Openbravo ERP | A. Platform | public | 2019-05-10 16:15 | 2019-05-27 17:33 | ||||||||||||||
Reporter | shuehner | ||||||||||||||||||
Assigned To | alostale | ||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | 3.0PR19Q3 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | caristu | ||||||||||||||||||
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 | 0040842: Error on create.database with PG12 (prescript views user_constraints + user_tab_columns) use removed attributes | ||||||||||||||||||
Description | Running ant create.database against PG12 (devel) has 2 views from prescript-PostgreSql.sql failing to create a.) user_constraint [createdatabase] 3737 [main] WARN org.apache.ddlutils.platform.PGStandardBatchEvaluator - SQL Command failed with: ERROR: column pg_constraint.consrc doe [createdatabase] Hint: Perhaps you meant to reference the column "pg_constraint.conkey" or the column "pg_constraint.conbin". [createdatabase] Position: 1513 b.) user_tab_columns [createdatabase] 3752 [main] WARN org.apache.ddlutils.platform.PGStandardBatchEvaluator - SQL Command failed with: ERROR: column pg_attrdef.adsrc does no [createdatabase] Position: 1450 | ||||||||||||||||||
Steps To Reproduce | - | ||||||||||||||||||
Proposed Solution | - Check if the 2 internal views which are created to match existing oracle system views can be removed - If not they need to be adapted to work with the removed postgres system catalog attributes Known users: 1.) At least the user_constraints view is used in ErrorTextParser_data.xsql/.java file 2.) postgrescript function ad_script_drop_recreate_index That function should probably be removed. Afaik never called automatically and at least on postgres 'reindex' command exists to do the same Note that removal could cascade to utility table ad_script_sql -> however that could be used by modules (even if basic structure for the table some years ago was used as 'useful' in some customer scripts 3.) SessionFactoryController - usage could be maybe rewritten 4.) AD_ALERTRULE 'Disabled constraints': 1000008, isactive=N - Should probably be more a compile time tool then alert - Similar to related alertrule - careful that is adrd not ad | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2019-05-10 16:15 | shuehner | New Issue | |||||||||||||||||
2019-05-10 16:15 | shuehner | Assigned To | => platform | ||||||||||||||||
2019-05-10 16:15 | shuehner | Modules | => Core | ||||||||||||||||
2019-05-10 16:15 | shuehner | Triggers an Emergency Pack | => No | ||||||||||||||||
2019-05-10 16:16 | shuehner | Relationship added | blocks 0040841 | ||||||||||||||||
2019-05-10 16:35 | shuehner | Note Added: 0111628 | |||||||||||||||||
2019-05-10 16:36 | shuehner | Relationship added | related to 0040843 | ||||||||||||||||
2019-05-13 12:52 | alostale | Assigned To | platform => alostale | ||||||||||||||||
2019-05-13 12:53 | alostale | Review Assigned To | => caristu | ||||||||||||||||
2019-05-13 12:55 | hgbot | Checkin | |||||||||||||||||
2019-05-13 12:55 | hgbot | Note Added: 0111640 | |||||||||||||||||
2019-05-13 12:55 | hgbot | Status | new => resolved | ||||||||||||||||
2019-05-13 12:55 | hgbot | Resolution | open => fixed | ||||||||||||||||
2019-05-13 12:55 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/19bd63f27cc6971c671fb623a1e2cb56450727df [^] | ||||||||||||||||
2019-05-13 14:41 | hgbot | Checkin | |||||||||||||||||
2019-05-13 14:41 | hgbot | Note Added: 0111643 | |||||||||||||||||
2019-05-21 15:17 | hudsonbot | Checkin | |||||||||||||||||
2019-05-21 15:17 | hudsonbot | Note Added: 0112027 | |||||||||||||||||
2019-05-21 15:17 | hudsonbot | Checkin | |||||||||||||||||
2019-05-21 15:17 | hudsonbot | Note Added: 0112029 | |||||||||||||||||
2019-05-27 17:33 | caristu | Note Added: 0112180 | |||||||||||||||||
2019-05-27 17:33 | caristu | Status | resolved => closed | ||||||||||||||||
2019-05-27 17:33 | caristu | Fixed in Version | => 3.0PR19Q3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|