mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00
Merge pull request #5864 from Garpo001/patch-1
Serialization error is thrown when creating layout or page in the dashboard when using Layouts in a Web Farm.
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
using System;
|
||||
|
||||
namespace Orchard.Layouts.Models {
|
||||
public class ElementSessionState {
|
||||
[Serializable]
|
||||
public class ElementSessionState {
|
||||
public string TypeName { get; set; }
|
||||
public string ElementData { get; set; }
|
||||
public string ElementEditorData { get; set; }
|
||||
public int? ContentId { get; set; }
|
||||
public string ContentType { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user