Karthikeyan-kkk / openmobster

Automatically exported from code.google.com/p/openmobster
0 stars 0 forks source link

CRUD demo - saving data to server #166

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Launch CRUD demo app
2.  Select "Update" for a given ticket
3.  Make data change
4.  Hit "Save"

What is the expected output? What do you see instead?
I expected server db to update and not just local.  Local updated but server 
did not. 

What version of the product are you using? On what operating system?
V 2.4. Windows XP OS. 

Please provide any additional information below.
Stack trace attached.

Original issue reported on code.google.com by b...@deal-sci.com on 8 Mar 2013 at 7:05

Attachments:

GoogleCodeExporter commented 8 years ago
Looks like you hit a conflict. It is throwing an Optimistic Lock Error. I am 
not sure why since I doubt you modified the record in the database from 
somewhere else. This looks like a False Detection Bug to me. I would try the 
same thing again and see if you can reproduce this. Here are the steps to 
follow:

* delete all data on the server. I am assuming you are using hsqldb. If thats 
the case just go to your jboss openmobster directory and do a : rm -rf data log 
tmp work

* delete all data locally in the CRUD App: Go to 
Settings>Applications>CRUD>Clear Data

* Start the JBoss server

* Launch the CRUD App. At this point Activate again and try to reproduce this 
issue.

Original comment by openmobs...@gmail.com on 8 Mar 2013 at 8:02