Created
October 11, 2012 16:26
-
-
Save lholmquist/3873609 to your computer and use it in GitHub Desktop.
TODO errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is based off the most recent branch of the TODO app( my fork ) located here: https://github.com/lholmquist/TODO | |
start jboss server | |
run: mvn clean install on TODO app | |
access TODO app at http://localhost:8080/todo | |
log in with john/123 | |
at this point if you hit refresh, the page loads again with no errors | |
create a new project, see project creation on the server( hibernate log ) and project is also on the client | |
try to update this new project and the client side log throws this PUT http://localhost:8080/todo-server/projects/1 400 (Bad Request) | |
server log looks ok: | |
12:23:19,697 INFO [stdout] (http--0.0.0.0-8080-4) Hibernate: | |
12:23:19,697 INFO [stdout] (http--0.0.0.0-8080-4) update | |
12:23:19,698 INFO [stdout] (http--0.0.0.0-8080-4) Project | |
12:23:19,698 INFO [stdout] (http--0.0.0.0-8080-4) set | |
12:23:19,698 INFO [stdout] (http--0.0.0.0-8080-4) style=?, | |
12:23:19,698 INFO [stdout] (http--0.0.0.0-8080-4) title=? | |
12:23:19,698 INFO [stdout] (http--0.0.0.0-8080-4) where | |
12:23:19,699 INFO [stdout] (http--0.0.0.0-8080-4) id=? | |
hitting refresh now returns this in the client console: GET http://localhost:8080/todo-server/projects 400 (Bad Request) | |
and shows the login screen, which also throws the same error on login |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment