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

No messages on HomePage #1486

Open orchardbot opened 13 years ago

orchardbot commented 13 years ago

mspring created: https://orchard.codeplex.com/workitem/17657

see item: http://orchard.codeplex.com/workitem/16913

if you edit the html widget from the homepage (so returnurl points to /) then no messages are being shown -- they are delayed until you navigate to some other (admin-)page; just refreshing the home page does not help.

The problem is most likely related to HomeController.cs which creates a new viewresult which is missing the TempData collection. I added this for testing purposes: The messages now appear as expected on the home page but every message is being shown twice.

orchardbot commented 13 years ago

@bleroy commented:

See http://orchard.codeplex.com/workitem/17605 which is a near duplicate.