Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0044612 | Openbravo ERP | Y. DBSourceManager | public | 2020-07-15 07:37 | 2024-11-06 11:07 |
|
Reporter | guillermogil | |
Assigned To | Triage Platform Base | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | out of date | |
Platform | | OS | 5 | OS Version | |
Product Version | 3.0PR20Q1.2 | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
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 | 0044612: ORA fails applying changes to columns used in functional indexes |
Description | When updating an Oracle database having changes in a column that participates in a functional index, Oracle fails and the change is not applied.
This can occur by either a config script providing those changes or by a regular DB change.
In case a template modifies an indexed column oracle fails on compilation:
SQL Command failed with: ORA-30556: either functional or bitmap join index is defined on the column to be modified
|
Steps To Reproduce | Case 1: regular change
1.1. modify src-db/database/model/tables/C_BPARTNER.xml to set NAME length to 120
1.2. run update.database
ERROR: ORA-30556: functional index is defined on the column to be modified
Case 2: config scrip
2.1 Modify on a template the column name of C_BPartner:
<columnSizeChange tablename="C_BPARTNER" columnname="NAME" newSize="120" oldSize="60"/>
2.2. run update.database
ERROR: ORA-30556
|
Proposed Solution | Oracle does not support modifying columns if the participate in functional indexes, we'll recreate the whole table instead. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0044892 | | closed | alostale | On install.source config scripts are applied in two steps | related to | feature request | 0044896 | | new | Triage Platform Base | Add check for dangerous operations in update.database task | related to | defect | 0044901 | | closed | Triage Platform Base | PostgreSQL fails applying changes to columns used in views (during install.source) |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-07-15 07:37 | guillermogil | New Issue | |
2020-07-15 07:37 | guillermogil | Assigned To | => platform |
2020-07-15 07:37 | guillermogil | Modules | => Core |
2020-07-15 07:37 | guillermogil | Triggers an Emergency Pack | => No |
2020-07-15 07:40 | guillermogil | version | => 3.0PR20Q1.2 |
2020-07-17 16:29 | shuehner | Issue Monitored: shuehner | |
2020-08-07 09:24 | hgbot | Note Added: 0121898 | |
2020-08-07 12:18 | alostale | Summary | In case a template modifies an indexed column oracle fails => ORA fails applying changes to columns used in functional indexes |
2020-08-07 12:18 | alostale | Description Updated | bug_revision_view_page.php?rev_id=21461#r21461 |
2020-08-07 12:18 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=21463#r21463 |
2020-08-07 12:18 | alostale | Proposed Solution updated | |
2020-08-17 12:32 | AugustoMauch | Assigned To | platform => AugustoMauch |
2020-08-17 12:34 | AugustoMauch | Assigned To | AugustoMauch => alostale |
2020-08-17 12:34 | AugustoMauch | Review Assigned To | => AugustoMauch |
2020-08-26 10:28 | caristu | Relationship added | related to 0044892 |
2020-08-26 11:43 | caristu | Relationship added | related to 0044896 |
2020-08-26 14:41 | shuehner | Relationship added | related to 0044901 |
2022-02-01 07:24 | alostale | Assigned To | alostale => Triage Platform Base |
2022-11-03 12:40 | hgbot | Note Added: 0142871 | |
2022-11-03 12:47 | alostale | Note Added: 0142881 | |
2024-11-05 16:23 | alostale | Note Added: 0171442 | |
2024-11-05 16:23 | alostale | Status | new => closed |
2024-11-05 16:23 | alostale | Resolution | open => out of date |
2024-11-06 11:07 | hgbot | Note Added: 0171507 | |