Re: “Invalid number of parameters supplied for pattern” error

Splash Forums PrettyFaces Users "Invalid number of parameters supplied for pattern" error Re: “Invalid number of parameters supplied for pattern” error

#20373

Defining the wrong number of path parameters for a mapping is currently treated as a fatal error that makes it impossible to render the page correctly (because the link URL could not be generated). In this situation a PrettyException is thrown which describes the problem which caused the failure.

What would you have expected instead? Theoretically we could disable the link by rendering a <span> instead of an <a> element but I’m not sure if this makes sense.

Any idea?