kesavkolla / bodyfs

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

Data loss on 'prev' button #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1.prev button on Diagnosis, Treatment and Prescription pages do not save data.

Ex- If I provide some info on Diagnosis, then go to next page, then come
back on Diagnosis page again by clicking on prev button, I do not see the
info I provided. 

2. When I am working on a patient who is in the waiting queue, the patient
get highlighted in gold. But when I click on prev button, the gold
highlight vanishes and the name text box becomes gray.

FYI - the patient waiting queue gets populated with new list only on any
click or on refresh. The page do not refresh it self dynamically. Is it the
expected system behavior?

Original issue reported on code.google.com by alpana.p...@gmail.com on 6 Apr 2010 at 11:08

GoogleCodeExporter commented 9 years ago
Can't reproduce.

Original comment by kesavko...@gmail.com on 8 Apr 2010 at 12:14

GoogleCodeExporter commented 9 years ago
I still see the issue as of this morning.

Steps that I followed -
1. Signed-in as wadhwa alpana in SIA agent
2. I see the patient queue in hlife Admin
3. Clicked on the patient name - it took me to the patient sign-in page
4. I clicked on next, it tool me to Diagnosis page.
5. I checked few radio buttons and selected few options from dropdown menus.
6. I clicked on next and now I am on Treatment page.
7. I didn't provide any data here, just clicked on prev button and now I am 
back on
the Diagnosis page. FYI - per Amit, he got an alert error to select a service 
but I
didnt' get any such alert and I did not chose any service on this page.
8. Here I don't see the data I provided before.

url I am using -
http://body-fs-test.appspot.com/pages/patient/treatment.zul?id=157002&visitDate=
1270623600000

Kesav, if you still can't reproduce this scenario, then may be we can sit 
together
sometime during day and try to recreate again.
Either I am missing something here or there actually is an issue.

Original comment by alpana.p...@gmail.com on 8 Apr 2010 at 5:32

GoogleCodeExporter commented 9 years ago
I tried it as well, but can't reproduce this. I also got the dialog box when I 
clicked 
on Prev button in the treatment asking me to choose at least one service.

Not sure what's going on with Alpana's test. I will remote login with her and 
check it.

Original comment by neelka...@gmail.com on 8 Apr 2010 at 5:48

GoogleCodeExporter commented 9 years ago

Original comment by kesavko...@gmail.com on 9 Apr 2010 at 4:47

GoogleCodeExporter commented 9 years ago
Data loss at 3 places with back and prev button -

1. Notes in Diagnosis (hlifeadmin)
2. Service check boxes on Treatment (hlifeadmin) - with prev button only
3. Service check boxes on Prescription (hlifeadmin) - Herbal Treatment, Powder, 
Pill, 
Capsule

fyi, I was on test link - http://body-fs-
test.appspot.com/pages/patient/prescription.zul?id=112012&visitDate=127162848336
9

Original comment by alpana.p...@gmail.com on 18 Apr 2010 at 10:14

GoogleCodeExporter commented 9 years ago
Hi Kesav,

We found the crux of the issue finally, it has to do with the saving of the 
data. The 
data on treatment page related to service performed and the data on 
prescription page 
related to service performed are being saved on in the same place in DB and 
therefore 
being overwritten and because of which only one of the other service data is 
stored. 
Thats the reason for this data loss issue.

Original comment by neelka...@gmail.com on 19 Apr 2010 at 12:37

GoogleCodeExporter commented 9 years ago
data loss in herbal Treatment is fixed, finally i do not see any more dataloss 
! 

Original comment by amitagra...@gmail.com on 21 Apr 2010 at 4:54