Skip to content
This repository has been archived by the owner on Jun 7, 2018. It is now read-only.

Data does not get saved when doctor puts first time in diagnosis, medication, advice, test #44

Closed
prithi69 opened this issue Aug 19, 2017 · 9 comments

Comments

@prithi69
Copy link
Collaborator

prithi69 commented Aug 19, 2017

after adding the medications, diagnosis, advice, test:
untitled-1

Refreshing the page, medications, advice, test got vanished.
untitled-2

@prithi69
Copy link
Collaborator Author

ITS a Rest API ISSUE..

@prithi69
Copy link
Collaborator Author

prithi69 commented Nov 3, 2017

400 bad request is coming on angular.js

@amalafrozalam amalafrozalam changed the title data not get saved when doctor puts first time in diagnosis, medication, advice, test #41 Data does not get saved when doctor puts first time in diagnosis, medication, advice, test Nov 14, 2017
@amalafrozalam amalafrozalam self-assigned this Nov 23, 2017
@nehav39 nehav39 added this to the Release 1.0 milestone Nov 29, 2017
@nehav39
Copy link
Owner

nehav39 commented Nov 30, 2017

So I was able to replicate this issue, I am not sure of the cause, it does not appear to be occuring on any other page of the ref app, so it may have to do with optimizing angular code.

@amalafrozalam
Copy link

Break through!
So issue 23 is being CAUSED by this issue. When the code looks to see if these sections are filled in, it doesn't find anything. I think this is what is causing issue 23.

@amalafrozalam
Copy link

So data is saved to the database, but it seems like it's not retrieved properly.

@amalafrozalam
Copy link

amalafrozalam commented Dec 7, 2017

Diagnosis still does not work. But I cannot replicate the issue. I have tried with 5 different patients, but I am able to retrieve the data I posted. Screenshots are provided below.

This is what it looks like before I do anything:
screen shot 2017-12-07 at 4 29 47 pm

This is me after putting in some information:
screen shot 2017-12-07 at 4 31 43 pm

This is me after refreshing the page to see if I can see what I wrote:
screen shot 2017-12-07 at 4 31 54 pm

This is me after completely logging out and reviewing the page. Note, I also checked if issue #23 is being replicated, it is not:
screen shot 2017-12-07 at 4 33 52 pm

And this is me after completely restarting the server:
screen shot 2017-12-07 at 4 37 46 pm

I have no idea how/if this issue is being caused. Perhaps the REST API on the other machines was out of date, broken, or something else.

@amalafrozalam
Copy link

@nehagoel2 and @prithi69 please report the steps you take to replicate this issue. Because I have no idea what is happening.

@amalafrozalam
Copy link

This will be posted on OpenMRS talk.

@amalafrozalam amalafrozalam modified the milestones: Release 1.0, Release 1.1 Dec 8, 2017
@hardikk08 hardikk08 self-assigned this Jan 3, 2018
@prithi69
Copy link
Collaborator Author

prithi69 commented Jan 4, 2018

Data have been posted now with one encounter, tested in cloud and local,

@prithi69 prithi69 closed this as completed Jan 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants