#20024: Fixing Session State serialization in Workflows

Work Item: 20024
This commit is contained in:
Sebastien Ros 2013-10-25 09:44:33 -07:00
parent 266b92d7a0
commit 8723dac8a0
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Web.Mvc;
using System.Web.Routing;
@ -380,7 +381,7 @@ namespace Orchard.Workflows.Controllers {
var model = new UpdatedActivityModel {
ClientId = clientId,
Data = formValues
Data = new NameValueCollection(formValues)
};
TempData["UpdatedViewModel"] = model;

View File

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Web.Mvc;
using Orchard.Workflows.Models;
using Orchard.Workflows.Services;
@ -14,7 +15,7 @@ namespace Orchard.Workflows.ViewModels {
public class UpdatedActivityModel {
public string ClientId { get; set; }
public FormCollection Data { get; set; }
public NameValueCollection Data { get; set; }
}
}