Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 54 by william.caineiii: class-rule requires method= to be defined
bug for v3.2.0
http://code.google.com/p/urlrewritefilter/issues/detail?id=54What steps will reproduce the problem?
1. add a class-rule to your urlrewrite.xml file like so. NOTE do not
defined the method= part because the documentation says this is optional
<class-rule
class="com.sherwin.sd.urlrewritefilter.utils.rules.MultiLingualCountryLangRule"/>
2. start the app
3.
What is the expected output? What do you see instead?
the app starts and the rule is loaded BUT what I see is the app never
starts because the URL rewrite filter never initializes. when I debug
methodStr is null meaning the default is never populated requiring me to
define method=matches to make it work.
i change my rule to this and it works
<class-rule
class="com.sherwin.sd.urlrewritefilter.utils.rules.MultiLingualCountryLangRule"
method="matches"/>
What version of the product are you using? On what operating system?
Please provide any additional information below.
using version 3.2.0
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "UrlRewrite" group.
To post to this group, send email to
urlrewrite@...
To unsubscribe from this group, send email to
urlrewrite+unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/urlrewrite?hl=en-~----------~----~----~----~------~----~------~--~---