Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-558

after update the entity Project todo-server retrieve outdated information

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 1.0.0
    • 1.0.0.M7, 1.0.0.M8
    • None

      • Create project

      curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '

      {"title": "AeroGear"}

      ' http://todo-aerogear.rhcloud.com/todo-server/projects/
      > Connection #0 to host todo-aerogear.rhcloud.com left intact

      {"id":54,"title":"AeroGear","style":null,"tasks":[]}

      * Closing connection #0

      • Update project

      curl -v -H "Accept: application/json" -H "Content-type: application/json" -X PUT -d '

      {"title": "AeroGear - Changed"}

      ' http://todo-aerogear.rhcloud.com/todo-server/projects/54
      > Connection #0 to host todo-aerogear.rhcloud.com left intact

      {"id":54,"title":"AeroGear - Changed","style":null,"tasks":[]}

      * Closing connection #0

      • When I retrieve project the server replies outdated title

      curl -v -H "Accept: application/json" -H "Content-type: application/json" -X GET http://todo-aerogear.rhcloud.com/todo-server/projects/54
      > Connection #0 to host todo-aerogear.rhcloud.com left intact

      {"id":54,"title":"AeroGear","style":null,"tasks":[]}

      * Closing connection #0

      • When I try again, the server retrieve new project (Changed)

      curl -v -H "Accept: application/json" -H "Content-type: application/json" -X GET http://todo-aerogear.rhcloud.com/todo-server/projects/54
      > Connection #0 to host todo-aerogear.rhcloud.com left intact

      {"id":54,"title":"AeroGear - Changed","style":null,"tasks":[]}

      * Closing connection #0

      If I keep trying the server return: outdated project, new project, outdated project, new project ...

              dbeveniu Daniel Bevenius (Inactive)
              danielpassos Daniel Passos (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: