Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failures with Grails 2.5.x (and possibly 3.x) and using accept "application/json" #44

Open
bkoehm opened this issue Nov 26, 2015 · 0 comments

Comments

@bkoehm
Copy link

bkoehm commented Nov 26, 2015

REST client doesn't work with Grails 2.5.x and using accept("application/json") to parse REST JSON responses. The issue is in grails/grails-data-mapping/grails-datastore-rest-client but grails-rest-client-builder will need to use a newer version of org.grails:grails-datastore-rest-client once the fix is merged upstream. I think it's likely an issue in Grails 3.x as well, but I have not confirmed this by trying the plugin with Grails 3.

The fixes are contained here in a pull request for grails-datastore-rest-client:
grails/grails-data-mapping#591

and here, which just shows my grails-datastore-rest-client fork using the above forked/patched grails-datastore-rest-client:
https://github.com/grails-plugins/grails-rest-client-builder/compare/master...ucidentity:v2.1.1-grails2.5-fix?expand=1

Note that https://maven.calnet.berkeley.edu/artifactory/all/ is not a public repository, so in order to get it working locally, you'll need to build https://github.com/ucidentity/grails-data-mapping/tree/3.x-grails2.5-fix-ucb and deploy to your local maven repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant