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.

Bug 26771 - MDR Explorer doesn't show all uncontained objects
Summary: MDR Explorer doesn't show all uncontained objects
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-24 21:08 UTC by _ briansmith
Modified: 2010-09-23 09:13 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Patch to search through ModelElement.refAllOfType() (1.47 KB, patch)
2002-08-24 21:10 UTC, _ briansmith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ briansmith 2002-08-24 21:08:43 UTC
While I was correcting the XMI diffs for CWM 1.0,
UML 1.3, and UML 1.4, I noticed that MDR explorer
assumes that all uncontained objects in a MOF
ModelPackage extent are instances of MofPackage.
However, since MDR doesn't enforce the MOF
constraint that every uncontained object must be a
package, there are cases where non-package objects
will be uncontained. 

For example, the symptoms of issue 25998 are not
noticable in the MDR explorer in the "Model" view.

Here is a patch that looks through all
ModelElement instances to find the uncontained
ones. However, this is noticably slower on large
metamodels. See issue 26443 for a possible solution.

With this patch, issues like #25998 become easy to
diagnose.
Comment 1 _ briansmith 2002-08-24 21:10:01 UTC
Created attachment 7207 [details]
Patch to search through ModelElement.refAllOfType()
Comment 2 David Strupl 2010-09-23 09:13:57 UTC
I am closing all reports in category Java/Unsupported as wontfix. These should
be dead issues --- if the reported cases are against some live part of the
NetBeans IDE please reopen and we can discuss to which category they belong.