mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixing fake Parts properties in shape tracing model
--HG-- branch : dev
This commit is contained in:
@@ -119,6 +119,14 @@ namespace Orchard.DesignerTools.Services {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// process ContentItem.Parts specifically
|
||||||
|
if (o is ContentItem && member.Name == "Parts") {
|
||||||
|
foreach (var part in ((ContentItem)o).Parts) {
|
||||||
|
Dump(part, part.PartDefinition.Name);
|
||||||
|
}
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
DumpMember(o, member);
|
DumpMember(o, member);
|
||||||
}
|
}
|
||||||
@@ -126,12 +134,6 @@ namespace Orchard.DesignerTools.Services {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (o is ContentItem) {
|
|
||||||
foreach(var part in ((ContentItem)o).Parts) {
|
|
||||||
Dump(part, part.PartDefinition.Name);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
_node = _node.Parent;
|
_node = _node.Parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user