PageFlowActivity.OnSetData adds instead of setting

Topics: Web Client Software Factory
Nov 28, 2006 at 9:51 AM
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)
{
UserDataStoresetDataEventArgs.Key = setDataEventArgs.Value;
}

Why? Check out:
http://www.codeplex.com/Project/DisplayThread.aspx?ProjectName=websf&ForumId=1269&ThreadId=2511

(I should have reported this earlier)
Nov 29, 2006 at 12:13 AM
Changed to Work Item 6018.