Fix for Issue 19231

--HG--
branch : 1.x
extra : source : f1de506f10292a9adea0d8355f7e2f63efc6ae1b
This commit is contained in:
Michael Yates@MichaelNotebook
2012-11-09 00:03:11 +11:00
parent 6228cea10e
commit 4e8176d89c

View File

@@ -35,8 +35,6 @@ namespace Orchard.Projections.Handlers {
protected override void Activating(ActivatingContentContext context) {
base.Activating(context);
context.Builder.Weld<FieldIndexPart>();
// weld the FieldIndexPart dynamically, if a field has been assigned to one of its parts
var contentTypeDefinition = _contentDefinitionManager.GetTypeDefinition(context.ContentType);
if (contentTypeDefinition == null)