Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Ticket #322 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

custom handler not working together with the redirects

Reported by: botond@… Owned by: permagne@…
Priority: critical Component: 404Handler
Keywords: Cc:

Description

I am using Custom 404 Handler for EPiServer 7 on IIS7.
In the Epi7 Dashboard i add some custom redirects, and everything is working like we expect.
Now I try to add my custom class handler that is inheriting the INotFoundHandler.
public class Custom404Handler : INotFoundHandler

{

public string RewriteUrl(string url)

...
I also add to the web.config the following name inside the bvn404Hanler node:
<add name="Custom404Handler" type="VGG.Helpers.Custom404Handler, VGG" />
In this case my custom handler class is executing but the manually added redirects are not handled from Dashboard. Even the Dashboard form is dissapearing.
If I remove the name from the web.config then the Dashboard Custom404Handler form is back, and all the redirects are working again.
What can be the problem?
This was working before in Epi6 in my project.

Change History

comment:1 Changed 5 years ago by permagne@…

This sounds like a bug. I'll look into it.
Thanks.

comment:2 Changed 5 years ago by permagne@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in changeset [2527].
Nuget package and module should be updated shortly.

Note: See HelpUser/Tickets for help on using tickets.