Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0023227 | Openbravo ERP | A. Platform | public | 2013-03-05 10:33 | 2013-03-06 19:42 |
|
Reporter | AugustoMauch | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP21 | Fixed in Version | 3.0MP21 | |
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. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
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 | |
Notes |
|
(0057036)
|
hgbot
|
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
|
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
|
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
|
2013-03-05 13:10
|
|
Code reviewed and verified in pi changeset a60624fb0f40. |
|
|
|
|
|
|
|