This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
11/18 dev build -when there is a Object with a Boolean field and user generates a MC2WA with Databnding structures then following code is generated public void setAsString(String dataItemName, String value) throws DataBindingException { if( "myBoolean".equals( dataItemName )) { ! myBoolean = Boolean.parseBoolean( value ); return; }
to reproduce - generate MC2WA for methods in http://www.netbeans.org/nonav/issues/showattachment.cgi/53105/WebAppWSCustomTypes.zip increasing priority, wrong/uncompilable code generated
seems to be fine with the provided jars for testing public void setAsString(String dataItemName, String value) throws DataBindingException { if( "myBoolean".equals( dataItemName )) { myBoolean = "true".equals( value ); return; }
Fixed: Checking in Utils.java; /cvs/mobility/end2end/src/org/netbeans/modules/mobility/e2e/mapping/Utils.java,v <-- Utils.java new revision: 1.11; previous revision: 1.10 done
verified in trunk build #4671 from deadlock.netbeans.org Product Version: NetBeans IDE Dev (Build 20071203113754)
krajeswaran, are you sure that this issue was fixed for 6.0.1? IMO, it wasn't integrated into release6.0 branch. I'm removing the status whiteboard
Adding the status whiteboard back. (The issue is not fixed for 6.0. The status whiteboard only marks it as a candidate for 6.0.1 patch1).
The fix has been ported into the release601_fixes branch. Checking in Utils.java; /cvs/mobility/end2end/src/org/netbeans/modules/mobility/e2e/mapping/Attic/Utils.java,v <-- Utils.java new revision: 1.10.8.1; previous revision: 1.10 done