Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0031149 | Openbravo ERP | Y. DBSourceManager | public | 2015-10-14 11:15 | 2022-02-01 08:05 | |||||||
Reporter | mfuertes | |||||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | acknowledged | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | 3.0PR15Q1.5 | |||||||||||
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 | 0031149: "minus" word in PL function shows warning when exporting db | |||||||||||
Description | When columns have names like "yf_minus_one_point_eight" or "yf_minus1_point_five" it gets converted to different names containing [EXCEPT][minus+] and so on. So export.database its taking this in-between-quotes text as SQL keywords and it shouldn't. | |||||||||||
Steps To Reproduce | - Create a Module and a db prefix. - Add a function to that module, in my case: CREATE OR REPLACE FUNCTION HK_TEST(i integer) RETURNS integer AS $$ BEGIN select 1 as minus_ten from c_order limit 1; END; $$ LANGUAGE plpgsql; - Export database and the result should be something like: Found differences in HK_TEST ******************************************************** BEGIN select 1 as [EXCEPT][minus+]_ten from c_order limit 1;[ +]END[ ] ******************************************************** (see atachments for full export.log and client export images) Aditionally, client used this query inside a function: select ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, sapm_trip_detail_id, container_no, seal_no, type_no, mix, loading_date, c_bpartner_id, destination, status, yf_60, yf_40_60, yf_20_40, yf_10, yf_3_point_4, yf_1_point_8, yf_minus_one_point_eight, yf_minus1_point_five, sk_3_point_4, sk_1_point_8, skyfin_negative_1_point_8, sk_minus_1_point_5, be_60, be_40_60, be_20_40, be_10_20, be_3_point_5, be_1_point_8, be_ngvt_1_point_8, be_minus_1_point_5, ger, mel, rej, total, booking_no, container_size from sapm_trip_detail_line where sapm_trip_detail_id =v_record_id and c_bpartner_id=Cur_Parameter.c_bpartner_id and destination=Cur_Parameter.destination and booking_no=Cur_Parameter.booking_no | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | export.log (3,394) 2015-10-27 15:15 https://issues.openbravo.com/file_download.php?file_id=8650&type=bug ScreenShot2015-08-19at11.10.06am.png (339,367) 2015-10-27 15:16 https://issues.openbravo.com/file_download.php?file_id=8651&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2015-10-14 11:15 | mfuertes | New Issue | ||||||||||
2015-10-14 11:15 | mfuertes | Assigned To | => platform | |||||||||
2015-10-14 11:15 | mfuertes | Modules | => Core | |||||||||
2015-10-14 11:15 | mfuertes | Triggers an Emergency Pack | => No | |||||||||
2015-10-14 11:16 | mfuertes | Description Updated | bug_revision_view_page.php?rev_id=9687#r9687 | |||||||||
2015-10-14 12:02 | alostale | Note Added: 0081003 | ||||||||||
2015-10-14 12:02 | alostale | Assigned To | platform => mfuertes | |||||||||
2015-10-14 12:02 | alostale | Status | new => feedback | |||||||||
2015-10-14 12:02 | alostale | Note Edited: 0081003 | bug_revision_view_page.php?bugnote_id=0081003#r9693 | |||||||||
2015-10-14 12:03 | alostale | Note Edited: 0081003 | bug_revision_view_page.php?bugnote_id=0081003#r9694 | |||||||||
2015-10-27 15:15 | mfuertes | Assigned To | mfuertes => platform | |||||||||
2015-10-27 15:15 | mfuertes | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=9929#r9929 | |||||||||
2015-10-27 15:15 | mfuertes | File Added: export.log | ||||||||||
2015-10-27 15:16 | mfuertes | File Added: ScreenShot2015-08-19at11.10.06am.png | ||||||||||
2015-10-27 15:18 | mfuertes | Status | feedback => new | |||||||||
2015-10-27 15:18 | mfuertes | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=9930#r9930 | |||||||||
2015-10-27 15:24 | alostale | Status | new => acknowledged | |||||||||
2015-11-10 16:32 | alostale | Priority | high => normal | |||||||||
2015-11-10 16:32 | alostale | Summary | "MINUS" keyword in colname => "minus" word in PL function shows warning when exporting db | |||||||||
2015-11-10 16:32 | alostale | Relationship added | related to 0029492 | |||||||||
2022-02-01 08:05 | alostale | Assigned To | platform => Triage Platform Base |
Notes | |||||
|
|||||
|
|