mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-07-31 21:41:40 +08:00
#20024: Fixing Session State serialization in Workflows
Work Item: 20024
This commit is contained in:
parent
266b92d7a0
commit
8723dac8a0
@ -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;
|
||||
|
@ -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; }
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user