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

AutoroutePart.SetHomepage set to false for homepage #8665

Closed mwentz closed 1 year ago

mwentz commented 1 year ago

When I access Model.ContentItem.Content.AutoroutePart.SetHomepage in a Content.chstml template or do a content export, the homepage's value for that field is false.

I tried changing the homepage and also disabling and reenabling the Home Route module, neither fixed the problem. I also tried refreshing the path which also did not fix the problem.

I am using the latest 1.5.0 release.

mwentz commented 1 year ago

In addition, I exported the page, updated the SetHomePage field to true, made a content change, and imported the recipe. The content change was there, but the SetHomepage field was still false.

mwentz commented 1 year ago

Oops, this is for Orchard Core, didn't mean to put it here.