#20668: Fixing Shape Tracing out of memory exception

Work Item: 20668
This commit is contained in:
Stanley Goldman
2014-09-11 10:14:33 -07:00
committed by Sebastien Ros
parent 5b294d3106
commit 600dda4a2a

View File

@@ -139,7 +139,13 @@ namespace Orchard.DesignerTools.Services {
}
foreach (var member in members) {
if (o is ContentItem && member.Name == "ContentManager"
if ((o is ContentItem && (member.Name == "ContentManager"
|| member.Name == "Parts"
|| member.Name == "Record"
|| member.Name == "VersionRecord"
|| member.Name == "TypeDefinition"
|| member.Name == "TypePartDefinition"
|| member.Name == "PartDefinition"))
|| o is Delegate
|| o is Type
) {