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.
Currently IDE allows to have two variables with the same name in 1 scope. Such a situation may appear after variable creation or rename. Steps to reproduce: - create a new Sync process - open it in designer - create new variable named inputVar IDE allows this while there is already a variable with such name in the process
There are two issues: 1) OM issue. OM should implement canPaste method in the correct way. In this case OM should check existance of variable with the same name in container. It is implemented now. 2) Clients of OM should use some logic for determening possibility to add child in parent. This logic could use canPaste method. So now this is responsibility of client.
*** This issue has been marked as a duplicate of 78154 ***
Verified in build from 060723