Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0044901 | Openbravo ERP | Y. DBSourceManager | public | 2020-08-26 14:41 | 2022-11-03 12:42 | |||||||||||||||||||||
Reporter | shuehner | |||||||||||||||||||||||||
Assigned To | Triage Platform Base | |||||||||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | 3.0PR18Q3 | |||||||||||||||||||||||||
Target Version | Fixed in Version | PR23Q1 | ||||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||||
Review Assigned To | ||||||||||||||||||||||||||
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 | 0044901: PostgreSQL fails applying changes to columns used in views (during install.source) | |||||||||||||||||||||||||
Description | Running install.source having a template increasing a column length while at the same time having a view using that column fails on PostgreSQL (unknown if also oracle). ORA fails applying changes to columns used in functional indexes Example: Loading config script for module from path <hidden>/modules/org.openbravo.openbravoatopenbravo.template/src-db/database/configScript.xml SQL Command failed with: ERROR: cannot alter type of a column used by a view or rule Detail: rule _RETURN on view obzdint_partners_v depends on column "name" -- END ALTER TABLE C_BPARTNER ALTER COLUMN NAME TYPE VARCHAR(150) | |||||||||||||||||||||||||
Steps To Reproduce | Create configScript modifying length of name column while having a view created using that column. Example discovered in current ob@ob code (for this and several other columns). | |||||||||||||||||||||||||
Proposed Solution | Probably idea of 44892 which is part of fixing 44612 will fix this problem 'for free' (for the install.source part) | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2020-08-26 14:41 | shuehner | New Issue | ||||||||||||||||||||||||
2020-08-26 14:41 | shuehner | Assigned To | => platform | |||||||||||||||||||||||
2020-08-26 14:41 | shuehner | Modules | => Core | |||||||||||||||||||||||
2020-08-26 14:41 | shuehner | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2020-08-26 14:41 | shuehner | Relationship added | related to 0044612 | |||||||||||||||||||||||
2020-08-26 14:41 | shuehner | Relationship added | related to 0044892 | |||||||||||||||||||||||
2022-02-01 07:24 | alostale | Assigned To | platform => Triage Platform Base | |||||||||||||||||||||||
2022-07-29 13:17 | shuehner | Note Added: 0139720 | ||||||||||||||||||||||||
2022-11-03 12:40 | hgbot | Note Added: 0142872 | ||||||||||||||||||||||||
2022-11-03 12:42 | alostale | Note Added: 0142878 | ||||||||||||||||||||||||
2022-11-03 12:42 | alostale | Status | new => closed | |||||||||||||||||||||||
2022-11-03 12:42 | alostale | Resolution | open => fixed | |||||||||||||||||||||||
2022-11-03 12:42 | alostale | Fixed in Version | => PR23Q1 | |||||||||||||||||||||||
2022-11-08 17:41 | aferraz | Relationship added | related to 0050243 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|