[jboss-jira] [JBoss JIRA] (WFLY-2959) Downgrade Jackson dependency
Chris Roberts (JIRA)
issues at jboss.org
Wed Mar 5 14:43:33 EST 2014
[ https://issues.jboss.org/browse/WFLY-2959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12950420#comment-12950420 ]
Chris Roberts commented on WFLY-2959:
-------------------------------------
I believe the attached test project is the simplest recreation of the issues. Sorry, I'm not a king of writing test cases, so it's just a project with the issues, I don't know how to right unit tests for JAX-RS resources :-) You can test it after deployment with:
curl http://localhost:8080/org.jboss.test.test-jackson/rest/person/
- Uses Jackson2 (per POM and jboss-deployment-structure.xml)
- Uses jackson-datatype-hibernate4 (currently 2.3.0 as per jackson-core in wildfly 8 final) with a OneToMany entity
As it stands it gives the _configForWriter issue (with wildfly 8 final).
With wildfly 8 CR1 (change jackson-datatype-hibernate4 version to 2.2.3 in the pom.xml to match wildfly 8 cr1 jackson version), it will give a lazy initialisation exception I think.
Ideally this project should not give lazy initialisation exceptions and should work and return json in wildlfly 8.
> Downgrade Jackson dependency
> ----------------------------
>
> Key: WFLY-2959
> URL: https://issues.jboss.org/browse/WFLY-2959
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: REST
> Affects Versions: 8.0.0.Final
> Reporter: James Perkins
> Assignee: James Perkins
> Fix For: 8.0.1.Final
>
> Attachments: org.jboss.test.test-jackson.tar.gz
>
>
> Jackson was upgraded to 2.3.0 which contains a [bug|https://github.com/FasterXML/jackson-jaxrs-providers/commit/bafb6fb64bc15482c7bfc56784169204d6c4b1f2#commitcomment-5224156] that breaks RESTEasy. RESTEasy currently uses 2.2.1. Downgrading to at least 2.2.3, which is what CR1 is at, seems to resolve this issue.
> We should likely keep the version aligned with RESTEasy, but since CR1 was using 2.2.3 with no issues, I think reverting back to that should be fine.
--
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
More information about the jboss-jira
mailing list