Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0035458 | Openbravo ERP | A. Platform | public | 2017-03-09 08:33 | 2017-03-10 14:28 | |||||||||||||||||||||
Reporter | vmromanos | |||||||||||||||||||||||||
Assigned To | platform | |||||||||||||||||||||||||
Priority | urgent | Severity | minor | Reproducibility | always | |||||||||||||||||||||
Status | closed | Resolution | no change required | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | |||||||||||||||||||||||||
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 | 0035458: com.openbravo.test.integration.erp.modules.ci.Upgrade_FS fails with function index | |||||||||||||||||||||||||
Description | I have defined a multi-column index on the FIN_PAYMENT table which includes a function and works fine in both Oracle and Postgres: <index name="FIN_PAYMENT_BPARTNER_CREDIT" unique="false"> <index-column name="C_BPARTNER_ID"/> <index-column name="functionBasedColumn" functionExpression="OBEQUALS(GENERATED_CREDIT,USED_CREDIT)"/> </index> When I send the patch to try, the job try-upgrade-pgsql fails with the following error (attached screenshot): org.apache.ddlutils.model.ModelException: The index FIN_PAYMENT_BPARTNER_CREDIT in table FIN_PAYMENT references the undefined column functionBasedColumn https://ci.openbravo.com//job/try-upgrade-pgsql/5297/ [^] | |||||||||||||||||||||||||
Steps To Reproduce | Apply the patch attached in 0033581 Run ant smartbuild -Dlocal=no. Verify the index is properly added to the database Set core as indevelopment. Export database. Verify the index is properly exported. Send the changeset to try, or run Upgrade_FS test locally. The error in the attached screenshot is raised. | |||||||||||||||||||||||||
Proposed Solution | The index works fine in Oracle and PostgreSQL. It is properly applied and the export database works fine. It seems the problem is only in that test, so probably only necessary to fix it. | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | upgrade_FS.png (54,211) 2017-03-09 08:33 https://issues.openbravo.com/file_download.php?file_id=10543&type=bug | |||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2017-03-09 08:33 | vmromanos | New Issue | ||||||||||||||||||||||||
2017-03-09 08:33 | vmromanos | Assigned To | => platform | |||||||||||||||||||||||
2017-03-09 08:33 | vmromanos | File Added: upgrade_FS.png | ||||||||||||||||||||||||
2017-03-09 08:33 | vmromanos | Modules | => Core | |||||||||||||||||||||||
2017-03-09 08:33 | vmromanos | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2017-03-09 08:34 | vmromanos | Relationship added | blocks 0033581 | |||||||||||||||||||||||
2017-03-09 08:43 | vmromanos | Description Updated | bug_revision_view_page.php?rev_id=14752#r14752 | |||||||||||||||||||||||
2017-03-09 08:43 | vmromanos | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=14754#r14754 | |||||||||||||||||||||||
2017-03-09 11:05 | alostale | Note Added: 0094865 | ||||||||||||||||||||||||
2017-03-09 11:06 | alostale | Priority | normal => urgent | |||||||||||||||||||||||
2017-03-09 11:06 | alostale | Severity | major => minor | |||||||||||||||||||||||
2017-03-09 11:06 | alostale | Status | new => acknowledged | |||||||||||||||||||||||
2017-03-10 09:39 | alostale | Relationship added | related to 0030179 | |||||||||||||||||||||||
2017-03-10 14:22 | alostale | Relationship added | related to 0035481 | |||||||||||||||||||||||
2017-03-10 14:24 | alostale | Status | acknowledged => scheduled | |||||||||||||||||||||||
2017-03-10 14:28 | alostale | Note Added: 0094920 | ||||||||||||||||||||||||
2017-03-10 14:28 | alostale | Status | scheduled => closed | |||||||||||||||||||||||
2017-03-10 14:28 | alostale | Resolution | open => no change required |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|