Skip to content

Fetching _eventId throws uncaught ClassCastException if it is not a String [SPR-5349] #10022

Closed
@spring-projects-issues

Description

@spring-projects-issues

Paul Chapman opened SPR-5349 and commented

The code in AbstractMvcView.determineEventId uses WebUtils.findParameterValue to fetch the Webflow _eventId. That code assumes it will be passed a String. If the parameter is not a String a ClassCastException is thrown.

I was supplying the eventId as a hidden field, but had erroneously supplied it twice. Thus _eventId was no longer a String but was actually multi-valued. My error certainly, but it shouldn't break the code.


Affects: 2.5.6

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions