Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0036934 | Openbravo ERP | Y. DBSourceManager | public | 2017-09-20 18:57 | 2017-09-25 12:49 | |||||||
| Reporter | malsasua | |||||||||||
| Assigned To | AugustoMauch | |||||||||||
| Priority | immediate | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | 3.0PR17Q3.1 | Fixed in Version | 3.0PR17Q3.1 | |||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | alostale | |||||||||||
| OBNetwork customer | No | |||||||||||
| Web browser | ||||||||||||
| Modules | Core | |||||||||||
| Support ticket | ||||||||||||
| Regression level | Production - Confirmed Stable | |||||||||||
| Regression date | 2017-01-11 | |||||||||||
| Regression introduced in release | 3.0PR17Q2 | |||||||||||
| Regression introduced by commit | http://code.openbravo.com/erp/devel/pi/rev/47c768943f70d1c674cb0a2701faf29edde3da84 [^] | |||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0036934: It is not possible to change the size of columns if the column is used in a view | |||||||||||
| Description | when a column is used in a view, and the column size is changed, the update.database process returns one error: [java] 113277 WARN - SQL Command failed with: ERROR: cannot alter type of a column used by a view or rule [java] Detail: rule _RETURN on view c_invoice_v2 depends on column "poreference" [java] 113285 WARN - -- END [java] ALTER TABLE C_INVOICE ALTER COLUMN POREFERENCE TYPE VARCHAR(255) | |||||||||||
| Steps To Reproduce | . in xml file (src-db/database/model/tables/C_INVOICE.xml), change the size of column "POREFERENCE" to 255 in c_invoice table . execute: ant update.database | |||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2017-09-25 09:41 | AugustoMauch | Type | defect => backport | |||||||||
| 2017-09-25 09:41 | AugustoMauch | Target Version | => 3.0PR17Q3.2 | |||||||||
| 2017-09-25 10:41 | AugustoMauch | Target Version | 3.0PR17Q3.2 => 3.0PR17Q3.1 | |||||||||
| 2017-09-25 10:57 | hgbot | Checkin | ||||||||||
| 2017-09-25 10:57 | hgbot | Note Added: 0099519 | ||||||||||
| 2017-09-25 10:57 | hgbot | Status | scheduled => resolved | |||||||||
| 2017-09-25 10:57 | hgbot | Resolution | open => fixed | |||||||||
| 2017-09-25 10:57 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/dbsm-main/rev/7cdd957ca8790f1c9bb971e66c40b9f38a842b7d [^] => http://code.openbravo.com/erp/backports/3.0PR17Q3.1/rev/8aaf059025dc59ec7e1280eeb52ce775092aed4c [^] | |||||||||
| 2017-09-25 12:49 | alostale | Note Added: 0099535 | ||||||||||
| 2017-09-25 12:49 | alostale | Status | resolved => closed | |||||||||
| 2017-09-25 12:49 | alostale | Fixed in Version | => 3.0PR17Q3.1 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||