Fortis-Collection / fortis

A framework for creating a strongly typed model based on Sitecore templates and the Sitecore API

Home Page:http://fortis.ws

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fotis.Mvc 4.2.2 not working with Sitecore versions < 8.2

GabrielCodehouse opened this issue · comments

I noticed the Fortis Mvc 4.2.2 was developed against the latest version of Sitecore.Mvc (1.1.00) which came packed in the first Sitecore 8.2 (edited)

Sitecore extended the RenderingParameters class, exposing the GetEnumerator function for public access, which was not available in previous version.

Considering that Fortis.Mvc 4.2.2 is introducing changes in the Fortis.Mvc.Providers.ContextProvider, by using the above mentioned GetEnumerator to retrieve the RenderingParameters, makes this version of Fortis not compatible anymore with Sitecore 8.1 and lower, generating an error when you try to retrieve rendering parameters.

Can this be sorted, otherwise we can't upgrade Fortis in Sitecore solution < 8.2
If this is intended than it would be good to make it aware on the site by changing the Sitecore compatibility for this version of Fortis