orchardcms - Orchard.Layouts does not display all elements -


sometimes happens , orchard layouts module starts incorrect working:

  1. when edit content item layout part not display layout element , canvas area.
  2. when view content item layout part not display layout elements, ex. projection elements.

in such cases enable , disable output cache module orchard layouts module starts correct working again.

i posted message codeplex https://orchard.codeplex.com/workitem/21305 critical error prevents normal working of production site. may have idea should do?

one of errors got log

2015-03-31 09:08:38,594 [93] orchard.contentmanagement.drivers.coordinators.contentpartdrivercoordinator - default - nullreferenceexception thrown icontentpartdriver orchard.layouts.drivers.layoutpartdriver system.nullreferenceexception: object reference not set instance of object.    в orchard.layouts.services.elementfactory.activate(elementdescriptor descriptor, action`1 initialize)    в orchard.layouts.services.elementmanager.activateelement(elementdescriptor descriptor, action`1 initialize)    в orchard.layouts.services.contentmodelmap.toelement(ielementmanager elementmanager, describeelementscontext describecontext, jtoken node)    в orchard.layouts.services.layoutmodelmapper.loadelement(jtoken node, container parent, int32 index, describeelementscontext describecontext)    в orchard.layouts.services.layoutmodelmapper.parseeditornode(jtoken node, container parent, int32 index, describeelementscontext describecontext)    в orchard.layouts.services.layoutmodelmapper.<>c__displayclass10.<parseeditornode>b__d(jtoken x, int32 i)    в system.linq.enumerable.<selectiterator>d__7`2.movenext()    в system.linq.enumerable.whereenumerableiterator`1.movenext()    в system.collections.generic.list`1..ctor(ienumerable`1 collection)    в system.linq.enumerable.tolist[tsource](ienumerable`1 source)    в orchard.layouts.services.layoutmodelmapper.parseeditornode(jtoken node, container parent, int32 index, describeelementscontext describecontext)    в orchard.layouts.services.layoutmodelmapper.<>c__displayclass10.<parseeditornode>b__d(jtoken x, int32 i)    в system.linq.enumerable.<selectiterator>d__7`2.movenext()    в system.linq.enumerable.whereenumerableiterator`1.movenext()    в system.collections.generic.list`1..ctor(ienumerable`1 collection)    в system.linq.enumerable.tolist[tsource](ienumerable`1 source)    в orchard.layouts.services.layoutmodelmapper.parseeditornode(jtoken node, container parent, int32 index, describeelementscontext describecontext)    в orchard.layouts.services.layoutmodelmapper.<>c__displayclass10.<parseeditornode>b__d(jtoken x, int32 i)    в system.linq.enumerable.<selectiterator>d__7`2.movenext()    в system.linq.enumerable.whereenumerableiterator`1.movenext()    в system.collections.generic.list`1..ctor(ienumerable`1 collection)    в system.linq.enumerable.tolist[tsource](ienumerable`1 source)    в orchard.layouts.services.layoutmodelmapper.parseeditornode(jtoken node, container parent, int32 index, describeelementscontext describecontext)    в orchard.layouts.services.layoutmodelmapper.<>c__displayclass10.<parseeditornode>b__d(jtoken x, int32 i)    в system.linq.enumerable.<selectiterator>d__7`2.movenext()    в system.linq.enumerable.whereenumerableiterator`1.movenext()    в system.collections.generic.list`1..ctor(ienumerable`1 collection)    в system.linq.enumerable.tolist[tsource](ienumerable`1 source)    в orchard.layouts.services.layoutmodelmapper.parseeditornode(jtoken node, container parent, int32 index, describeelementscontext describecontext)    в orchard.layouts.services.layoutmodelmapper.<tolayoutmodel>d__6.movenext()    в system.linq.buffer`1..ctor(ienumerable`1 source)    в system.linq.enumerable.toarray[tsource](ienumerable`1 source)    в orchard.layouts.drivers.layoutpartdriver.<>c__displayclass12.<editor>b__11()    в orchard.contentmanagement.drivers.contentpartdriver`1.<>c__displayclass15.<contentshape>b__14(buildshapecontext ctx) в d:\sites\orchard sites\rpa-mu.ru-2-new\src\orchard\contentmanagement\drivers\contentpartdriver.cs:line 196    в orchard.contentmanagement.drivers.contentpartdriver`1.<>c__displayclass1b.<contentshapeimplementation>b__1a(buildshapecontext ctx) в d:\sites\orchard sites\rpa-mu.ru-2-new\src\orchard\contentmanagement\drivers\contentpartdriver.cs:line 205    в orchard.contentmanagement.drivers.contentshaperesult.applyimplementation(buildshapecontext context, string displaytype) в d:\sites\orchard sites\rpa-mu.ru-2-new\src\orchard\contentmanagement\drivers\contentshaperesult.cs:line  45    в orchard.contentmanagement.drivers.contentshaperesult.apply(buildeditorcontext context) в d:\sites\orchard sites\rpa-mu.ru-2-new\src\orchard\contentmanagement\drivers\contentshaperesult.cs: line 25    в orchard.contentmanagement.drivers.coordinators.contentpartdrivercoordinator.<>c__displayclass10.<updateeditor>b__f(icontentpartdriver driver) в d:\sites\orchard sites\rpa-mu.ru-2-new\src\orchard\contentmanagement\drivers\coordinators\contentpartdrivercoordinator.cs:line 65    в orchard.invokeextensions.invoke[tevents](ienumerable`1 events, action`1 dispatch, ilogger logger) в d:\sites\orchard sites\rpa-mu.ru-2-new\src\orchard\invokeextensions.cs:line 17 


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -