Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0035297 | Openbravo ERP | Y. DBSourceManager | public | 2017-02-17 12:13 | 2017-03-15 20:19 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR17Q2 | |
Merge Request Status | |
Review Assigned To | caristu |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0035297: PL functions with optional constant params are not correctly standardized |
Description | If there is a PL function with an optional parameter that is a constant (ie. 'Y') and another one invokes it without sending this optional parameter, second function is no correctly standardized making it not possible to install it later in oracle. |
Steps To Reproduce | 1. apply attached patch on pi (rev aff21cc5e768)
2. update.database
3. export.database
-> check M_RESERVE_STOCK_AUTO function has differences and it shouldn't |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | defect | 0035296 | | closed | alostale | pl functions with out and defaults params can be slow to standardize |
|
Attached Files | m_get_stock_param2.diff (974) 2017-02-17 12:15 https://issues.openbravo.com/file_download.php?file_id=10461&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2017-02-17 12:13 | alostale | New Issue | |
2017-02-17 12:13 | alostale | Assigned To | => platform |
2017-02-17 12:13 | alostale | OBNetwork customer | => No |
2017-02-17 12:13 | alostale | Modules | => Core |
2017-02-17 12:13 | alostale | Triggers an Emergency Pack | => No |
2017-02-17 12:14 | alostale | Relationship added | depends on 0035296 |
2017-02-17 12:14 | alostale | Assigned To | platform => alostale |
2017-02-17 12:14 | alostale | Status | new => acknowledged |
2017-02-17 12:15 | alostale | File Added: m_get_stock_param2.diff | |
2017-02-17 12:15 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=14630#r14630 |
2017-02-20 14:49 | hgbot | Checkin | |
2017-02-20 14:49 | hgbot | Note Added: 0094472 | |
2017-02-20 14:49 | hgbot | Status | acknowledged => resolved |
2017-02-20 14:49 | hgbot | Resolution | open => fixed |
2017-02-20 14:49 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/490d93599594dac190b9711b1a43054ad51cf025 [^] |
2017-02-20 14:49 | hgbot | Checkin | |
2017-02-20 14:49 | hgbot | Note Added: 0094474 | |
2017-02-20 14:49 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/490d93599594dac190b9711b1a43054ad51cf025 [^] => http://code.openbravo.com/erp/devel/dbsm-main/rev/c1c9fcb3f14f89b7430fca2867d11758ee47b164 [^] |
2017-02-20 14:50 | alostale | Review Assigned To | => caristu |
2017-02-28 08:55 | caristu | Note Added: 0094653 | |
2017-02-28 08:55 | caristu | Status | resolved => closed |
2017-02-28 08:55 | caristu | Fixed in Version | => 3.0PR17Q2 |
2017-03-15 20:19 | hudsonbot | Checkin | |
2017-03-15 20:19 | hudsonbot | Note Added: 0095196 | |
Notes |
|
(0094472)
|
hgbot
|
2017-02-20 14:49
|
|
Repository: erp/devel/pi
Changeset: 490d93599594dac190b9711b1a43054ad51cf025
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Feb 17 12:34:43 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/490d93599594dac190b9711b1a43054ad51cf025 [^]
fixed bug 35284, fixed bug 35297, fixed bug 35296
dbsourcemanager.jar including fixes for these 3 issues.
---
M src-db/database/lib/dbsourcemanager.jar
---
|
|
|
(0094474)
|
hgbot
|
2017-02-20 14:49
|
|
Repository: erp/devel/dbsm-main
Changeset: c1c9fcb3f14f89b7430fca2867d11758ee47b164
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Feb 17 12:28:59 2017 +0100
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/c1c9fcb3f14f89b7430fca2867d11758ee47b164 [^]
fixed bug 35297: PL with optional constant params is not correctly standardized
The standardization tranforms slect in a function call, the number of different
expressions should be function of the number of optional paramters, but it was
considering optional paramters only in case the default value was either null
or a function, but not a constant.
---
M src/org/apache/ddlutils/platform/postgresql/PostgrePLSQLStandarization.java
---
|
|
|
|
Reviewed + tested in pi@1e7495658970 |
|
|
|
|