Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Browsing to expired page defaults to 302 redirect instead of 404

Vote:
 

Hi!

We are experiencing a bug that was resolved in EPiServer.CMS.Core 10.0.1 in our EPi application running EPiServer.CMS 12.15.1.
It seems to be connected to the database in some way. If we use a clean database setup from scratch we don't experience this issue.
Does anyone have any clue how this can happend based on the content in the database?

Link to the old resolved issue:
https://world.optimizely.com/documentation/Release-Notes/ReleaseNote/?releaseNoteId=CMS-1320

#295804
Edited, Feb 02, 2023 9:09
Vote:
 

Hi Paul,

The DB you're having issues on, did that start as CMS12 or was that upgraded from a CMS11 DB? Do you have multile languages available for your pages?

I've seen an odd handful of issues in upgraded databases, but it was usually small scale and I could just recreate the content to resolve it. 

#295818
Edited, Feb 02, 2023 18:09
Vote:
 

What does your logs say?

#295820
Feb 02, 2023 19:49
Vote:
 

Hi,
We resolved the issue ourselves.
We had the action for our error-page inside epis EPiServer.Web.Mvc.PageController<T> which made EPI think it was as internal url in epi and not a generic error page path.
We moved the logic into its own controller and the problem no longer appeared.

#296110
Feb 07, 2023 11:36
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.