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.
Summary: | uml plugin not enable after installed from plugins manager until ide restart | ||
---|---|---|---|
Product: | platform | Reporter: | Peter Lam <petersl> |
Component: | Autoupdate | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | juhrik, lhasik |
Priority: | P3 | Keywords: | REGRESSION |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Peter Lam
2008-04-12 01:02:25 UTC
It's reproducible in NB6.1RC1 build. I'm investigating what's wrong... I have found the causation of this problem. UML plugin creates new cluster for itself and reads this cluster correctly for first time. Uninstall of UML _empties_ (but _not removes_) that cluster and module system doesn't uml cluster any more. For second time installation, Plugin Manager uses uml directory and don't need to create new one cluster. But module system will read modules from existing cluster unless IDE restart. It's regression in NB6.1 caused by handling .lastModified files. Hint for fix: either remove whole cluster if no modules left there or notify module system about new cluster every time, not only if new one cluster comes up. Hint for workaround: offer IDE restart if module system doesn't load being installed plugin. http://hg.netbeans.org/core-main/rev/299c414c0af5 QA guys, do you think it could be a patch1 candidate? Have in mind it will include update of updater.jar what we haven't done ever before. Maybe now's the time :-) not in patch1 maybe in patch2. Let's discuss it next week Integrated into 'main-golden', available in NB_Trunk_Production #158 build Changeset: http://hg.netbeans.org/main/rev/299c414c0af5 User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #132673: uml plugin not enable after installed from plugins manager until ide restart I think it is not a candidate for a patch - the scenario is not very common (users probably uninstall and reinstall a plugin only seldom). Correct. This is not a common scenario. |