Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0020027 | Openbravo ERP | A. Platform | public | 2012-03-14 18:32 | 2012-04-02 06:10 | |||||||
Reporter | eduardo_Argal | |||||||||||
Assigned To | alostale | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0MP10 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
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 | 0020027: Default values for search components in parameter windows are not working | |||||||||||
Description | When defining a parameter for a process of type search, system fails in compilation if a default value is set using an sql (SQL=...) when creating java class, two setParameters are required to fill in values for the search component: xxx_ID.- the id xxxx_ID_R - the name displayed in the selector It properly sets the value for the ID parameter as result of the sql provided. It as well sets properly the value for ID_R as a select to build its identifier, but when passing the parameters to this second sql, ID is missing so compilation fails as wrong number of parameters is provided (It is missing the ID which would be the same sql provided for first parameter ID) | |||||||||||
Steps To Reproduce | 1) Go to Create orders process from Manage requisitions window 2) Modify BPartner parameter adding a defalt value as: SQL=select max(c_bpartner_id) from c_bpartner 3) compile the window and realize that an error is thrown which states that there is a missing parameter for a XSQL method (ID is missing) | |||||||||||
Proposed Solution | when wad is building java file it should pass as a parameter (for the ID_R used in the search component) the call of the select provided in the default value. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2012-03-14 18:32 | eduardo_Argal | New Issue | ||||||||||
2012-03-14 18:32 | eduardo_Argal | Assigned To | => alostale | |||||||||
2012-03-14 18:32 | eduardo_Argal | Modules | => Core | |||||||||
2012-03-14 18:32 | eduardo_Argal | OBNetwork customer | => No | |||||||||
2012-03-14 19:07 | eduardo_Argal | Relationship added | related to 0018664 | |||||||||
2012-03-14 19:07 | eduardo_Argal | Relationship replaced | blocks 0018664 | |||||||||
2012-03-15 11:14 | alostale | Note Added: 0046444 | ||||||||||
2012-03-15 11:15 | hgbot | Checkin | ||||||||||
2012-03-15 11:15 | hgbot | Note Added: 0046445 | ||||||||||
2012-03-15 11:15 | hgbot | Status | new => resolved | |||||||||
2012-03-15 11:15 | hgbot | Resolution | open => fixed | |||||||||
2012-03-15 11:15 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/bfd342589be71e609c725757cb86333883cdcef0 [^] | |||||||||
2012-03-28 12:33 | marvintm | Status | resolved => closed | |||||||||
2012-03-28 12:33 | marvintm | Fixed in Version | => 3.0MP10 | |||||||||
2012-04-02 06:10 | hudsonbot | Checkin | ||||||||||
2012-04-02 06:10 | hudsonbot | Note Added: 0047144 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|