To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=86963 Issue #|86963 Summary|Extension Manager does not handle disposed packages co |rrectly Component|framework Version|1.0.0 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|dv Reported by|jl
------- Additional comments from [EMAIL PROTECTED] Wed Mar 12 15:31:56 +0000 2008 ------- The original problem was issue 86917. I put a workaround in ExtensionBox_Impl::FindEntryPos (dp_gui_dialog2.cxx). The actual problem is this: Entry_Impl must register itself as event listener with the XPackages. When the XPackage is disposed then Entry_Impl is notified and should set a flag. Then ExtensionBox_Impl::FindEntryPos should be modified, so that this Entry_Impl is not used anymore. Currently one could modify the case when the entry comparison returns COMPARE_EQUAL. Then the "disposed flag" should be checked. If it is checked then Entry_Impl.m_bChecked must be set to false and the funtion must return false. This will cause ExtensionBox_Impl::addEntry to add a new Entry_Impl for the same Extension and the later call to ExtensionBox_Impl::checkEntries() will delete the Entry_Impl with the disposed XPackage. Entry_Impl should inherit one of our helper classes to implement the XEventListener. If it then inherits OWeakHelper then it is has an reference count. The member ExtensionBox_Impl::m_vEntries can than be changed to contain uno references instead of boost shared pointer. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]