Qingyu Zhou e75b3aa06c CookieCultureSelector.EvaluateResult is caught with NotImplementedException
The issue is caused by CookieCultureSelector is expecting a working implementation of HttpRequestBase.AnonymousID, yet in one case that wont'be true. During background task execution, which is started by SweepGenerator on a background thread without real HTTP request, the HttpRequestBase object is created using HttpRequestPlaceholder, which is trying to simulate a valid HTTP Request to some extent, particularly leaving its property AnonymousID not implemented. However, CookieCultureSelector.EvaluateResult is expecting context.Request.AnonymousID being implemented in some way.

This could be seen as a bug in Orchard.CultureSelector, as one can justify that it should be aware of fake HttpRequestBase object. On the other hand, this could be an Orchard bug as well, if the philosophy is to keep the users of HttpRequestBase objects ignorant of the actual implementation. I prefer the latter, thus this fix.
2015-09-29 15:34:40 -07:00
2015-08-25 16:24:29 +02:00
2015-07-17 16:27:59 -07:00
2014-10-30 12:57:46 -07:00
2015-07-17 16:27:59 -07:00
2015-04-28 11:07:04 -07:00
2015-08-13 12:01:35 -04:00

Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.

Join the chat at https://gitter.im/OrchardCMS/Orchard

You can try it for free on Dotnest.com or on Microsoft Azure by clicking on this button

Deploy to Azure

About The Orchard Project

Please visit our website at http://orchardproject.net for the most current information about this project.

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.

Orchard is built on a modern architecture that puts extensibility up-front, as its number one concern. All components in Orchard can be replaced or extended. Content is built from easily composable building blocks. Modules extend the system in a very decoupled fashion, where a commenting module for example can as easily apply to pages, blog posts, photos or products. A rich UI composition system completes the picture and ensures that you can get the exact presentation that you need for your content.

Orchard is delivered under the .NET Foundation. It is licensed under a New BSD license, which is approved by the OSI.

Our mission is to empower our users and foster a dedicated and diverse community that builds the CMS that we all want to use.

There are many ways you can contribute to Orchard: you can fix bugs, contribute modules and themes to our gallery, write documentation, translate Orchard, or answer questions on our forums and on Stack Overflow.

Project Status

Orchard is currently in version 1.9.1. We invite participation by the developer community in shaping the projects direction, so that we can publicly validate our designs and development approach. Our 1.9.1 release is available from our Downloads page, and is easy to Install Orchard using the Web Platform Installer. We encourage interested developers to check out the source code on the Orchard Github site and get involved with the project.

How To Get Involved

We hope that by engaging with the community in the very early stages of the project that we will be able to shape Orchard into a valuable set of tools and applications for the community. The Orchard team is committed to open community participation and accepts code contributions today. We encourage community participation at all levels from general project feedback to bug fixes and patches.

Description
About Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform. orchardproject.net
Readme 246 MiB
Languages
C# 43.9%
JavaScript 43.7%
HTML 5.5%
CSS 2.4%
Less 1.5%
Other 2.9%