3

Closed

Post - PageFlowActivity.OnSetData adds instead of setting

description

If you re-set the same value in one the PageFlowActivity.UserDataStore entries, an exception is thrown.
 
Instead of:
 
private void OnSetData(SetDataEventArgs setDataEventArgs)
{
UserDataStore.Add(setDataEventArgs.Key, setDataEventArgs.Value);
}
 
It should be:
 
private void OnSetData(SetDataEventArgs setDataEventArgs)
{
UserDataStore[setDataEventArgs.Key] = setDataEventArgs.Value;
}
 
Why? Check out:
http://www.codeplex.com/Project/DisplayThread.aspx?ProjectName=websf&ForumId=1269&ThreadId=2511
Closed Jan 17, 2007 at 11:48 PM by blainew

comments