[
https://issues.jboss.org/browse/FORGE-1163?page=com.atlassian.jira.plugin...
]
Vineet Reynolds closed FORGE-1163.
----------------------------------
Fix Version/s: 1.4.1.Final
Resolution: Done
Pushed upstream:
https://github.com/forge/core/commit/9a83522206492e33d67c74d51f24b9409259...
The annotation is added for JPA entities when they are exposed as REST resources; the
original behavior is restored for this strategy.
The DTO-based strategy adds the annotation only for top-level DTOs; this needed no fixes,
but additional tests were added to verify this behavior in the build.
No @XmlRootElement on Entities
------------------------------
Key: FORGE-1163
URL:
https://issues.jboss.org/browse/FORGE-1163
Project: Forge
Issue Type: Bug
Components: Builtin Plugins
Affects Versions: 1.4.0.Final
Reporter: Antonio Goncalves
Assignee: Vineet Reynolds
Fix For: 1.4.1.Final
I generate some entities and then scaffold REST endpoints. With Forge 1.3.3-Final it
works fine, the @XmlRootElement is added to the entity, but not in Forge 1.4.0-Final. So
using the REST enpoint creates an exception (saying it cannot marshall the entity into
XML).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira