RSS only returning content if user is authenticated

Topics: Administration
Aug 9, 2013 at 10:57 AM
I've got a fairly major problem with the RSS feed for a blog using Orchard 1.7; this was a clean installation.

Orchard correctly writes out the <link /> for the RSS location, but unless the user is authenticated Orchard returns an empty document. This means that my Feedburner source is currently broken.

Any ideas?
Aug 9, 2013 at 11:05 AM
The following exception is being reported in the Log:
2013-08-09 09:47:22,340 [25] Orchard.Exceptions.DefaultExceptionPolicy - An unexpected exception was caught
System.NullReferenceException: Object reference not set to an instance of an object.
   at Orchard.ContentManagement.DefaultContentManager.GetItemMetadata(IContent content) in c:\Orchard\src\Orchard\ContentManagement\DefaultContentManager.cs:line 574
   at Orchard.Core.Feeds.StandardQueries.ContainerFeedQuery.Execute(FeedContext context) in c:\Orchard\src\Orchard.Web\Core\Feeds\StandardQueries\ContainerFeedQuery.cs:line 45
   at Orchard.Core.Feeds.Controllers.FeedController.<>c__DisplayClassb.<Index>b__6() in c:\Orchard\src\Orchard.Web\Core\Feeds\Controllers\FeedController.cs:line 49
   at Orchard.Core.Feeds.Rss.RssFeedBuilder.Process(FeedContext context, Action populate) in c:\Orchard\src\Orchard.Web\Core\Feeds\Rss\RssFeedBuilder.cs:line 28
   at Orchard.Core.Feeds.Controllers.FeedController.Index(String format) in c:\Orchard\src\Orchard.Web\Core\Feeds\Controllers\FeedController.cs:line 48
   at lambda_method(Closure , ControllerBase , Object[] )
   at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<InvokeActionMethodWithFilters>b__10()
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
Coordinator
Aug 9, 2013 at 4:43 PM
Aug 9, 2013 at 4:55 PM
Many thanks; I can confirm that disabling the OutputCache module fixed the problem