This project is read-only.


Orchard.Localization: duck typing error in AddLocalizationViewModel


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).


sebastienros wrote Aug 21, 2014 at 8:58 PM

Fix it felix

nightwolf226 wrote Aug 27, 2014 at 1:12 PM

Fixed in changeset 42189e9297a5234ccaba40e8b65e627ec722efda