7

Closed

View does not properly dispose

description

The View is not removed from WorkItems during the Dispose() process - as a result subsequent request for the view will result in an empty (disposed) view being displayed. This bug has not been readily apparent because there is another bug in the WorkItemController.cs ShowViewInWorkspace() method in which a supplied id is not utililized, e.g. view = WorkItem.SmartParts.AddNew<TView>(); as a result new views will always be created masking the issue.
 
Updates will also be required for the "Foundation Module" recipes for the view's designer.cs code if a View/Presenter is selected - the Dispose() method of the view will not dispose of the presenter (only components is disposed).
Closed Apr 28, 2008 at 6:03 PM by MichaelPuleio
Fixed in SCSF April 2008

comments

wrote Mar 24, 2008 at 5:48 PM

wrote Mar 24, 2008 at 6:18 PM

wrote Mar 25, 2008 at 6:52 AM

wrote Mar 25, 2008 at 10:51 AM

wrote Mar 25, 2008 at 10:01 PM

wrote Mar 26, 2008 at 6:24 PM

wrote Apr 28, 2008 at 6:03 PM

wrote May 1, 2008 at 10:38 PM

wrote Feb 21, 2013 at 11:30 PM

wrote May 16, 2013 at 11:04 AM