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.
RC1 build #200207232340 of NetBeans 3.4 Windows 2000 with JDK 1.4.1 RC build #17 Description: ============ Basic switch of "PVCS|Get" command allowing to lock a file does not work. Although there is a workaround, it is not easy. This is serious regression in functionality and we can't release RC with this bug. Steps to reproduce: =================== 1. Mount PVCS filesystem and add new [Local]file to archive. 2. Invoke "PVCS|Get" on that [Current] file. 3. Check both checkboxes and push "OK" button. 4. The file won't be locked after status refreshing is over.
Starting to work on it. This bug became visible after fix of issue #25488.
The bug is fixed in the main trunk. Description of the problem: The DO_CHECKOUT_BY_DATE checkbox component defined in the input descriptor have "false" default value. This value was wrongly set to the DO_CHECKOUT_BY_DATE variable, where non-empty values are interpreted as TRUE and empty values as FALSE. This conversion is correctly performed when the component is displayed, but not if it's value is propagated without showing this component. Diff: http://vcscore.netbeans.org/source/browse/vcscore/src/org/netbeans/modules/vcscore/util/VariableInputDescriptor.java.diff?r1=1.10&r2=1.11
The fix seems safe to me.
Thanks for the review. The fix was merged into release34 branch.
I have just verified the fix in development build #200207250200 of NetBeans 4.0.
Resolved for 3.4.x or earlier, no new info since then -> closing.