IRC Chat : 2013-11-25 - OpenMRS

00:01:28 *** raonyguimaraes has quit IRC
00:03:31 *** wluyima has joined #openmrs
00:05:24 *** djazayeri has joined #openmrs
00:05:24 *** ChanServ sets mode: +o djazayeri
00:20:11 *** djazayeri has quit IRC
00:25:38 *** wluyima has quit IRC
00:25:45 *** djazayeri has joined #openmrs
00:25:45 *** ChanServ sets mode: +o djazayeri
00:26:51 *** djazayeri has quit IRC
00:47:55 *** harshadura has joined #openmrs
00:47:55 *** ChanServ sets mode: +v harshadura
01:17:15 *** wluyima has joined #openmrs
01:53:56 <OpenMRSBot> Recent updates in the world of openmrsci: REFAPP-OMODDISTRO-1514 has FAILED : Dependant of RA-RA-301 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1514>
02:06:53 *** LeeBreisacher1 has joined #openmrs
02:10:36 *** harshadura_ has joined #openmrs
02:13:53 *** harshadura has quit IRC
04:18:27 *** Shangeetha has joined #openmrs
04:18:42 <Shangeetha> ibewes: Hi
04:30:33 *** Shangeetha has quit IRC
04:36:31 *** harsz89 has quit IRC
04:48:00 *** harsz89 has joined #openmrs
04:48:01 *** ChanServ sets mode: +v harsz89
05:21:03 *** shruthd has joined #openmrs
05:37:23 *** wluyima has quit IRC
05:42:52 *** shruthd has quit IRC
06:10:30 *** upul has quit IRC
06:24:30 *** dkayiwa has joined #openmrs
06:30:29 *** harsz89 has quit IRC
06:31:19 *** shruthd has joined #openmrs
07:19:32 *** shruthd has quit IRC
08:03:28 *** fouad_ has quit IRC
08:34:17 <ibewes> dkayiwa: good morning! Do you have time for a few xforms questions?
08:34:25 <dkayiwa> ibewes: yes
08:35:02 <ibewes> I'm having issues getting the encounter datetime and provider id to be automatically set
08:35:12 <ibewes> dkayiwa: I'm having issues getting the encounter datetime and provider id to be automatically set
08:35:28 <dkayiwa> ibewes: what did you try?
08:36:12 <ibewes> dkayiwa: I've tried setting the ENCOUNTER DATETIME to date() and now() (I forget which one it is supposed to be) but saving the patient xform does not seem to save that value
08:37:03 <ibewes> dkayiwa: the PROVIDER ID shows the correct sub-items for each provider, but my user is not automatically selected when I load the xform
08:37:42 <dkayiwa> ibewes: does the user have the provider role?
08:37:58 <ibewes> dkayiwa: ah... no, my user is just a sys-admin
08:38:36 <ibewes> dkayiwa: let me try that
08:38:40 <dkayiwa> ibewes: can you add a provider role to him and test again
08:41:45 <ibewes> dkayiwa: do I need to log out and back in?
08:42:04 <dkayiwa> ibewes: maybe
08:42:23 <ibewes> dkayiwa: no luck, still not working
08:43:12 <dkayiwa> ibewes: after adding a provider role to the account you have used to login?
08:43:22 <ibewes> dkayiwa: my user is set up as a sys admin and provider
08:43:25 <ibewes> dkayiwa: yeah
08:43:47 <dkayiwa> ibewes: did you set the provider global property?
08:44:45 <ibewes> dkayiwa: yes, Set Default Provider is set to true
08:45:18 <dkayiwa> ibewes: which version of OpenMRS ?
08:45:31 <ibewes> dkayiwa: 1.9.6
08:45:48 <dkayiwa> ibewes: can you pastebin your form and i look at it?
08:47:03 <ibewes> dkayiwa: you want the Xforms Xml tab content?
08:47:26 *** shruthd has joined #openmrs
08:47:27 <dkayiwa> ibewes: while in the form designer, select save as from the file menu and pastebin the saved file contents
08:49:14 <ibewes> dkayiwa: here you go: http://pastebin.com/NqmHiqWP
08:49:53 <dkayiwa> ibewes: checking it out
08:50:06 <ibewes> dkayiwa: thanks kindly!
08:51:48 <dkayiwa> ibewes: what is the user id of the login you are trying out?
08:52:14 <ibewes> dkayiwa: the user id is 3, the provider id is 1
08:54:03 <dkayiwa> ibewes: ok
08:56:38 <dkayiwa> ibewes: has this just started happening?
08:56:46 <dkayiwa> ibewes: was it working well before?
08:57:49 <ibewes> dkayiwa: a previous version of this form was working, but after making a change (added a new patient identifier) it stopped
08:58:02 <ibewes> dkayiwa: so this version of the form has not worked, no
08:58:12 <dkayiwa> ibewes: but other forms work?
08:58:28 <ibewes> dkayiwa: this is the only xform we are currently using
08:58:34 <dkayiwa> ibewes: ok
08:59:17 <dkayiwa> ibewes: open the form in the form design and try out the following
09:00:01 <dkayiwa> ibewes: in the xforms xml tab, look out for the duplicated <form></form> nodes
09:00:30 <dkayiwa> ibewes: move the <encounter.provider_id/> into the first <form/> node
09:00:48 <dkayiwa> ibewes: then delete the duplicate <form> node
09:00:58 <ibewes> dkayiwa: ok, I'll try that now
09:01:35 <ibewes> dkayiwa: do I need to save in a special way for that change to be actually saved?
09:01:39 <dkayiwa> ibewes: after that click the "Open" tool bar icon
09:01:58 <dkayiwa> ibewes: after doing the open, finally save
09:02:46 <dkayiwa> ibewes: then test again and tell me what happens
09:03:25 <ibewes> dkayiwa: it is still not working
09:03:39 <ibewes> dkayiwa: should that <form> element look like this:
09:03:41 <ibewes> dkayiwa: <form><encounter/><encounter.encounter_datetime/><encounter/><encounter.provider_id/></form>
09:04:07 <ibewes> dkayiwa: or should I get rid of those <encounter /> elements?
09:04:46 <dkayiwa> ibewes: let me look into it again and get back to in like 2hrs
09:05:03 <ibewes> dkayiwa: thank you very much for looking into this!
09:05:37 <dkayiwa> ibewes: you are welcome
09:05:40 <ibewes> dkayiwa: you're help is most appreciated :)
09:06:12 <ibewes> dkayiwa: meh... YOUR help. (I'm a grammar nazi about myself)
09:07:16 <dkayiwa> ibewes: :)
09:12:30 *** shruthd has quit IRC
09:14:19 *** dkayiwa has quit IRC
09:17:07 *** shruthd has joined #openmrs
09:29:28 *** shruthd has quit IRC
09:56:50 *** shruthd has joined #openmrs
10:02:28 *** Ch3ck_ has joined #openmrs
10:07:55 *** shruthd has quit IRC
10:17:09 *** Ch3ck_ has quit IRC
10:26:55 *** raonyguimaraes has joined #openmrs
10:27:44 *** shruthd has joined #openmrs
10:38:48 *** shruthd has quit IRC
10:48:51 *** shruthd has joined #openmrs
10:51:26 *** Ch3ck_ has joined #openmrs
10:54:50 *** dkayiwa has joined #openmrs
11:00:07 *** shruthd has quit IRC
11:03:20 *** shruthd has joined #openmrs
11:09:49 *** dkayiwa has quit IRC
11:14:25 *** shruthd has quit IRC
11:19:53 *** shruthd has joined #openmrs
11:26:06 *** Ch3ck_ has quit IRC
11:33:51 *** shruthd has quit IRC
11:37:43 *** shruthd has joined #openmrs
11:50:38 *** Ch3ck_ has joined #openmrs
11:51:27 *** shruthd has quit IRC
11:52:38 *** shruthd has joined #openmrs
11:55:37 *** harsz89 has joined #openmrs
11:55:38 *** ChanServ sets mode: +v harsz89
12:00:29 *** harsz89 has quit IRC
12:02:48 *** wluyima has joined #openmrs
12:03:18 *** shruthd has quit IRC
12:10:47 *** harshadura__ has joined #openmrs
12:13:49 *** shruthd has joined #openmrs
12:13:55 *** harshadura_ has quit IRC
12:23:56 *** wluyima has quit IRC
12:24:17 *** wluyima has joined #openmrs
12:28:38 *** shruthd has quit IRC
12:31:00 *** harsz89 has joined #openmrs
12:31:00 *** ChanServ sets mode: +v harsz89
12:32:02 *** shruthd has joined #openmrs
12:34:25 *** dkayiwa has joined #openmrs
12:47:43 *** shruthd has quit IRC
12:50:39 *** Ch3ck_ has quit IRC
13:25:58 *** harsz89 has quit IRC
13:32:57 *** dkayiwa has quit IRC
14:19:16 *** dkayiwa has joined #openmrs
14:21:51 *** taygun has joined #openmrs
14:23:43 *** taygun has quit IRC
14:24:12 *** taygun has joined #openmrs
14:31:29 *** Ch3ck_ has joined #openmrs
14:33:51 <wluyima> cpower: url?
14:34:55 *** LeeBreisacher has joined #openmrs
14:36:08 <wluyima> dkayiwa: hangout url?
14:36:26 <dkayiwa> wluyima: i do not know
14:38:11 *** LeeBreisacher1 has quit IRC
14:38:13 <OpenMRSBot> Recent updates in the world of openmrsci: REFAPP-OMODDISTRO-1515 has FAILED : Dependant of RA-RA-302 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1515>
14:57:32 *** taygun has quit IRC
15:03:49 <cpower> Hello everyone, sorry early morning meeting threw my schedule off
15:03:54 <cpower> Ready to scrum?
15:04:11 <cpower> !scrumon cpower
15:04:12 * OpenMRSBot says the DAILY SCRUM MEETING is STARTING. This meeting should not last longer than 15 minutes. Please hold other comments until the end of the meeting, or message someone privately. Thank you! ScrumMaster cpower- you may begin when ready.
15:04:44 <cpower> Order: rafa , dkayiwa , LeeBreisacher (if you want to), wluyima
15:06:20 <cpower> rafa: go for it
15:06:40 *** Ch3ck_ has quit IRC
15:08:28 <cpower> ok dkayiwa how about you?
15:08:43 <dkayiwa> Had some time with one of Tobin's students
15:08:43 <dkayiwa> Did some ticket management tasks
15:08:44 <dkayiwa> Looked into the issue of large implementations taking too long to upgrade to 1.9
15:08:44 <dkayiwa> No Blockers
15:09:27 <cpower> LeeBreisacher: If we didn't have a call this morning, do you hvae any blockers
15:09:49 <LeeBreisacher> in a meeting..10 minutes..
15:10:09 <wluyima> Thursday:
15:10:10 <wluyima> - dev call
15:10:11 <wluyima> - Present the UI framework and RA projects during the GHI Work In Progress
15:10:13 <wluyima> - Merging code for TRUNK-4123,TRUNK-4124,TRUNK-4124 (very painful)
15:10:14 <wluyima> Friday:
15:10:16 <wluyima> - review last commits for module life cycle ticket
15:10:17 <wluyima> - more order entry work
15:10:18 <wluyima>
15:10:19 <wluyima> Blockers: None
15:10:43 <wluyima> sorry i mixed up my update
15:11:24 <cpower> No worries
15:11:45 <cpower> ok Design call later today with Bahmni and maybe KenyaEMR
15:11:52 <cpower> That's all I've got!
15:11:55 <cpower> !scrumoff
15:11:55 * OpenMRSBot says the DAILY SCRUM MEETING has ENDED. This channel is now returned to normal hacking operations. Post-scrum meeting follow-up conversations may now begin.
15:11:56 <rafa> cpower: sorry I had irc off
15:12:03 <rafa> Today:
15:12:03 <rafa> * Reviewed RESTWS-398 Support gender, birthdate, birthdateEstimated, addresses, attributes and names as updatable properties in PersonResource.
15:12:03 <rafa> https://tickets.openmrs.org/browse/RESTWS-398
15:12:03 <rafa> * Continue reviewing RESTWS tickets
15:12:03 <rafa> No blockers.
15:12:11 <cpower> no worries
15:12:16 <cpower> thanks for the update!
15:15:00 <LeeBreisacher> I'm back
15:15:24 <LeeBreisacher> and there is sortof a blocker: the ref app bamboo build continues to hang every time it is run.
15:15:29 *** sgithens has joined #openmrs
15:15:42 <LeeBreisacher> I really think the bamboo server needs looking at (or reboot)
15:15:46 <dkayiwa> ibewes: hi
15:16:00 <LeeBreisacher> cpower: see above..
15:16:02 <ibewes> dkayiwa: hi there!
15:16:03 <cpower> LeeBreisacher: you working with Breeze on that or is there someone better suited?
15:16:11 <dkayiwa> ibewes: one more change
15:16:17 *** robbyoconnor has quit IRC
15:16:30 <LeeBreisacher> cpower: Breeze had some suggestions, but I thought he does not have time to do any actual work
15:16:46 <LeeBreisacher> cpower: plus, I don't know who has permissions to fiddle with the bamboo server
15:17:10 <dkayiwa> ibewes: under the xforms xml tab, after <form> create <<encounter> under it
15:17:13 <cpower> wluyima: Do you have the permissions?
15:17:26 *** harsz89 has joined #openmrs
15:17:26 *** ChanServ sets mode: +v harsz89
15:17:41 <dkayiwa> ibewes: then under that encounter node, put encounter.provider_id and encounter.encounter_datetime
15:17:49 <wluyima> LeeBreisacher i ssh access to the server
15:18:01 <dkayiwa> ibewes: after that, click the open tool bar icon. Finally save and test again
15:18:01 <ibewes> dkayiwa: ok, i'll try that now
15:18:07 <wluyima> LeeBreisacher: i.e. devtest01 and 02
15:18:17 <LeeBreisacher> wluyima: no no, we're talking about Bamboo
15:19:09 <LeeBreisacher> cpower, wluyima: I'm pretty sure devtest01/02 are fine. I can run the UI tests from here and they work ok. but from bamboo, they always hang.
15:19:30 <ibewes> dkayiwa: awetsome.... that was it!
15:19:38 <ibewes> dkayiwa: awesome even
15:19:39 <LeeBreisacher> cpower, wluyima: so we need someone with permissions for ci-stg.openmrs.org
15:19:44 <dkayiwa> ibewes: thanks :)
15:19:50 <cpower> LeeBreisacher: I'm talking to Ryan (our IT guy) to see if he can reboot it
15:19:57 <LeeBreisacher> cpower. ty
15:20:21 <ibewes> dkayiwa: do you have any idea about the inability to save a default value for the ENCOUNTER DATETIME?
15:20:42 <dkayiwa> ibewes: does it show the value when entering the form?
15:20:51 <ibewes> dkayiwa: no, it is blank
15:20:54 <rafa> LeeBreisacher: do you just need bamboo to be restarted?
15:21:23 <ibewes> dkayiwa: nevermind
15:21:28 <LeeBreisacher> rafa: that would be good, yes. not certain it will fix it, but would like to try.
15:21:32 <dkayiwa> ibewes: you fixed it? :)
15:21:35 <rafa> LeeBreisacher: let me try
15:21:39 <ibewes> dkayiwa: I guess that xml change also allows me to properly save the default now as well
15:21:49 <dkayiwa> ibewes: oh good
15:21:54 <ibewes> dkayiwa: you rock. What you're paid should be doubled :)
15:22:05 <dkayiwa> ibewes: hahahahaha :)
15:22:05 <LeeBreisacher> rafa: also, it would be nice if someone could sort of look around at what's running on the bamboo server
15:22:18 <ibewes> dkayiwa: thanks very much for your help!
15:22:18 <LeeBreisacher> rafa: try to figure out why the UI tests keep hanging.
15:22:31 <dkayiwa> ibewes: you are welcome. thanks for your patience too!
15:22:50 <LeeBreisacher> rafa: but if that cannot be done, then restart it to see if it fixes it
15:23:52 <rafa> LeeBreisacher: ok, I'm restarting it right now
15:24:01 <LeeBreisacher> rafa: thanks
15:24:25 <rafa> LeeBreisacher: if it still hangs I'll investigate further
15:24:41 <LeeBreisacher> rafa: perfect
15:25:32 <cpower> LeeBreisacher: wluyima did that Friday (reboot) and if it doesn't fix it please fill out at https://tickets.openmrs.org/secure/CreateIssue.jspa?pid=10062&issuetype=6 and give whatever details you can and Ryan and Downey will put their magical touch to it.
15:26:44 <LeeBreisacher> cpower: wait, are you saying that ci-stg *was* restarted on Friday?
15:26:56 <cpower> LeeBreisacher: yes
15:27:15 <cpower> wluyima: please confirm
15:27:20 <LeeBreisacher> cpower: sigh. would have been nice to know that.
15:27:33 <wluyima> cpower: confirm what?
15:27:39 <LeeBreisacher> cpower: wyclif rebooted devtest01, not ci-stg
15:27:59 <cpower> ok Ryan said he rebooted ci-stg
15:28:04 <OpenMRSBot> Recent updates in the world of openmrsci: REFAPP-OMODDISTRO-1515 has FAILED : Dependant of RA-RA-302 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1515> || REFAPP-OMODDISTRO-1514 has FAILED : Dependant of RA-RA-301 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1514> || REFAPP-OMODDISTRO-1513 has FAILED : Dependant of RA-RA-299 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1513> || REFAPP-OMODDISTRO-1512 has FAILED : Updated by Lee Breisacher <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1512> || REFAPP-OMODDISTRO-1511 has FAILED : Manual build by Lee Breisacher <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1511> || REFAPP-OMODDISTRO-1510 has FAILED : Dependant of RA-RA-298 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1510> || REFAPP-OMODDISTRO-1509 has FAILED : Dependant of RA-RA-297 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1509> || REFAPP-OMODDISTRO-1508 has FAILED : Updated by Fernando Freire <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1508> || REFAPP-OMODDISTRO-1507 has FAILED : Rebuilt 1 times <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1507> || REP-REP-78 has FAILED : Updated by djazayeri <https://ci-stg.openmrs.org/browse/REP-REP-78> || SON-DISPENSING-57 has FAILED : Scheduled build <https://ci-stg.openmrs.org/browse/SON-DISPENSING-57> || SON-OPENMRSCOREMASTER-57 has FAILED : Scheduled build <https://ci-stg.openmrs.org/browse/SON-OPENMRSCOREMASTER-57>
15:28:24 <cpower> wluyima: What did you reboot Friday? Devtest or cgi-stg?
15:28:30 <cpower> or both
15:28:32 <ryates> cpower, LeeBreisacher: yeah it was devtest01, sorry about that
15:28:34 <cpower> :-)
15:28:53 <cpower> no worries
15:29:16 <wluyima> i restarted devtest01
15:38:01 <LeeBreisacher> rafa: darn, it appears to be stuck again.
15:38:55 <rafa> LeeBreisacher: is it stack always on jdbc.connectionurl: jdbc:mysql://devtest01.openmrs.org:3306/openmrs ?
15:39:27 <LeeBreisacher> rafa: well, that's the last thing printed out, but that just means it is stuck inside the UI test somewhere
15:39:37 <rafa> LeeBreisacher: I see
15:39:54 <LeeBreisacher> rafa: can you see what processes are running?
15:39:57 *** djazayeri has joined #openmrs
15:39:58 *** ChanServ sets mode: +o djazayeri
15:40:09 <LeeBreisacher> rafa: I'm not sure how to figure this out.
15:40:39 <LeeBreisacher> rafa: I could try putting in lots of debug print statements so we can try to figure out exactly what's getting stuck.
15:40:42 <rafa> LeeBreisacher: I'll look at server logs to see if anything is going on
15:41:01 <rafa> LeeBreisacher: it's devtest01 right?
15:41:01 <LeeBreisacher> rafa: or maybe there's a way to remote debug it -- that would be ideal
15:41:30 <LeeBreisacher> rafa: well, sort of. but devtest01 won't tell you anything, I don't think
15:41:55 <rafa> LeeBreisacher: if ui tests are still running I should see some logs there
15:42:28 <LeeBreisacher> rafa: logs where? on devtest01? yes, but they won't tell you much. I don't think. but sure, have a look.
15:42:40 <LeeBreisacher> rafa: the tests are running ON ci-stg, using an ordinary firefox browser to "operate" the refapp on devtest01.
15:43:29 <LeeBreisacher> rafa: so looking at devtest01 doesn't tell us much about where the test is at the moment it gets stuck
15:46:57 <LeeBreisacher> rafa: here's something that might be useful: we're using xvfb on bamboo so that firefox can be run without an actual browser window opening on bamboo. and xvfb appears to do some logging here: [INFO] Redirecting output to: /opt/bamboo-home/xml-data/build-dir/REFAPP-OMODDISTRO-INTTESTS/ui-tests/target/selenium/xvfb.log
15:47:31 <LeeBreisacher> rafa: do you have permissions on ci-stg to look at that log?
15:47:43 <rafa> LeeBreisacher: yes
15:48:15 <LeeBreisacher> rafa: unfortunately, I don't know what log looks like, or is supposed to look like, but might be useful...
15:49:29 <rafa> LeeBreisacher: nothing appears to be happening on devtest01 right now
15:49:47 <rafa> LeeBreisacher: I'll have a look at xvfb
15:49:51 <LeeBreisacher> rafa: yes, that makes sense. because the test is stuck.
15:53:11 <rafa> LeeBreisacher: all it has is http://pastebin.com/vEY5dVts
15:53:38 <LeeBreisacher> rafa: hm. darn.
15:54:40 <LeeBreisacher> rafa: do you see the jvm process that's running the tests?
15:55:00 <LeeBreisacher> rafa: is it possible to get a stack trace dump of that jvm?
15:56:09 <rafa> LeeBreisacher: well I see 2 java processes for bamboo
15:56:15 <rafa> LeeBreisacher: one of them is probably running tests
15:56:28 <LeeBreisacher> rafa: one of them is bamboo itself, pretty sure.
15:56:55 <LeeBreisacher> rafa: so be careful with that one!
15:57:17 <rafa> LeeBreisacher: no, I'm not counting bamboo itself
15:57:23 <rafa> LeeBreisacher: it's easy to identify that
15:57:29 <LeeBreisacher> rafa: ah
15:58:08 <rafa> LeeBreisacher: http://pastebin.com/bZAD118U
16:00:53 <LeeBreisacher> rafa: hm. I don't remember how to get a stack dump from a jvm process.
16:01:18 <LeeBreisacher> rafa: I think there's a kill command that will do it?
16:01:37 <rafa> LeeBreisacher: yeah
16:02:20 <LeeBreisacher> rafa: looks like there's something calle jstack
16:03:35 <LeeBreisacher> rafa: yeah, that's it. looks like you can just type "jstack <pid>"
16:03:58 <LeeBreisacher> rafa: jstack -F
16:04:22 <LeeBreisacher> rafa: and maybe -l too
16:05:08 <LeeBreisacher> rafa: try 22791 I guess. and maybe also 22726?
16:05:43 <LeeBreisacher> rafa: and thank you for digging into this!
16:07:35 <rafa> http://pastebin.com/Xi7u2FbU
16:09:31 <rafa> here is the 22791 http://pastebin.com/vUuf6ELu
16:11:14 <LeeBreisacher> rafa: 22791 is the stuck test. looks like it is just trying to startup the Selenium firefox driver.
16:12:45 <rafa> LeeBreisacher: incompatible firefox version?
16:13:18 <LeeBreisacher> rafa: can we tell what version of ff is on that server? and if it was maybe updated recently?
16:15:06 *** robbyoconnor has joined #openmrs
16:15:06 *** ChanServ sets mode: +v robbyoconnor
16:18:01 <LeeBreisacher> rafa: looks like we're using selenium drivers version 2.33 and the latest is 2.37. I could update that - see if it helps..
16:18:29 <rafa> LeeBreisacher: worth trying
16:18:38 <rafa> LeeBreisacher: I can't find firefox on ci-stg :/
16:18:56 <LeeBreisacher> rafa: whoa. must be there somewhere..
16:19:20 <rafa> LeeBreisacher: firefox -v just says it's not installed
16:19:27 <LeeBreisacher> rafa: the ps you showed me has: /usr/lib/firefox/firefox -silent
16:19:57 <rafa> LeeBreisacher: right
16:20:08 <LeeBreisacher> rafa: maybe we should just reinstall it?
16:20:11 <downey> mjdowney@gw78:~$ /usr/bin/firefox --version
16:20:12 <downey> Mozilla Firefox 25.0
16:20:12 <rafa> LeeBreisacher: let me check
16:20:15 *** Ch3ck_ has joined #openmrs
16:22:08 <rafa> downey: thanks
16:22:16 <rafa> LeeBreisacher: yeah, so it's the latest
16:23:18 <rafa> LeeBreisacher: let's try upgrading selenium then
16:23:32 <LeeBreisacher> rafa: yep, working on it..
16:28:06 *** shruthd has joined #openmrs
16:35:24 <OpenMRSBot> Recent updates in the world of openmrsci: REFAPP-OMODDISTRO-1516 has FAILED : Manual build by Rafał Korytkowski <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1516>
16:38:10 *** aramirez has joined #openmrs
16:41:18 *** k-joseph has joined #openmrs
16:44:08 <LeeBreisacher> rafa: arg, appears to be stuck again...
16:44:21 *** aramirez has quit IRC
16:44:29 <LeeBreisacher> rafa: should we try re-installing firefox?
16:49:56 *** LeeBreisacher1 has joined #openmrs
16:53:43 *** LeeBreisacher has quit IRC
16:58:00 *** aramirez has joined #openmrs
17:00:53 <aramirez> dkayiwa: hey
17:00:59 <dkayiwa> aramirez: hi
17:01:12 <aramirez> dkayiwa: how re you
17:02:23 <dkayiwa> aramirez: am good. and u?
17:06:44 <djazayeri> wluyima: hi
17:06:53 <wluyima> djazayeri: hi
17:08:35 <djazayeri> wluyima: burke suggested it would be better to discuss this on IRC, for posterity, but I think it will be more efficient by hangout. :-)
17:08:50 <djazayeri> wluyima: let's try here first]
17:08:55 <wluyima> djazayeri: ol
17:09:01 <wluyima> djazayeri: ok
17:09:33 <djazayeri> wluyima: basically, in OpenMRS 1.9, a single Order (a single row in the order table) records all of:
17:09:55 <djazayeri> when it started, when it discontinued, and why it is discontinued
17:10:39 <wluyima> ok
17:16:28 <djazayeri> wluyima: (sorry, got called away, back in 15 or so, maybe best to talk after lunch for you)
17:16:42 <aramirez> dkayiwa: pretty good
17:16:53 <wluyima> djazayeri: makes sense, let me grab my lunch first
17:17:04 *** robbyoconnor has quit IRC
17:17:07 *** k-joseph has quit IRC
17:17:09 *** k-joseph_ has joined #openmrs
17:17:31 *** wluyima has quit IRC
17:17:44 <dkayiwa> aramirez: excellent :)
17:17:53 *** wluyima has joined #openmrs
17:23:03 <aramirez> dkayiwa: i was wondering if there are any options besides xforms.setDefaultProvider and xforms.useAutocompleteForProviders that have to do with the provider id dropbox
17:23:21 <dkayiwa> aramirez: what did you want?
17:24:36 <aramirez> dkayiwa: i want xforms to autofill the provider id in the forms
17:24:49 <dkayiwa> aramirez: did it fail to happen?
17:24:56 <aramirez> dkayiwa: yes
17:25:18 <dkayiwa> aramirez: does the logged in account have the provider role?
17:25:30 <aramirez> dkayiwa:yes
17:25:47 <dkayiwa> aramirez: do a file save as and pastebin the form for me
17:25:55 <aramirez> dkayiwa:i got an error about priveleges and had to upscale it to system administrator
17:26:36 <aramirez> dkayiwa:as system administrator it doesnt occur but the autofill doesnt happen
17:26:49 <aramirez> dkayiwa:ok file save of what?
17:27:05 <dkayiwa> aramirez: of the form while in the form designer
17:27:10 <aramirez> ok
17:27:13 <aramirez> dkayiwa:ok
17:32:31 <aramirez> dkayiwa: http://pastebin.com/pLSTZHS9
17:33:04 *** k-joseph_ has quit IRC
17:35:15 <dkayiwa> aramirez: what is the login account's user_id?
17:39:19 <aramirez> dkayiwa:gb.openmrs.child5_4
17:39:37 <dkayiwa> aramirez: what does that mean
17:45:07 <aramirez> dkayiwa:i thought you asked for the system id
17:45:29 <aramirez> dkayiwa:user id is drjenny
17:46:12 <dkayiwa> aramirez: the numeric id
17:47:29 <aramirez> dkayiwa:user id=4
17:48:39 <dkayiwa> aramirez: what is the id of the form you are trying to fill
17:53:13 *** k-joseph has joined #openmrs
17:55:32 *** aramirez has quit IRC
17:59:31 *** harshadura__ has quit IRC
18:11:23 *** dkayiwa has quit IRC
18:12:19 *** k-joseph has quit IRC
18:13:49 *** dkayiwa has joined #openmrs
18:21:52 <OpenMRSBot> Recent updates in the world of openmrsci: REP-REP-87 has FAILED (1 tests failed) : Triggered by child REPREST-REPREST <https://ci-stg.openmrs.org/browse/REP-REP-87>
18:28:06 *** LeeBreisacher has joined #openmrs
18:31:42 *** LeeBreisacher1 has quit IRC
18:53:58 <OpenMRSBot> Recent updates in the world of openmrsci: REFAPP-OMODDISTRO-1517 has FAILED : Updated by Lee Breisacher <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1517>
19:11:42 *** aramirez has joined #openmrs
19:14:02 <OpenMRSBot> Recent updates in the world of openmrsci: REFAPP-OMODDISTRO-1518 has FAILED : Dependant of RA-RA-303 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1518>
19:15:17 <djazayeri> wluyima: hi
19:16:03 <wluyima> ji djazayeri
19:16:09 <wluyima> hi djazayeri
19:16:18 <djazayeri> wluyima: want to continue the earlier discussion?
19:17:53 <wluyima> djazayeri: sure
19:19:05 <djazayeri> wluyima: okay, so...
19:19:34 <djazayeri> wluyima: up to 1.9 the whole lifecycle of an order is represented by a single row in the order (+/- drug_order) tables
19:20:13 <djazayeri> wluyima: i.e. placing an order is about the start_date, autoexpire_date, creator, date_created columns
19:20:50 <wluyima> ok
19:21:05 <djazayeri> wluyima: and stopping an order is setting its discontinued_date, discontinued_reason, discontinued_by, etc on the original order.
19:21:40 <djazayeri> wluyima: we are changing things to reflect the reality that asking for an order to be stopped prematurely is _also_ an order on its own
19:22:00 <wluyima> djazayeri: ok i though auto expire date was also part of stopping an order
19:22:44 <djazayeri> wluyima: auto_expire_date is the date at which the order will automatically stop being active, true. But it is something you would declare as the order is initially placed.
19:23:03 <djazayeri> wluyima: so yes, it's _about_ stopping an order, but it's part of the original order that you write.
19:23:13 <djazayeri> wluyima: so in 1.10+, placing an order is still going to create start_date, autoexpire_date, creator, date_crated.
19:23:50 <aramirez> dkayiwa:form 6
19:23:58 <djazayeri> wluyima: but to stop an order, instead of just writing additional fields on that original order, discontinuing (or revising) a preexisting order is a new order of its own
19:24:46 <djazayeri> wluyima: and some of the audit information previously stored on the original order will instead be capturing on the discontinuing/revising order
19:25:16 *** raonyguimaraes has quit IRC
19:25:28 <djazayeri> wluyima: we still want to have a discontinued_date on order, because you need this to be able to compute very quickly whether an order is active or not.
19:25:50 <djazayeri> wluyima: and actually we probably want to rename this to stop_datetime, as discussed before
19:25:54 <wluyima> ok
19:26:06 <djazayeri> wluyima: but all the other audit fields about discontinuation should move
19:26:49 <djazayeri> wluyima: let's say we have two orders called "initial" and "stop"
19:27:04 <djazayeri> wluyima: discontinued_by -> (stop order).creator
19:27:20 <djazayeri> wluyima: discontinued_reason -> (stop order).order_reason
19:27:26 <djazayeri> wluyima: (similar for non-coded)
19:29:05 <djazayeri> wluyima: does that make sense?
19:29:28 <wluyima> djazayeri: you said, but all the other audit fields about discontinuation should move, move to where?
19:30:18 <djazayeri> wluyima: so, if you were going to properly migrate a 1.9 row for a drug_order that was discontinued, you'd end up with two orders, one for the drug_order with action=NEW and a second (not a drug_order) with action=DISCONTINUE
19:30:40 <djazayeri> wluyima: and the original discontinued_reason would end up as the order_reason of the d/c order
19:30:42 <wluyima> djazayeri: and what does this mean discontinued_by -> (stop order).creator?
19:32:02 <djazayeri> wluyima: I mean that in 1.10 we will drop the orders.discontinued_by column
19:32:30 <djazayeri> wluyima: the audit info about who discontinued an order belongs on the *order* that stops it.
19:32:58 <wluyima> can we choo
19:33:43 <wluyima> djazayeri: so we are dropping orders.discontinued_by and orders. discontinued_reason
19:33:54 <djazayeri> wluyima: yes
19:34:01 <djazayeri> wluyima: and adding orders.order_reason
19:40:05 *** raonyguimaraes has joined #openmrs
19:40:57 <wluyima> djazayeri: ok
19:41:02 <wluyima> djazayeri: thanks
19:42:38 <wluyima> djazayeri: so order_reason is the reason why the order was placed?
19:42:53 <djazayeri> wluyima: yes. and it would be optional
19:42:57 <djazayeri> wluyima: it would be fk Concept
19:43:40 *** Ch3ck_ has quit IRC
19:43:50 <wluyima> djazayeri: ok
19:43:57 <wluyima> djazayeri: got you
19:44:45 <djazayeri> wluyima: and we also need order_reason_non_coded
19:45:00 <wluyima> djazayeri: ok
19:49:17 *** fouad_ has joined #openmrs
19:56:20 *** Ch3ck_ has joined #openmrs
20:36:18 *** wluyima has quit IRC
20:36:22 *** aramirez has quit IRC
20:44:39 *** shruthd has quit IRC
20:56:39 *** Ch3ck_ has quit IRC
21:08:36 *** Ch3ck_ has joined #openmrs
21:13:14 *** wluyima has joined #openmrs
21:16:18 *** dkayiwa has quit IRC
21:16:59 *** dkayiwa has joined #openmrs
21:21:48 *** upul has joined #openmrs
21:27:34 *** wluyima has quit IRC
21:37:53 *** dkayiwa_ has joined #openmrs
21:39:51 *** dkayiwa has quit IRC
21:40:05 *** dkayiwa_ is now known as dkayiwa
21:41:15 *** LeeBreisacher has quit IRC
21:51:42 *** Ch3ck_ has quit IRC
22:01:10 *** dkayiwa has left #openmrs
22:15:28 *** LeeBreisacher has joined #openmrs
22:20:53 *** sgithens has quit IRC
22:32:30 *** wluyima has joined #openmrs
23:39:55 *** raonyguimaraes has quit IRC
23:50:17 *** sgithens has joined #openmrs
23:57:05 <OpenMRSBot> Recent updates in the world of openmrsci: REFAPP-OMODDISTRO-1519 has FAILED : Dependant of RA-RA-304 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1519>