IRC Chat : 2013-09-12 - OpenMRS

00:13:15 *** wyclif has joined #openmrs
00:25:31 *** NameFILIP has joined #openmrs
00:25:31 *** ChanServ sets mode: +v NameFILIP
00:30:06 *** NameFILIP has quit IRC
01:26:02 *** NameFILIP has joined #openmrs
01:26:02 *** ChanServ sets mode: +v NameFILIP
01:28:26 *** shruthd has joined #openmrs
01:30:37 *** NameFILIP has quit IRC
02:05:23 *** shruthd has joined #openmrs
02:24:10 *** shruthd has quit IRC
02:24:13 *** djazayeri has quit IRC
02:26:32 *** NameFILIP has joined #openmrs
02:26:32 *** ChanServ sets mode: +v NameFILIP
02:30:51 *** NameFILIP has quit IRC
02:41:30 *** LeeBreisacher1 has left #openmrs
03:27:03 *** NameFILIP has joined #openmrs
03:27:03 *** ChanServ sets mode: +v NameFILIP
03:31:15 *** NameFILIP has quit IRC
04:27:32 *** NameFILIP has joined #openmrs
04:27:33 *** ChanServ sets mode: +v NameFILIP
04:32:05 *** NameFILIP has quit IRC
04:47:43 *** harshadura has joined #openmrs
04:47:43 *** ChanServ sets mode: +v harshadura
04:52:34 *** mareias has joined #openmrs
05:06:15 *** maninc has joined #openmrs
05:08:51 *** shruthd has joined #openmrs
05:27:29 *** djazayeri has joined #openmrs
05:27:29 *** ChanServ sets mode: +o djazayeri
05:28:01 *** NameFILIP has joined #openmrs
05:28:01 *** ChanServ sets mode: +v NameFILIP
05:32:21 *** NameFILIP has quit IRC
06:02:31 *** shruthd has quit IRC
06:24:31 *** shruthd has joined #openmrs
06:38:18 *** harshadura has quit IRC
06:38:51 <mareias> hey rafa
06:38:58 <mareias> rafa: are you there? :)
06:40:44 *** wyclif has quit IRC
06:43:32 <mareias> djazayeri: Darius? :)
06:51:00 *** harshadura has joined #openmrs
06:51:00 *** ChanServ sets mode: +v harshadura
06:51:19 *** djazayeri has quit IRC
06:56:42 *** rcrichton has joined #openmrs
06:58:36 *** NameFILIP has joined #openmrs
06:58:36 *** ChanServ sets mode: +v NameFILIP
07:02:39 *** NameFILIP has quit IRC
07:43:59 *** shruthd has quit IRC
07:51:46 *** Mkop has quit IRC
07:51:57 *** Mkop has joined #openmrs
07:59:05 *** NameFILIP has joined #openmrs
07:59:05 *** ChanServ sets mode: +v NameFILIP
07:59:12 *** mareias has quit IRC
08:03:52 *** NameFILIP has quit IRC
08:08:08 *** harsz89 has joined #openmrs
08:08:08 *** ChanServ sets mode: +v harsz89
08:13:53 *** shruthd has joined #openmrs
08:40:19 *** harshadura_ has joined #openmrs
08:41:11 *** maninc has quit IRC
08:41:39 *** harshadura has quit IRC
08:45:31 *** mareias has joined #openmrs
08:57:05 *** harshadura_ has quit IRC
08:59:34 *** NameFILIP has joined #openmrs
08:59:34 *** ChanServ sets mode: +v NameFILIP
09:03:46 *** NameFILIP has quit IRC
09:19:34 *** k-joseph has joined #openmrs
09:38:47 *** k-joseph has quit IRC
09:39:24 *** k-joseph has joined #openmrs
09:49:54 *** k-joseph has quit IRC
09:51:59 *** k-joseph has joined #openmrs
09:56:06 *** maninc has joined #openmrs
09:56:21 *** maninc has quit IRC
09:56:56 *** maninc has joined #openmrs
10:00:03 *** NameFILIP has joined #openmrs
10:00:03 *** ChanServ sets mode: +v NameFILIP
10:02:05 *** maninc has quit IRC
10:05:02 *** NameFILIP has quit IRC
10:15:37 *** maninc has joined #openmrs
10:17:37 *** maninc has quit IRC
10:21:56 *** harsha89 has joined #openmrs
10:24:28 *** harsz89 has quit IRC
10:30:15 *** shruthd has quit IRC
10:30:50 *** harsha89 has quit IRC
10:31:34 *** harsha89 has joined #openmrs
10:33:23 *** maninc has joined #openmrs
10:38:03 *** maninc has quit IRC
10:41:42 *** shruthd has joined #openmrs
10:51:39 *** maninc has joined #openmrs
10:56:59 *** maninc has quit IRC
11:00:34 *** NameFILIP has joined #openmrs
11:00:34 *** ChanServ sets mode: +v NameFILIP
11:05:00 *** NameFILIP has quit IRC
11:10:29 *** maninc has joined #openmrs
11:16:29 *** maninc has quit IRC
11:29:58 *** maninc has joined #openmrs
11:35:45 *** maninc has quit IRC
11:42:28 <shruthd> rafa: Do you know why emr-api module depends on reporting?
11:45:09 <rafa> shruthd: it seems to only use DateUtil from reporting
11:45:31 <shruthd> we should probably remove that right?
11:46:05 <rafa> shruthd: I think it would be fair to remove that
11:46:14 <shruthd> yeah..
11:46:52 <shruthd> rafa: should I create a ticket for it?
11:47:02 <rafa> shruthd: yeah go ahead
11:47:33 <shruthd> rafa: cool.. thanks!
11:48:56 *** maninc has joined #openmrs
11:54:35 *** maninc has quit IRC
12:01:03 *** NameFILIP has joined #openmrs
12:01:03 *** ChanServ sets mode: +v NameFILIP
12:05:30 *** NameFILIP has quit IRC
12:15:17 *** shruthd has quit IRC
12:15:49 *** shruthd has joined #openmrs
12:45:36 *** dkayiwa has joined #openmrs
12:55:29 *** GitHub61 has joined #openmrs
12:55:29 <GitHub61> [openmrs-core] dkayiwa pushed 1 new commit to 1.9.x: http://git.io/fm53GA
12:55:29 <GitHub61> openmrs-core/1.9.x b80eb73 k-joseph: TRUNK-3956 ~ caught the DataIntegrityViolationException error...
12:55:29 *** GitHub61 has left #openmrs
12:55:52 *** shruthd has quit IRC
12:58:32 *** GitHub51 has joined #openmrs
12:58:32 <GitHub51> [openmrs-core] dkayiwa pushed 1 new commit to 1.8.x: http://git.io/JhuTyw
12:58:32 <GitHub51> openmrs-core/1.8.x 3f05b49 k-joseph: TRUNK-3956 ~ caught the DataIntegrityViolationException error...
12:58:32 *** GitHub51 has left #openmrs
13:01:34 *** NameFILIP has joined #openmrs
13:01:34 *** ChanServ sets mode: +v NameFILIP
13:03:08 *** harshadura has joined #openmrs
13:03:08 *** ChanServ sets mode: +v harshadura
13:06:36 *** NameFILIP has quit IRC
13:08:01 *** mareias has quit IRC
13:15:04 *** dawn_ has joined #openmrs
13:15:28 *** dawn_ is now known as Guest607
13:19:24 *** wyclif has joined #openmrs
13:20:19 *** LeeBreisacher1 has joined #openmrs
13:21:18 *** harsha__ has joined #openmrs
13:23:30 *** harsha89 has quit IRC
13:25:53 *** breeze has joined #openmrs
13:30:36 *** mareias has joined #openmrs
13:31:58 *** djazayeri has joined #openmrs
13:31:58 *** ChanServ sets mode: +o djazayeri
13:44:11 <dkayiwa> rafa: and djazayeri i have a question for you regarding: TRUNK-4049
13:44:14 <dkayiwa> !ticket v
13:44:15 <OpenMRSBot> dkayiwa: HTTP Error 404: Not Found - https://tickets.openmrs.org/browse/v
13:44:20 <dkayiwa> !ticket TRUNK-4049
13:44:21 <OpenMRSBot> dkayiwa: [#TRUNK-4049] Daemon cannot assign System Developer role - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-4049
13:46:34 *** sgithens has joined #openmrs
13:48:43 *** jet__ is now known as jt48
13:58:57 <breeze> LeeBreisacher1: hey, a question / heads up before you test my changes you should be willing and able to destroy and recreate your vagrant box. will that be ok?
13:59:12 <LeeBreisacher1> breeze: sure
13:59:30 <breeze> LeeBreisacher1: ok....doing some tests locally now...might be soon
14:02:03 *** NameFILIP has joined #openmrs
14:02:03 *** ChanServ sets mode: +v NameFILIP
14:07:40 *** NameFILIP has quit IRC
14:11:18 <cpower> djazayeri: you coming to the dev call?
14:13:19 <djazayeri> cpower: yeah, joining in a sec, previous meeting ran long
14:13:40 *** Guest607 has quit IRC
14:13:47 <cpower> djazayeri: that never happens see you soon
14:28:11 <breeze> LeeBreisacher1: ok....you ready?
14:28:22 <LeeBreisacher1> breeze: in a meeting..
14:29:14 <breeze> LeeBreisacher1: ok...if the changes are ready to pull and I would 1 shutdown your local mysql server, 2 vagrant destroy 3. vagrant up 4 try your ui test changes
14:35:49 <breeze> LeeBreisacher1: actually I'm making a few more tweaks since you're busy at the moment
14:41:36 *** dawn_ has joined #openmrs
14:42:00 *** dawn_ is now known as Guest15375
14:43:15 <OpenMRSBot> Recent updates in the world of openmrsci: CA-CA-225 has FAILED : Updated by Mark Goodrich <https://ci-stg.openmrs.org/browse/CA-CA-225>
14:44:15 *** Guest15375 has quit IRC
14:45:55 *** maninc has joined #openmrs
14:57:53 *** rcrichton has quit IRC
15:02:15 *** shruthd has joined #openmrs
15:02:55 *** Ozge has joined #openmrs
15:03:37 *** NameFILIP has joined #openmrs
15:03:37 *** ChanServ sets mode: +v NameFILIP
15:08:16 *** NameFILIP has quit IRC
15:08:27 *** maurya has joined #openmrs
15:09:15 *** Ozge has quit IRC
15:17:22 *** harshadura has quit IRC
15:46:50 <breeze> LeeBreisacher1: I'm going to be away for the next 2 hrs or so, but go ahead and pull the latest from the distro repo, re-up a vagrant box and give it a whirl
15:47:51 <LeeBreisacher1> breeze: ok, might be a while...busy with work...
15:54:55 *** k-joseph_ has joined #openmrs
15:54:58 *** k-joseph has quit IRC
16:04:06 *** NameFILIP has joined #openmrs
16:04:06 *** ChanServ sets mode: +v NameFILIP
16:07:18 *** k-joseph_ has quit IRC
16:08:20 *** NameFILIP has quit IRC
16:10:34 *** rfriedman has joined #openmrs
16:11:38 <rfriedman> djazayeri, you there? quick question: can an object's constructor call itself?
16:13:23 <djazayeri> rfriedman: literally call itself? or call another constructor?
16:14:36 <djazayeri> rfriedman: the first line of a constructor is allowed to be: super(…) or this(…) which mean to call another constructor first, in the superclass or same class.
16:15:50 *** maninc has quit IRC
16:16:40 *** harshadura has joined #openmrs
16:16:40 *** ChanServ sets mode: +v harshadura
16:22:26 *** wyclif_ has joined #openmrs
16:23:31 *** wyclif has quit IRC
16:23:43 *** dkayiwa_ has joined #openmrs
16:23:52 *** dkayiwa has quit IRC
16:23:52 *** dkayiwa_ is now known as dkayiwa
16:24:20 *** wyclif has joined #openmrs
16:26:40 *** wyclif_ has quit IRC
16:29:43 <rfriedman> djazayeri, tks, one place told me no, other told me yes
16:30:05 <rfriedman> djazayeri, was actually using it recursively, that's not allowed
16:32:22 <harshadura> hi ryates
16:33:56 <harshadura> ryates: i have a github repo (which is a new module and a gsoc project) under my profile, is there a way to transfer the repo to openmrs github ?
16:42:16 <ryates> harshadura: Hi, just open up a ticket with all of the info needed (repo name, URL) and we can arrange to transfer it. http://go.openmrs.org/helpdesk
16:42:28 *** Darthy has joined #openmrs
16:43:07 <harshadura> thanks for your feedback ryates, will do so.
16:44:23 *** bhashitha has joined #openmrs
16:44:24 <ryates> You're welcome harshadura
16:45:18 *** wyclif has quit IRC
16:49:02 *** Mkop has left #openmrs
16:52:36 *** harsha__ has quit IRC
16:52:50 *** harsha__ has joined #openmrs
16:53:27 *** harshadura has quit IRC
16:56:59 *** gtownfunk has joined #openmrs
16:59:14 <gtownfunk> Sweet.. can't beat that .. http://www.billingcodinglibrary.com/index.php/purchase-ebooks/product/show/23-get-your-free-2014-icd-9-cm-volumes-1-2-diseases-and-injuries
16:59:18 <OpenMRSBot> <http://ln-s.net/-x_A> (at www.billingcodinglibrary.com)
17:00:37 <shruthd> djazayeri: one quick question - do you think its a good idea to model hospital structure(department/ward etc) as locations?
17:00:50 <djazayeri> shruthd: yes, definitely
17:01:06 <djazayeri> shruthd: that's what location hierarchy is for
17:01:43 <shruthd> djazayeri: is there an example for this?
17:03:05 <shruthd> djazayeri: bahmni is going to be introducing screens for bed management.. we were wondering if it'll be possible to model this using locations.
17:03:25 <djazayeri> shruthd: have you looked at the mirebalais demo, or the refapp demo?
17:04:10 <shruthd> djazayeri: we would have queries like find me all female patient wards for cardiology which have deluxe rooms.. for eg.
17:04:36 *** NameFILIP has joined #openmrs
17:04:36 *** ChanServ sets mode: +v NameFILIP
17:04:40 <djazayeri> shruthd: (by the way, i'm on a call now, so I'm distracted...)
17:05:18 <shruthd> djazayeri: no.. haven't had a chance to look at the demo.. I should probably refer that first..
17:05:35 <shruthd> djazayeri: sure.. np!
17:05:39 <djazayeri> shruthd: look at that first, at devtest02.openmrs.org, admin/Admin123
17:05:52 *** harshadura has joined #openmrs
17:05:53 *** ChanServ sets mode: +v harshadura
17:05:59 <djazayeri> shruthd: or bamboo.pih-emr.org/openmrs (both this and the above on port 8080
17:06:12 <djazayeri> shruthd: the login screens show all the locations
17:06:23 <shruthd> ok..
17:08:59 <djazayeri> shruthd: I think in both cases all the locations you see are direct children of a "Hospital" location
17:09:00 *** NameFILIP has quit IRC
17:14:49 <shruthd> djazayeri: our use case may have a deeper hierarchy - eg. hospital has departments like cardio, enology. cardio can have multiple floors, each floor may have male/female/genral wards which have beds or rooms
17:16:42 <djazayeri> shruthd: that should be supported
17:17:23 <djazayeri> shruthd: I mean: the data model supports multiple layers of hierarchy
17:17:42 <djazayeri> shruthd: and there are some methods in emrapi that support looking at a location and its children
17:18:18 <djazayeri> shruthd: we also support the idea that only certain locations are "login locations" and/or "admission locations" and/or "transfer locations"
17:40:47 *** wyclif has joined #openmrs
17:44:23 *** maurya has quit IRC
17:55:59 *** k-joseph has joined #openmrs
17:57:57 *** Darthy has quit IRC
18:00:10 <OpenMRSBot> Recent updates in the world of openmrsci: CA-CA-225 has FAILED : Updated by Mark Goodrich <https://ci-stg.openmrs.org/browse/CA-CA-225> || REFAPP-OMODDISTRO-1151 has FAILED (1 tests failed) : Updated by djazayeri <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1151> || IDGEN-IDGEN-20 has FAILED (15 tests failed) : Updated by djazayeri <https://ci-stg.openmrs.org/browse/IDGEN-IDGEN-20> || CA-CA-215 has FAILED (1 tests failed) : Updated by Rafal Korytkowski <https://ci-stg.openmrs.org/browse/CA-CA-215>
18:11:26 *** GitHub33 has joined #openmrs
18:11:26 <GitHub33> [openmrs-core] dkayiwa pushed 1 new commit to 1.9.x: http://git.io/wstRZA
18:11:26 <GitHub33> openmrs-core/1.9.x 0f81346 dkayiwa: Back porting to 1.9.x: Locally Exposed Database Credentials - TRUNK-3936...
18:11:26 *** GitHub33 has left #openmrs
18:17:38 <rfriedman> /**
18:17:38 <rfriedman> * This method builds a file object corresponding to an xml file
18:17:38 <rfriedman> *
18:17:38 <rfriedman> * @param meta content type to be downloaded
18:17:38 <rfriedman> * @param subdir name of subdir to be downloaded to (New, Current)
18:17:40 <rfriedman> * @param server name of server to be downloaded to
18:17:42 <rfriedman> */
18:17:44 <rfriedman> private static File getServerFile(ContentType meta, String subdir, String server) {
18:17:47 <rfriedman> final StringBuilder sb = new StringBuilder();
18:17:49 <rfriedman> sb.append(MODULE_NAME);
18:17:51 <rfriedman> sb.append(File.separatorChar);
18:17:53 <rfriedman> sb.append(server);
18:17:55 <rfriedman> sb.append(File.separatorChar);
18:17:57 <rfriedman> sb.append(subdir);
18:17:59 <rfriedman> File folder = OpenmrsUtil.getDirectoryInApplicationDataDirectory(sb.toString());
18:18:01 <rfriedman> return new File(folder, meta.toString().toLowerCase() + ".xml");
18:18:03 <rfriedman> }
18:18:05 <rfriedman> sorry all, wrong chat
18:20:17 *** GitHub3 has joined #openmrs
18:20:17 <GitHub3> [openmrs-core] dkayiwa pushed 1 new commit to 1.9.x: http://git.io/4sexDQ
18:20:17 <GitHub3> openmrs-core/1.9.x a66acae dkayiwa: Back porting to 1.9.x: webapp's web.xml has two <display-name> tags -...
18:20:17 *** GitHub3 has left #openmrs
18:23:39 *** mareias has quit IRC
18:24:01 <breeze> LeeBreisacher1: I'm back fyi
18:24:26 <shruthd> djazayeri: thanks for all the help
18:24:28 <LeeBreisacher1> breeze: yeah, I'm still busy with non-openmrs work
18:24:50 <breeze> LeeBreisacher1: ok
18:29:03 <k-joseph> dkayiwa: hi
18:29:44 <dkayiwa> k-joseph: hi
18:30:17 <k-joseph> dkayiwa: am solving https://tickets.openmrs.org/browse/TRUNK-3850 and i have done the changes i thought were applicable, except if i get your view on this, unfortunately my change has caused failures in the previous testcases and i would really want to hear from you how i can resolve this out since it is appearing to me as a blocker, :( my new method is http://pastebin.com/NeYJ4EA0 and fails with a null pointer exception(s) as according to the trace at
18:30:18 <k-joseph> http://pastebin.com/rYMbE17F
18:31:25 <LeeBreisacher1> breeze: 1 question... your first step says "shutdown your local mysql server". but mysql is running inside the vagrant box, right? so if I just vagrant halt, that does it right?
18:31:49 <dkayiwa> k-joseph: ok let me look at it
18:32:12 <k-joseph> dkayiwa: thanks please :)
18:33:01 <breeze> LeeBreisacher1: you have one running on your windows host as well, correct?
18:33:34 <LeeBreisacher1> breeze: oh, well. right. but I either use that one or vagrant, not both.
18:33:55 <LeeBreisacher1> breeze: and I shut it down when I'm not doing openmrs stuff anyway
18:34:04 <breeze> LeeBreisacher1: ok...well still shut it down. there will be a port conflit otherwise
18:34:11 <LeeBreisacher1> breeze: right
18:34:57 *** LeeBreisacher1 has left #openmrs
18:35:29 <dkayiwa> k-joseph: hi
18:35:44 <k-joseph> dkayiwa: hi
18:35:54 <dkayiwa> k-joseph: what does getProgramByName() do?
18:36:09 <dkayiwa> k-joseph: that is: Context.getProgramWorkflowService().getProgramByName
18:36:57 <k-joseph> dkayiwa: gets a program using its program name
18:37:05 <dkayiwa> k-joseph: correct
18:37:29 <dkayiwa> k-joseph: so what is the use of the line next to it? if (program.getName().equals(p.getName())
18:40:30 <k-joseph> dkayiwa: that was compare the program got by its name with the the current program object, in other wards to help us elimiinate duplicates
18:42:34 <dkayiwa> k-joseph: isnt that the same name (the one you are trying to check if duplicated) you passed in getProgramByName()
18:43:11 <k-joseph> dkayiwa: you are right, it is the same one exactly
18:44:05 <dkayiwa> k-joseph: so does it make sense then to do if("JOSEPH".equals("JOSEPH"))? :)
18:44:20 <dkayiwa> k-joseph: assuming JOSEPH is the name
18:44:59 <k-joseph> dkayiwa: it be meaning less indeed
18:45:16 <dkayiwa> k-joseph: so do you know how to proceed?
18:45:31 *** cospih_ has joined #openmrs
18:47:01 *** cospih has quit IRC
18:47:31 <k-joseph> dkayiwa: thought of trying out some thing like passing into getProgramByName() another argument, this time a string locally initialised, to null but still does not hold :(
18:48:15 <k-joseph> dkayiwa: i think i need to better first understand this comparison!!!
18:48:56 <dkayiwa> k-joseph: supposing one is trying to save a program named "JOSEPH" what is the validator supposed to do?
18:49:18 <dkayiwa> k-joseph: isnt it to check if "JOSEPH" already exists?
18:50:07 <k-joseph> dkayiwa: it is to do that exactly, check whether "JOSEPH" exists already and then render it as a duplicate name
18:50:38 <dkayiwa> k-joseph: and does getProgramByName() tell you if it already exists or not?
18:51:20 <k-joseph> dkayiwa: i think it just returns the program using its name
18:51:47 <dkayiwa> k-joseph: and would that mean it exists? or it does not exist?
18:52:10 <k-joseph> dkayiwa: that it exists
18:52:28 <dkayiwa> k-joseph: what does it return if it does not exist?
18:52:42 <k-joseph> dkayiwa null
18:53:19 <dkayiwa> k-joseph: so now what is the use of your next line: if (program.getName().equals(p.getName()) ?
18:57:52 *** shruthd has quit IRC
19:07:53 *** bhashitha has quit IRC
19:15:03 <cpower> Hello!
19:15:13 <cpower> sorry I'm late, anyone still want to scrum?
19:21:14 *** harshadura has quit IRC
19:25:11 *** dkayiwa_ has joined #openmrs
19:26:03 *** dkayiwa has quit IRC
19:26:03 *** dkayiwa_ is now known as dkayiwa
19:29:52 <dkayiwa> suranga: hi
19:33:11 *** harshadura has joined #openmrs
19:33:11 *** ChanServ sets mode: +v harshadura
19:33:42 *** LeeBreisacher1 has joined #openmrs
19:37:15 *** robbyoconnor has joined #openmrs
19:37:16 *** ChanServ sets mode: +v robbyoconnor
19:39:26 *** harshadura has quit IRC
19:39:36 *** harsha89 has joined #openmrs
19:42:29 *** harsha__ has quit IRC
19:43:12 <suranga> dkayiwa: hellooo daniel :)
19:43:53 <dkayiwa> suranga: i asked you something on the ticket :)
19:44:35 <suranga> dkayiwa: ah, yes, I tested it out using practical scenarios, so im sure the patch will work fine :)
19:44:56 <dkayiwa> suranga: cool. will test too ;)
19:50:30 *** GitHub156 has joined #openmrs
19:50:30 <GitHub156> [openmrs-core] chalakanth opened pull request #401: TRUNK-3878: Forgot password form IP-based lockout locks everyone from using it (master...TRUNK-3878) http://git.io/NUmrrg
19:50:30 *** GitHub156 has left #openmrs
19:52:47 *** harshadura has joined #openmrs
19:52:47 *** ChanServ sets mode: +v harshadura
19:53:17 *** harsha89 has quit IRC
19:57:01 *** harshadura has quit IRC
20:02:50 *** GitHub49 has joined #openmrs
20:02:50 <GitHub49> [openmrs-core] dkayiwa pushed 1 new commit to 1.9.x: http://git.io/YEpNfQ
20:02:50 <GitHub49> openmrs-core/1.9.x 97f38e2 dkayiwa: Back porting to 1.9.x: Forgot password form IP-based lockout locks...
20:02:50 *** GitHub49 has left #openmrs
20:04:03 *** GitHub46 has joined #openmrs
20:04:03 <GitHub46> [openmrs-core] dkayiwa closed pull request #401: TRUNK-3878: Forgot password form IP-based lockout locks everyone from using it (master...TRUNK-3878) http://git.io/NUmrrg
20:04:03 *** GitHub46 has left #openmrs
20:04:03 *** GitHub96 has joined #openmrs
20:04:03 <GitHub96> [openmrs-core] dkayiwa pushed 2 new commits to master: http://git.io/blgRPw
20:04:04 <GitHub96> openmrs-core/master 6b7b11c chalakanth: TRUNK-3878: Forgot password form IP-based lockout locks everyone from using it
20:04:04 <GitHub96> openmrs-core/master 1adb490 dkayiwa: Merge pull request #401 from chalakanth/TRUNK-3878...
20:04:04 *** GitHub96 has left #openmrs
20:16:43 *** travis-ci has joined #openmrs
20:16:44 <travis-ci> [travis-ci] [openmrs/openmrs-core] [1adb490] [dkayiwa] The build passed. - http://travis-ci.org/openmrs/openmrs-core/builds/11296922
20:16:44 *** travis-ci has left #openmrs
20:16:48 <OpenMRSBot> <http://ln-s.net/-xf1> (at travis-ci.org)
21:03:20 *** k-joseph has quit IRC
21:07:42 *** dkayiwa has quit IRC
21:08:03 *** robbyoconnor has quit IRC
21:23:23 *** cospih_ has quit IRC
21:50:48 <wyclif> hi djazayeri
21:51:27 <wyclif> djazayeri: ?
21:51:33 <djazayeri> hi wyclif
21:51:45 <wyclif> djazayeri: am trying to pick up a ticket
21:52:02 <djazayeri> wyclif: trying to decide which one?
21:52:26 <wyclif> djazayeri am asking to see one which is of higher priority
21:52:35 <wyclif> djazayeri: yeah
21:54:21 <djazayeri> wyclif: if you're feeling in-the-zone about the patient lookup stuff, then pick up RA-200
21:54:27 <djazayeri> wyclif: if you want a break from that, do RA-134.
21:55:07 <djazayeri> wyclif: in either case we can catch up by voice (if you want) to discuss what exactly to focus on
21:55:37 <wyclif> djazayeri: i wanted to do RA-200 since am most familiar with the recent code i added
21:55:46 <djazayeri> wyclif: okay, that makes sense
21:55:57 <djazayeri> wyclif: thanks for doing RA-213 today
21:56:02 <wyclif> djazayeri: and i believe it will take me the shortest time, in any case we are are trying to beat time
21:56:24 <djazayeri> wyclif: yup, that makes sense, I support you doing RA-213 today
21:56:38 <wyclif> djazayeri: RA-213 is done
21:56:47 <wyclif> djazayeri: okay catch up with you later
21:56:52 <wyclif> thanks
21:56:54 <djazayeri> wyclif: I think that the JS/CSS caching ticket and the UX issue with HFE ticket are things we can do on the side next iteration.
21:56:58 <djazayeri> wyclif: enjoy!
21:57:08 <wyclif> djazayeri: ok
21:57:12 <djazayeri> wyclif: I'll do testing the your two waiting-for-test tickets now too
21:58:44 <wyclif> djazayeri: okay, FYI, we might need to introduce the themes roller in uiframework for the query stuff we are doing
21:59:08 <djazayeri> wyclif: hmm, okay, I hope we don't have to. :-)
21:59:31 <wyclif> djazayeri right, i was just saying in future
21:59:45 <wyclif> djazayeri: have a quick look at the new patient search on devtest
22:00:11 <djazayeri> wyclif: looking now
22:01:03 <wyclif> djazayeri: though the theme roller stuff is something the mirebalais team can help us with since i believe are the ones most likely to want to tweak the appearance in the near future
22:01:44 <djazayeri> wyclif: do you know any names of patients on devtest02?
22:02:08 <wyclif> dari
22:02:16 <wyclif> djazayeri: try your name
22:02:24 <djazayeri> wyclif: okay, I can only find that one. I'll create another so I can try the up/down
22:02:38 <wyclif> djazayeri: it is kind of annoying that they both have few records to test the widget
22:02:52 <wyclif> djazayeri: sure
22:03:02 <wyclif> djazayeri: thanks, talk to you later
22:03:14 <djazayeri> wyclif: bye
22:03:21 *** wyclif has quit IRC
22:12:43 *** rfriedman has quit IRC
22:39:25 <LeeBreisacher1> breeze: yt? how do I find the mysql pwd?
22:40:21 <djazayeri> LeeBreisacher1: perhaps you can vagrant ssh to the box, find the openmrs-runtime.properties file, and look for the connection.username/password there
22:41:16 <LeeBreisacher1> djazayeri: ah right. thanks.
22:54:57 <LeeBreisacher1> djazayeri, breeze: good news: I can connect to the vagrant mysql from Windows.
22:55:21 <djazayeri> LeeBreisacher1: woohoo!
22:55:23 <LeeBreisacher1> djazayeri, breeze: bad news: I have the old Reference Demo Data Module [Not Started] problem
22:55:36 <djazayeri> LeeBreisacher1: is this off a clean database?
22:55:56 <LeeBreisacher1> djazayeri: clean everything (or so I thought)
22:56:10 <LeeBreisacher1> djazayeri: completely new vm
22:56:22 <djazayeri> LeeBreisacher1: grr…that's annoying
22:56:38 <djazayeri> LeeBreisacher1: I assume that means I would get the same behavior if I do a vagrant destroy, vagrant up?
22:56:47 <LeeBreisacher1> djazayeri: no sh-t. I probably build things wrong somehow
22:57:14 <LeeBreisacher1> djazayeri: I got the latest distro from github. then I ran "mvn -U clean package"
22:57:40 <djazayeri> LeeBreisacher1: then vagrant up?
22:57:50 <LeeBreisacher1> djazayeri: which I thought would get the proper version of all the modules from the repo (ignoring any out of date local modules)
22:57:52 <LeeBreisacher1> djazayeri: yes
22:58:55 <djazayeri> LeeBreisacher1: hmm, doing "mvn clean install" in the openmrs-distro-referenceapplication runs through the UI tests against localhost
22:59:07 <djazayeri> LeeBreisacher1: and they (obviously) fail, since I don't have anything running
22:59:13 <djazayeri> LeeBreisacher1: looks like it's still building though...
22:59:31 <LeeBreisacher1> djazayeri: breeze always said to do package instead of install
22:59:50 <LeeBreisacher1> djazayeri: maybe that avoids the UI tests
23:00:20 <djazayeri> LeeBreisacher1: well, it's downloading the internet now, even after the 3 tests failed after popping up firefox browsers
23:00:50 <LeeBreisacher1> djazayeri: downloading the internet? that's gonna take a while ;-)
23:01:10 <djazayeri> LeeBreisacher1: oddly it says: ui-tests…success
23:01:23 <djazayeri> LeeBreisacher1: even though they clearly failed, and it said it had errors earlier
23:01:29 <LeeBreisacher1> djazayeri: oops
23:01:40 <djazayeri> LeeBreisacher1: not complaining now
23:03:09 <djazayeri> LeeBreisacher1: I did vagrant destroy and vagrant up, so I'll let you know if I hit the same error
23:03:52 <LeeBreisacher1> djazayeri: looking at tomcat log, I see an NPE
23:04:03 <djazayeri> LeeBreisacher1: where?
23:04:39 <LeeBreisacher1> djazayeri: yeah, it's coming from that module. let me cherry pick the stack trace..
23:04:48 <LeeBreisacher1> at org.openmrs.module.referencedemodata.ReferenceDemoDataActivator.setupUser(ReferenceDemoDataActivator.java:163)
23:05:01 <LeeBreisacher1> java.lang.NullPointerException
23:05:01 <LeeBreisacher1> at org.openmrs.User.getAllRoles(User.java:216)
23:05:01 <LeeBreisacher1> at org.openmrs.api.impl.UserServiceImpl.checkPrivileges(UserServiceImpl.java:423)
23:05:01 <LeeBreisacher1> at org.openmrs.api.impl.UserServiceImpl.saveUser(UserServiceImpl.java:85)
23:05:23 <LeeBreisacher1> djazayeri: does that mean anything to you?
23:06:46 <gtownfunk> I'm running through my Kindle eBooks and wanted to give a few more away - http://www.billingcodinglibrary.com/index.php/purchase-ebooks/product/show/36-hipaa-regualtions-2013-edition - Here's my HIPAA regulations eBook
23:06:50 <OpenMRSBot> <http://ln-s.net/-xj:> (at www.billingcodinglibrary.com)
23:12:28 <djazayeri> LeeBreisacher1: what's the one line before that?
23:12:47 <djazayeri> LeeBreisacher1: or I guess a bit before that.
23:13:01 <djazayeri> LeeBreisacher1: not sure why there would be a NPE from UserService.saveUser
23:13:48 <LeeBreisacher1> djazayeri: well, wading through all the aop crud, I think this is the relevant caller:
23:13:48 <LeeBreisacher1> at org.openmrs.module.referencedemodata.ReferenceDemoDataActivator.setupUser(ReferenceDemoDataActivator.java:163)
23:14:18 <LeeBreisacher1> djazayeri: it's not in the saveUser, it's in the getAllRoles
23:15:34 <LeeBreisacher1> djazayeri: the next two frames are:
23:15:34 <LeeBreisacher1> at org.openmrs.module.referencedemodata.ReferenceDemoDataActivator.setupUsersAndProviders(ReferenceDemoDataActivator.java:133)
23:15:34 <LeeBreisacher1> at org.openmrs.module.referencedemodata.ReferenceDemoDataActivator.started(ReferenceDemoDataActivator.java:77)
23:16:28 <djazayeri> LeeBreisacher1: can you pastebin the whole thing?
23:16:48 <LeeBreisacher1> djazayeri: the whole log or just the whole stack?
23:17:02 <djazayeri> LeeBreisacher1: whole stack
23:18:11 <LeeBreisacher1> djazayeri: http://pastebin.com/YZc6Agxh
23:21:31 <djazayeri> LeeBreisacher1: this code seems a bit related to TRUNK-4049
23:21:37 <djazayeri> !ticket trunk-4049
23:21:38 <OpenMRSBot> djazayeri: [#TRUNK-4049] Daemon cannot assign System Developer role - OpenMRS JIRA - https://tickets.openmrs.org/browse/trunk-4049
23:21:54 <djazayeri> LeeBreisacher1: but the last commit there (mentioned on the ticket) was aug 20
23:22:30 <djazayeri> LeeBreisacher1: so maybe that's a red herring
23:23:39 <LeeBreisacher1> djazayeri: I'll bet my distro mvn build is bogus somehow...
23:23:55 <djazayeri> LeeBreisacher1: I'm still waiting for my vagrant box to finish readying itself
23:24:21 <LeeBreisacher1> djazayeri: yep. takes a long time the first time.
23:25:10 <LeeBreisacher1> djazayeri: I thought the "-U" param on the mvn build would "do the right thing" but maybe not..
23:26:18 <LeeBreisacher1> djazayeri: I could try starting openmrs in Windows with jetty instead of vagrant, just to see if it does the same thing. but I'm going to be away for the entire evening soon..
23:46:13 <djazayeri> LeeBreisacher1: it seems like it loaded fine for me
23:46:21 <djazayeri> LeeBreisacher1: I didn't do -U
23:46:42 <djazayeri> LeeBreisacher1: but I haven't touched those modules in maven today, so I think it would have updated snapshots anyway...
23:46:52 <djazayeri> LeeBreisacher1: I did mvn clean install on the distro (rather than package)
23:47:01 <LeeBreisacher1> djazayeri: hm. I'll try again. I guess I'll update and build all the modules I have locally.
23:47:24 <djazayeri> LeeBreisacher1: you shouldn't have to do that
23:47:27 <LeeBreisacher1> djazayeri: I wish there was a reliable way to be sure I'm building the right things
23:47:30 <djazayeri> LeeBreisacher1: but then, it's not supposed to break.
23:47:32 *** wyclif has joined #openmrs
23:48:27 <LeeBreisacher1> djazayeri: it seems like the only really reliable way to do a distro build is to empty my m2 cache, then run the build.
23:48:41 <djazayeri> LeeBreisacher1: have you built anything today?
23:48:56 <LeeBreisacher1> djazayeri: no. not in several days, I think..
23:49:56 <breeze> LeeBreisacher1: hi
23:50:07 <breeze> LeeBreisacher1: sorry. was out again for a while
23:50:28 <LeeBreisacher1> breeze: are you able to read the last hour or so between Darius and me?
23:50:42 <breeze> LeeBreisacher1: trying to catch up, but I too had the demo data module not starting problem today
23:50:54 <breeze> LeeBreisacher1: looking back through it now
23:50:54 <LeeBreisacher1> breeze: aha! how did you fix it?
23:51:15 <breeze> LeeBreisacher1: I didn't yet...wanted to see if it was just me, but I guess it is not
23:51:18 <LeeBreisacher1> breeze: the good news is that I can see mysql from Windows
23:51:39 <breeze> LeeBreisacher1: excellent
23:54:11 *** robbyoconnor has joined #openmrs
23:54:11 *** ChanServ sets mode: +v robbyoconnor
23:54:25 <breeze> LeeBreisacher1: djazayeri I'm going offline again for the evening, but I should have a good portion of tomorrow to see if i can help with this too
23:59:50 *** robbyoconnor has quit IRC