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

Save results in 404 error when using H2 db #10

Open
vviskari opened this issue Aug 29, 2014 · 2 comments
Open

Save results in 404 error when using H2 db #10

vviskari opened this issue Aug 29, 2014 · 2 comments

Comments

@vviskari
Copy link

We had a simple domain class and created RESTful API for it extending DocumentedRestfulController.
It works in development environment using H2 mem db, but fails in any other environment using H2 DB (mem or file, doesn't matter).

Either using the scaffolded templates or through REST POST, the first creation of new object is successful. After that all other requests result in 404 error (the request does not reach the controller, no error in logs).

If we instead extend just RestfulController all saves work fine.

@muenchhausen
Copy link
Contributor

DocumentedRestfulController extending RestfulController is not really beautiful anyway. Maybe we should remove it and add good samples instead?

@vviskari
Copy link
Author

vviskari commented Sep 1, 2014

Yes, Some basic samples would be just fine.

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

2 participants