This project has moved and is read-only. For the latest updates, please go here.


Compile Errors with Orchard 1.x


There are errors when you tried to use it with the 1.x version :
1) In Filters\RelativeUrlHtmlFilter.cs, line 18 :
public string ProcessContent(string text, string flavor) {

The ProcessContent method of IHtmlFilter changed so the 'string flavor' parameter has to be removed.

2) The reference to System.Web.Mvc has to be fixed to use the version, not the

file attachments

Closed May 4, 2013 at 3:49 AM by BertrandLeRoy


agriffard wrote May 2, 2013 at 1:30 PM

Sorry, it seems it has already been fixed in the latest version of the code.

You should publish this new version on the gallery.

ericbyrd wrote Jul 12, 2013 at 7:43 PM

Still seeing this. Downloaded latest V.I. code today (7.12.2013).

Edit: Interestingly, my 1.6.1 Orchard.Framework source still defines IHtmlFilter.ProcessContent with 2 string parameters, so the new V.I. RelativeUrlHtmlFilter bonks. I've just added a placeholder string param in the RelativeUrlHtmlFilter ProcessContent method. Voila, pas du bonk.

BertrandLeRoy wrote Jul 13, 2013 at 9:02 AM

Already fixed.