1
Vote

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 Thu at 7:58 PM

Fix it felix