[JBoss JIRA] (WFLY-4027) RESTEasy ViolationReport is not processed by JAXB provider
by Jason Greene (JIRA)
[ https://issues.jboss.org/browse/WFLY-4027?page=com.atlassian.jira.plugin.... ]
Jason Greene commented on WFLY-4027:
------------------------------------
https://github.com/wildfly/wildfly/commit/890b6b377623c76779276852d25fd76...
> RESTEasy ViolationReport is not processed by JAXB provider
> ----------------------------------------------------------
>
> Key: WFLY-4027
> URL: https://issues.jboss.org/browse/WFLY-4027
> Project: WildFly
> Issue Type: Bug
> Components: REST
> Affects Versions: 8.1.0.Final, 8.2.0.CR1, 9.0.0.Alpha1
> Reporter: Harald Wellmann
> Assignee: Stuart Douglas
> Labels: resteasy, validation
> Fix For: 8.2.0.CR1, 9.0.0.Beta1
>
>
> When used in combination with Bean Validation, RESTEasy should wrap validation errors in a {{ValidationReport}} which should be included in the REST response, marshalled to JSON or XML, depending on the content type.
> This does not work currently in WildFly 8.1.0.Final.
> The issue was reported in RESTEASY-1054. and is marked as fixed in RESTEasy 3.0.9.Final.
> However, I can still reproduce the issue with a local build of WildFly 8.2.0.CR1-SNAPSHOT (from the 8.x branch) which includes RESTEasy 3.0.10.Final.
> Going back to WildFly 8.1.0.Final, the issue no longer occurs when I add
> {code}
> <module name="javax.xml.bind.api"/>
> {code}
> to the {{module.xml}} descriptor of {{org.jboss.resteasy.resteasy-validator-provider-11}}.
> The same fix works for 8.2.0.CR1-SNAPSHOT.
> Looking at the module descriptor, it seems that 9.0.0.Alpha1 is also affected (but I did not test my sample on 9.0.0.Alpha1).
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
9 years, 11 months
[JBoss JIRA] (WFLY-4027) RESTEasy ViolationReport is not processed by JAXB provider
by Stuart Douglas (JIRA)
[ https://issues.jboss.org/browse/WFLY-4027?page=com.atlassian.jira.plugin.... ]
Stuart Douglas resolved WFLY-4027.
----------------------------------
Resolution: Done
> RESTEasy ViolationReport is not processed by JAXB provider
> ----------------------------------------------------------
>
> Key: WFLY-4027
> URL: https://issues.jboss.org/browse/WFLY-4027
> Project: WildFly
> Issue Type: Bug
> Components: REST
> Affects Versions: 8.1.0.Final, 8.2.0.CR1, 9.0.0.Alpha1
> Reporter: Harald Wellmann
> Assignee: Stuart Douglas
> Labels: resteasy, validation
> Fix For: 8.2.0.CR1, 9.0.0.Beta1
>
>
> When used in combination with Bean Validation, RESTEasy should wrap validation errors in a {{ValidationReport}} which should be included in the REST response, marshalled to JSON or XML, depending on the content type.
> This does not work currently in WildFly 8.1.0.Final.
> The issue was reported in RESTEASY-1054. and is marked as fixed in RESTEasy 3.0.9.Final.
> However, I can still reproduce the issue with a local build of WildFly 8.2.0.CR1-SNAPSHOT (from the 8.x branch) which includes RESTEasy 3.0.10.Final.
> Going back to WildFly 8.1.0.Final, the issue no longer occurs when I add
> {code}
> <module name="javax.xml.bind.api"/>
> {code}
> to the {{module.xml}} descriptor of {{org.jboss.resteasy.resteasy-validator-provider-11}}.
> The same fix works for 8.2.0.CR1-SNAPSHOT.
> Looking at the module descriptor, it seems that 9.0.0.Alpha1 is also affected (but I did not test my sample on 9.0.0.Alpha1).
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
9 years, 11 months