Currently, if the user is not logged, there is a message that an error occured and a detail "java.util.ArrayList cannot be cast to java.lang.String". If the user is logged, surprisingly header.htm is automatically called as the first page to be included somewhere and in my case usually there is an exception because of some unimportant reason.
It would be nice to have some possibility to show a standart 404 page not found or something else useable. Is this possible? I would say it should be.
I am using the last version, 2.1.8 of course. Yes, you can get 404 page not found if the non existing page you try to access does not end with ".page". But if it does the behaviour as I described in my previous post. And I think that it is not just my problem, it is the general behaviour, just try to access this site and you will see
WHoops, sorry I tested on 2.1.7 and it worked... that gave me a starting point and I found that it looks like the WebRequestContext code has a bug about line 159. It calls the parseFriendlyURL method twice which set the module parameter to null twice... which converts it from a String to an ArrayList.
Anyway if you move this call into the if ( index > -1 ) condition above it, things should work as designed. E.g. The code should look like:
Not sure if Raphael is going to do a maint release on the 2.1.8, but if you add this as a Jira issue, it will probably make it into that release. [originally posted on jforum.net by monroe]