View does not properly dispose


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 7:03 PM by MichaelPuleio
Fixed in SCSF April 2008


wrote Mar 24, 2008 at 6:48 PM

wrote Mar 24, 2008 at 7:18 PM

wrote Mar 25, 2008 at 7:52 AM

wrote Mar 25, 2008 at 11:51 AM

wrote Mar 25, 2008 at 11:01 PM

wrote Mar 26, 2008 at 7:24 PM

wrote Apr 28, 2008 at 7:03 PM

wrote May 1, 2008 at 11:38 PM

wrote Feb 22, 2013 at 12:30 AM

wrote May 16, 2013 at 12:04 PM