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.
steps to reproduce: 1. create package with scoped class diagram 2. add class to the diagram 3. add attribute 'private bublic myAttr' to the class (with edit control) 'bublic' datatype is created in default package (before regression in the same as class and diagram package) 4. I can't drag 'public' from default package to created package.
keyword migrated
related enhancement issue 85705
it's not a regression to JSE8, but still may be stopper
Since Buzz, a datatype has been created under the root Model node, so this is the expected behavior. An Enhancement has been filed to have the data type created under the package where it belongs to (85705). Closing the issue as LATER
Needs to be verified in NB 6.0.
reproducible in nb6.0
Targeted in the drawing area redesign.
Re-categorize to "general", the root cause is not related to drawing library.
This is not even an issue AFAIK. If you specify that an attribute is of type "Foo", and Fool is currently not a known type from a known package, then the only assumption that can be made is that it has no package name. To add to this argument, if you create the attribute and specify it as type mypack.Foo, then it will be created (if not already existing) in the mypack package. So specifying no package would indicate the default package. In other words, try adding an attribute to the Class element and add it as: private pack::Foo myParam You will find the Foo datatype in the pack package. And, I was able to drag the datatype from the default package to desired package