New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIComponentBase.validateId() thrown exception should be more explanatory #4375

Open
Quix0r opened this Issue Jul 7, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@Quix0r

Quix0r commented Jul 7, 2018

Please see following excerpt from a thrown exception I currently try to fix but I'm confused where (JSF template/view) it origins from.

java.lang.IllegalArgumentException:  
        at javax.faces.component.UIComponentBase.validateId(UIComponentBase.java:605)
        at javax.faces.component.UIComponentBase.setId(UIComponentBase.java:422)
        at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.assignUniqueId(ComponentTagHandlerDelegateImpl.java:438)
[...]

It would be nice to have some message being added to that exception, like: Invalid id x/y$z or so then I can directly see where that exception comes from (one of my templates, of course).

JSF 2.3.5

@Quix0r Quix0r changed the title from UIComponentBase.validateId() thrown exception should contain some text to UIComponentBase.validateId() thrown exception should be more explanatory Jul 7, 2018

@arjantijms

This comment has been minimized.

Collaborator

arjantijms commented Jul 8, 2018

@Quix0r

This comment has been minimized.

Quix0r commented Aug 13, 2018

Any news here? I would really appreciate if this issue is quickly solved (and no big change, for sure). Maybe I can find some time to do it myself but no promise here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment