Details
-
Enhancement
-
Resolution: Cannot Reproduce
-
Major
-
None
-
4.0.0.Beta7
-
None
Description
https://issues.jboss.org/browse/RESTEASY-2062
https://issues.jboss.org/browse/WFLY-11651
https://issues.jboss.org/browse/WFCORE-4297
The changes implemented for the jiras above cause 2 resteasy integration tests to fail.
org.jboss.resteasy.test.resource.basic.MediaTypeFromMessageBodyWriterTest
org.jboss.resteasy.test.resource.param.FormParamTest
FormParamTest is in violation of the spec requirments in this area.
FormParamEntityThrowsIllegaArgumentException is designed to throw an exception.
This causes the app to fail deployment when the @DefaulValue is passed as a test.
MediaTypeFromMessageBodyWriterTest fails because RuntimeDelegate.getInstance
returns null during the deployment process.
MediaTypeFromMessageBodyWriterResource has @DefaultValue method parameter
type MediaType. This class has valueOf method which calls RuntimeDelegate. That
method returns null.
MediaType has valueOf(String) method
calls RuntimeDelegate.getInstance which returns null during deployment
process.
Attachments
Issue Links
- relates to
-
RESTEASY-2062 DefaultValue for param is not processed before first request
- Resolved