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