Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0023227 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2013-03-05 10:33 | 2013-03-06 19:42 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP21 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a60624fb0f40 | ||||
Projection | none | ETA | none | Target Version | 3.0MP21 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | shankarb | |||||||
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 | 0023227: Not possible to define a default value for boolean parameters in Parameter Windows | |||||||
Description | When a default value ('Y', 'N') is defined for a boolean parameter in a parameter window, the parameter is always initialized as checked, and the display logic does not work as it should. | |||||||
Steps To Reproduce | Create a parameter window with two parameters: - boolean parameter, defaulted to 'Y' - string parameter, display logic = @booleanParameter@='Y' See that even though the boolean parameter is initialized checked, the string parameter is not shown. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0057036) hgbot (developer) 2013-03-05 10:46 |
Repository: erp/devel/pi Changeset: 8b09db1c33be55c862c68e45b3533bea7fe15daa Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Tue Mar 05 10:44:18 2013 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/8b09db1c33be55c862c68e45b3533bea7fe15daa [^] Fixes issue 23227: Enables defining a default value for booleans in PW windows When 'N' or 'Y' is defined as a default value for a parameter in PW windows, an actual boolean (false, true) is used for the parameter default value. --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/process/DefaultsProcessActionHandler.java --- |
(0057043) shankarb (viewer) 2013-03-05 12:48 |
The solution does not work with numeric columns. Tested with the minQty field in the 'Example Param Process' in Client Application Examples module. |
(0057044) hgbot (developer) 2013-03-05 12:53 |
Repository: erp/devel/pi Changeset: a60624fb0f407857a7c1ce906d2ee90645b3e3f9 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Tue Mar 05 12:53:11 2013 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/a60624fb0f407857a7c1ce906d2ee90645b3e3f9 [^] Fixes issue 23227: fix is only applied to boolean columns The previous fix did not work when the parameter window had numeric columuns. The fix has been changed so that it is only applied to boolean columns. --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/process/DefaultsProcessActionHandler.java --- |
(0057045) shankarb (viewer) 2013-03-05 13:10 |
Code reviewed and verified in pi changeset a60624fb0f40. |
(0057111) hudsonbot (viewer) 2013-03-06 19:42 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/95e36a1b246f [^] Maturity status: Test |
(0057112) hudsonbot (viewer) 2013-03-06 19:42 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/95e36a1b246f [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2013-03-05 10:33 | AugustoMauch | New Issue | |
2013-03-05 10:33 | AugustoMauch | Assigned To | => AugustoMauch |
2013-03-05 10:33 | AugustoMauch | Modules | => Core |
2013-03-05 10:33 | AugustoMauch | OBNetwork customer | => No |
2013-03-05 10:33 | AugustoMauch | Triggers an Emergency Pack | => No |
2013-03-05 10:45 | AugustoMauch | Issue Monitored: shankarb | |
2013-03-05 10:45 | AugustoMauch | Review Assigned To | => shankarb |
2013-03-05 10:46 | hgbot | Checkin | |
2013-03-05 10:46 | hgbot | Note Added: 0057036 | |
2013-03-05 10:46 | hgbot | Status | new => resolved |
2013-03-05 10:46 | hgbot | Resolution | open => fixed |
2013-03-05 10:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8b09db1c33be55c862c68e45b3533bea7fe15daa [^] |
2013-03-05 12:48 | shankarb | Note Added: 0057043 | |
2013-03-05 12:48 | shankarb | Status | resolved => new |
2013-03-05 12:48 | shankarb | Resolution | fixed => open |
2013-03-05 12:53 | hgbot | Checkin | |
2013-03-05 12:53 | hgbot | Note Added: 0057044 | |
2013-03-05 12:53 | hgbot | Status | new => resolved |
2013-03-05 12:53 | hgbot | Resolution | open => fixed |
2013-03-05 12:53 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/8b09db1c33be55c862c68e45b3533bea7fe15daa [^] => http://code.openbravo.com/erp/devel/pi/rev/a60624fb0f407857a7c1ce906d2ee90645b3e3f9 [^] |
2013-03-05 13:10 | shankarb | Note Added: 0057045 | |
2013-03-05 13:10 | shankarb | Status | resolved => closed |
2013-03-05 13:10 | shankarb | Fixed in Version | => 3.0MP21 |
2013-03-06 19:42 | hudsonbot | Checkin | |
2013-03-06 19:42 | hudsonbot | Note Added: 0057111 | |
2013-03-06 19:42 | hudsonbot | Checkin | |
2013-03-06 19:42 | hudsonbot | Note Added: 0057112 |
Copyright © 2000 - 2009 MantisBT Group |