OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.38k stars 1.12k forks source link

Inheritance of placement.info priority #6977

Open Xceno opened 8 years ago

Xceno commented 8 years ago

I personally would consider this a bug, but maybe there are reasons for it:

I have Module A which has a Dependency on Orchard.MediaLibrary. And Module B which has a Dependency on Module A

I'm not able to use the placement.info of Module B to affect the placement of MediaLibrary parts and fields unless I add a Dependency to Orchard.MediaLibrary.

mvarblow commented 7 years ago

I recently ran into this when upgrading a site from Orchard 1.9 to 1.10. All of a sudden the fields that we'd added to a widget part as admin settings were showing up in the front-end even though we had them suppressed via placement.info. Once I added the Orchard.Fields dependency to the manifest file in our custom module, the site behaved properly again. This seems like a regression?