1

Resolved

Orchard.Localization: duck typing error in AddLocalizationViewModel

description

In Orchard.Localization/ViewModels/AddLocalizationViewModel.cs there is property called "Content" of the type "IContent". Later it is used in the AdminController to store the editor shape of the content item that is currently being created for localization. It should be of the type dynamic, since IContent gives it properties/methods it doesn't actually have ("ContentItem" can be accessed, but e.g. "Id" not).

comments

sebastienros wrote Aug 21 at 8:58 PM

Fix it felix

nightwolf226 wrote Aug 27 at 1:12 PM

Fixed in changeset 42189e9297a5234ccaba40e8b65e627ec722efda