Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023227
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2013-03-05 10:332013-03-06 19:42
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version3.0MP21
StatusclosedFix in branchFixed in SCM revisiona60624fb0f40
ProjectionnoneETAnoneTarget Version3.0MP21
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toshankarb
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0023227: Not possible to define a default value for boolean parameters in Parameter Windows

DescriptionWhen 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 ReproduceCreate 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (reporter)
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 (reporter)
2013-03-05 13:10

Code reviewed and verified in pi changeset a60624fb0f40.
(0057111)
hudsonbot (developer)
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 (developer)
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

- 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 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
Powered by Mantis Bugtracker