1

Closed

Compile Errors with Orchard 1.x

description

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 4.0.0.0 version, not the 3.0.0.0

file attachments

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

comments

agriffard wrote May 2, 2013 at 12: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 6: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 8:02 AM

Already fixed.