Skip to content
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

Captcha broken when running inside spring webflow's FlowExternalContext #351

Closed
vchoy opened this issue May 27, 2015 · 2 comments
Closed
Assignees
Labels
🐞 defect Bug...Something isn't working
Milestone

Comments

@vchoy
Copy link

vchoy commented May 27, 2015

svn2github/primefaces@c712ed5

Caused by: java.lang.ClassCastException: org.springframework.faces.webflow.FlowExternalContext cannot be cast to org.primefaces.context.PrimeExternalContext
    at org.primefaces.component.captcha.Captcha.createPostParameters(Captcha.java:188) ~[primefaces-5.2.jar:5.2]
    at org.primefaces.component.captcha.Captcha.validateValue(Captcha.java:147) ~[primefaces-5.2.jar:5.2]
    at javax.faces.component.UIInput.validate(UIInput.java:982) ~[jsf-api-2.2.10.jar:2.2]
    at javax.faces.component.UIInput.executeValidate(UIInput.java:1248) ~[jsf-api-2.2.10.jar:2.2]
    at javax.faces.component.UIInput.processValidators(UIInput.java:712) ~[jsf-api-2.2.10.jar:2.2]
    at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1260) ~[jsf-api-2.2.10.jar:2.2]
    at javax.f
@tandraschko tandraschko self-assigned this May 27, 2015
@tandraschko tandraschko added this to the 5.3 milestone May 27, 2015
@tandraschko tandraschko added the 🐞 defect Bug...Something isn't working label May 27, 2015
tandraschko added a commit that referenced this issue May 27, 2015
@tandraschko
Copy link
Member

fixed it in trunk - please give it a try. Can't test it as i never user webflow.

@vchoy
Copy link
Author

vchoy commented May 28, 2015

Confirming this works. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 defect Bug...Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants