Affects Version/s: 1.0-b10
Fix Version/s: 1.0-b11
As Per the specification section 4.4.@WebSocketOpen.
.... The decorated method can only have an optional Session parameter, an optional EndpointConfiguration parameter and zero to n String parameters annotated with a @WebSocketPathParam annotation as parameters.
Any Java class using this annotation on a method that does not follow these rules may not be deployed by the implementation and the
error reported to the deployer.
When Deploying and endpoint with method annotated with @WebSocketOpen that has wrong parameter type (String to Integer) it dosen't report that, And when sending a wrong template value (String) to this method which has integer value, the engine calls the following method:
But it always prints "Undefined".
|Field||Original Value||New Value|
|Priority||Critical [ 2 ]||Major [ 3 ]|
|Fix Version/s||1.0-b11 [ 16288 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||Pavel Bucek [ pavel_bucek ]|
|Resolution||Fixed [ 1 ]|