BusinessListBase.DataPortal_Create missing handler call in Silverlight

BusinessListBase.DataPortal_Create missing handler call in Silverlight

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


Mudbugz posted on Friday, December 17, 2010

In the Csla.Silverlight project, BusinessBase has:

public virtual void DataPortal_Create(Csla.DataPortalClient.LocalProxy<T>.CompletedHandler handler)
{
  BusinessRules.CheckRules();
  handler((T)this, null);
}

BusinessListBase has:

public virtual void DataPortal_Create(Csla.DataPortalClient.LocalProxy<T>.CompletedHandler handler)
{ }

Notice the missing CompletedHandler call.  The new list is not returned unless I override DataPortal_Create in every list.

version: csla 4.0.1-10008282.

RockfordLhotka replied on Friday, December 17, 2010

Sounds like a bug - I'll add it to the list for 4.1. Thanks!

Copyright (c) Marimer LLC