ViewModelBase QueryCompleted not getting called - CSLA 3.8.0 beta

ViewModelBase QueryCompleted not getting called - CSLA 3.8.0 beta

Old forum URL: forums.lhotka.net/forums/t/7806.aspx


sg11 posted on Friday, October 16, 2009

Rocky,

We have an application that uses the Composite Application Library and have recently switched to CSLA 3.8.0.

Unlike the MVVM sample provided by you, our Model never get's defined, since QueryCompleted isn't being called.
We have overloaded our Get* method as follows:

public static void GetLocation(int id, EventHandler> handler)
{
DataPortal.BeginFetch(new SingleCriteria(id),handler);
}

Fetch_DoWork throws the following exception:
Resolution of the dependency failed, type = "CambridgeSoft.COE.Inventory.Modules.LocationModule.Interfaces.ILocationEditViewModel", name = "". Exception message is: The current
build operation (build key Build Key[CambridgeSoft.COE.Inventory.Modules.LocationModule.LocationActions.LocationEditViewModel, null]) failed: Object reference not set to an instance of an object. (Strategy type BuildPlanStrategy, index 3)

Does this error mean anything to you?

Thanks
SG

Copyright (c) Marimer LLC