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 #333 (new enhancement)

Opened 5 years ago

Last modified 5 years ago

Should the BVNetwork.FileNotFound.Redirects.RedirectsXmlParser constructor log an error if the Custom redirects file does not exist

Reported by: pme@… Owned by: permagne@…
Priority: trivial Component: 404Handler
Keywords: Cc:

Description

In my opinion it should not. It will log this error if you did not create any redirects (list.Count == 0).

I would suggest using an appropriate log level, warning maybe?

Or distribute an empty file with the module. I can't even find a schema for the config file, so an empty file with an commented example could help?

Change History

comment:1 Changed 5 years ago by permagne@…

This behavior is outdated, and should be fixed in the next version. We'll remove the startup load of the XML since we now have the possibility to import redirects from an xml file. There is an xml example here: https://www.coderesort.com/p/epicode/wiki/404Handler/DocCms5. This will also be moved to the 7 section.

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