IRC Chat : 2013-06-28 - OpenMRS

00:16:02 *** rday has joined #openmrs
00:24:27 *** jblaya has joined #openmrs
00:25:01 <jblaya> nribeka, can I but you about a simple java Date question?
00:31:22 *** breeze has quit IRC
00:47:25 *** wyclif has joined #openmrs
01:02:28 *** rafa has joined #openmrs
01:02:28 *** ChanServ sets mode: +v rafa
01:08:04 *** rafa has quit IRC
01:22:00 *** evmw has quit IRC
01:36:20 <nribeka> he jblaya
01:36:30 <nribeka> *hey
01:36:34 <nribeka> sure
01:36:38 *** jblaya has quit IRC
02:05:04 *** elliott_w has quit IRC
02:26:34 *** upul has joined #openmrs
03:36:14 *** davidpardz has joined #openmrs
03:36:14 *** ChanServ sets mode: +v davidpardz
04:20:16 *** wyclif has quit IRC
04:26:47 *** harshadura_ has joined #openmrs
05:07:53 *** rnjn1 has joined #openmrs
05:38:34 *** wyclif has joined #openmrs
05:46:43 *** harshadura_ has quit IRC
05:59:11 *** harshadura_ has joined #openmrs
06:42:02 *** harshadura has joined #openmrs
06:45:32 *** wyclif has quit IRC
06:48:14 *** harshadura has joined #openmrs
07:02:44 *** dmulindwa has quit IRC
07:10:19 *** upul has quit IRC
07:33:32 *** harshadura__ has joined #openmrs
07:33:33 *** harshadura_ has quit IRC
07:57:19 *** reverton has joined #openmrs
08:03:31 *** KC9YYQ has quit IRC
08:04:18 *** KC9YYQ has joined #openmrs
08:04:36 *** harshadura__ has quit IRC
08:08:25 *** dkayiwa has joined #openmrs
08:15:33 <harshadura> hi dkayiwa
08:15:38 <dkayiwa> harshadura: hi
08:16:34 <harshadura> dkayiwa: how these forms generated by Xforms module actually being filled in a practical environment ?
08:17:01 <harshadura> dkayiwa: sorry if its a dumb questions, i have no idea about it thats why
08:17:54 <dkayiwa> harshadura: i do not seem to understand your question :)
08:19:59 <harshadura> dkayiwa: after navigating into.. openmrs -> find patient -> form entry .. i saw the created form under it, is it the normal way that form is getting accessed ?
08:21:57 <harshadura> dkayiwa: i mean where these forms actually been filled by a doctor or a nurse?
08:23:35 <dkayiwa> harshadura: yes it is the normal way
08:23:57 <harshadura> dkayiwa: are there any alternative ways ?
08:24:17 <dkayiwa> harshadura: you would need to build a module for alternatives
08:24:34 <harshadura> dkayiwa: ok :)
08:24:40 <dkayiwa> harshadura: these forms are mostly used by dataentry clerks
08:26:30 <harshadura> dkayiwa: i am gonna start the server side part of my embedded Xform and just wondering how these forms are getting saved technically?
08:27:39 <dkayiwa> harshadura: when you click submit the data gets saved
08:28:35 <harshadura> dkayiwa: are those saving stuff handle by Xforms module or do we need to handle those manually ?
08:31:04 <dkayiwa> harshadura: the xforms module handles them
08:31:39 <harshadura> dkayiwa: cool
08:37:34 *** mb has joined #openmrs
08:37:57 *** mb is now known as Guest74004
08:39:37 <harshadura> dkayiwa: how can we retrieve the data we saved previously in a Xform?
08:40:41 <dkayiwa> harshadura: what do you want to use it for?
08:48:17 *** Guest74004 has quit IRC
08:50:30 <harshadura> dkayiwa: in my module i have embedded an Xform like this (the forms are filled by normal patients): http://www.gliffy.com/pubdoc/4486736/L.png and i want to list down and show those filled forms to admins
08:50:52 <harshadura> dkayiwa: something like this: http://www.gliffy.com/pubdoc/4487237/L.png
09:02:30 *** k-joseph has joined #openmrs
09:07:08 <suranga> dkayiwa: helooo, r u around ? :)
09:13:55 <dkayiwa> suranga: am back
09:14:57 <suranga> dkayiwa: howdy ! I was wondering if you could take a look at https://tickets.openmrs.org/browse/TRUNK-4011 Ive attached a screenshot of what ive built so far, and wanted to ask what you think of it........
09:17:37 <dkayiwa> harshadura: am preparing an answer for you too. just cross checking it first :)
09:18:58 <harshadura> its ok dkayiwa thank you xD
09:24:47 *** dkayiwa has quit IRC
09:37:52 *** dkayiwa has joined #openmrs
09:38:59 <harshadura> dkayiwa: you there
09:49:16 *** NameFILIP has joined #openmrs
09:49:50 *** NameFILIP has joined #openmrs
09:49:50 *** ChanServ sets mode: +v NameFILIP
10:02:24 *** dkayiwa has quit IRC
10:03:38 * harshadura : dkayiwa missed again :/
10:04:56 *** dkayiwa has joined #openmrs
10:05:10 *** harshadura_ has joined #openmrs
10:05:28 <dkayiwa> harshadura: sorry i had escorted a visitor here :)
10:05:40 <dkayiwa> suranga: same to you ^^
10:05:48 <harshadura> dkayiwa: its ok :)
10:06:11 <suranga> dkayiwa: no problemoooo
10:23:53 <dkayiwa> harshadura: hi
10:26:23 <dkayiwa> suranga: hi
10:27:13 <dkayiwa> harshadura: you would need to pass the encounterId param with a value
10:27:24 <dkayiwa> harshadura: e.g http://demo.openmrs.org/openmrs/admin/encounters/encounter.form?encounterId=48845
10:33:05 *** rday has quit IRC
10:35:54 *** rafa has joined #openmrs
10:35:55 *** ChanServ sets mode: +v rafa
10:39:25 <suranga> thanks dkayiwa :)
10:45:22 *** GitHub10 has joined #openmrs
10:45:22 <GitHub10> [openmrs-core] dkayiwa pushed 4 new commits to master: http://git.io/P-lp2w
10:45:22 <GitHub10> openmrs-core/master 7b4dee4 SusanTan: TRUNK-3910 Resolved. Please review
10:45:22 <GitHub10> openmrs-core/master c01b78f SusanTan: Added global property for mail.smtp.starttls.enable
10:45:22 <GitHub10> openmrs-core/master 260514d SusanTan: Added a one-line description to new GP that enables TLS encrption to be possible
10:45:22 *** GitHub10 has left #openmrs
10:52:39 *** reverton has quit IRC
10:56:47 *** travis-ci has joined #openmrs
10:56:48 <travis-ci> [travis-ci] [openmrs/openmrs-core] [80705c7] [dkayiwa] The build is still failing. - http://travis-ci.org/openmrs/openmrs-core/builds/8535817
10:56:48 *** travis-ci has left #openmrs
10:56:52 <OpenMRSBot> <http://ln-s.net/-Kb9> (at travis-ci.org)
11:04:03 *** GitHub133 has joined #openmrs
11:04:04 <GitHub133> [openmrs-core] dkayiwa pushed 1 new commit to master: http://git.io/oUdobg
11:04:04 <GitHub133> openmrs-core/master 3d5c623 dkayiwa: Spelling correction for: Add additional global property for mail:...
11:04:04 *** GitHub133 has left #openmrs
11:11:00 <harshadura> dkayiwa: is there any workaround to list down all the encounterIDs stored in my local openmrs
11:11:18 <harshadura> dkayiwa: thank you for your reply ^^ i got it
11:12:41 *** travis-ci has joined #openmrs
11:12:41 <travis-ci> [travis-ci] [openmrs/openmrs-core] [3d5c623] [dkayiwa] The build is still failing. - http://travis-ci.org/openmrs/openmrs-core/builds/8536180
11:12:41 *** travis-ci has left #openmrs
11:12:44 <OpenMRSBot> <http://ln-s.net/-KbE> (at travis-ci.org)
11:13:15 <dkayiwa> harshadura: they can be too too many
11:20:23 *** rnjn1 has quit IRC
11:22:45 *** cospih has joined #openmrs
11:30:55 *** GitHub43 has joined #openmrs
11:30:55 <GitHub43> [openmrs-core] dkayiwa pushed 1 new commit to master: http://git.io/1pPdlA
11:30:55 <GitHub43> openmrs-core/master 7029613 dkayiwa: Ignoring failing unit test unit it gets fixed - TRUNK-3970
11:30:55 *** GitHub43 has left #openmrs
11:34:16 *** GitHub78 has joined #openmrs
11:34:17 <GitHub78> [openmrs-core] dkayiwa pushed 1 new commit to 1.9.x: http://git.io/tMYSfQ
11:34:17 <GitHub78> openmrs-core/1.9.x 89cef52 dkayiwa: Ignoring failing unit test untill when it gets fixed - TRUNK-3970
11:34:17 *** GitHub78 has left #openmrs
11:35:49 *** harshadura has quit IRC
11:35:52 <suranga> hi rafa ... can I ask you a design question please ?
11:36:04 <rafa> suranga: hi, sure
11:36:42 <suranga> rafa: thanks, I havent worked on front end stuff in a long time, so having some trouble with them
11:36:45 *** harshadura_ has quit IRC
11:36:45 <suranga> ---------------
11:36:47 <suranga> When shutting down a module, what happened upto this point was that the jsp called a controller directly.
11:36:47 <suranga> now the problem is, im intercepting this onclick method, and using it to call a javascript, which in turn calls a new module controller to check dependencies.
11:36:47 <suranga> Now, I need a way to navigate back to the older moduleListcontroller once the validation occures.
11:36:47 <suranga> this is going to be rather a mess because I will need to interact with two controllers. What if I introduce module shutdown code into the new controller I created ? that way, I'll need to interact with only one controller.
11:36:50 <suranga> ----------------------
11:38:49 <rafa> suranga: I feel like it's not needed
11:39:18 <suranga> rafa: um... what would you advise ?
11:39:39 <rafa> suranga: if you interecept onclick then you can either cancel any further action (fails validation) or let it continue (passes validation)
11:40:09 <rafa> suranga: if you let it continue then the old controller is called as usual
11:40:43 <rafa> suranga: it's all in javascript
11:40:58 <suranga> rafa: aha, yes, problem is this. this is how the onclick used to look before ,
11:40:59 <suranga> onclick="document.getElementById('hiddenAction').value = this.value"
11:41:08 *** dkayiwa_ has joined #openmrs
11:41:16 *** dkayiwa has quit IRC
11:41:17 *** dkayiwa_ is now known as dkayiwa
11:41:18 <suranga> now, ivve switched it to onclick ="return validate()
11:41:43 <suranga> im not understanding what exactly the document.getElementById('hiddenAction').value = this.value" part accomplishes here
11:41:49 * suranga is feeling stupid :(
11:41:56 *** harshadura has joined #openmrs
11:42:09 <rafa> suranga: remind me which jsp
11:42:17 <suranga> rafa: https://github.com/openmrs/openmrs-core/blob/master/webapp/src/main/webapp/WEB-INF/view/admin/modules/moduleList.jsp#L163
11:42:20 <OpenMRSBot> <http://ln-s.net/-KbR> (at github.com)
11:42:33 *** travis-ci has joined #openmrs
11:42:34 <travis-ci> [travis-ci] [openmrs/openmrs-core] [7029613] [dkayiwa] The build was fixed. - http://travis-ci.org/openmrs/openmrs-core/builds/8536806
11:42:34 *** travis-ci has left #openmrs
11:42:36 <OpenMRSBot> <http://ln-s.net/-KbS> (at travis-ci.org)
11:42:46 <suranga> rafa: line 163
11:43:12 <suranga> rafa: it calls moduleListcontroller
11:43:59 <rafa> suranga: ok so it's simple
11:44:39 <rafa> sunbiz: in your validate method if it passes then you need to do: "document.getElementById('hiddenAction').value = this.value"
11:44:43 <rafa> sunbiz: sorry
11:44:59 <rafa> suranga: and if not just do nothing
11:45:33 <suranga> um.. you mean Is should infuse this line into the javascript method, right ?
11:45:41 <rafa> suranga: you need to call the validate method like this: onclick="validate(this)"
11:45:50 <rafa> suranga: right
11:46:29 <rafa> suranga: then the validate signature looks like validate(module) {
11:46:29 <suranga> I did try that some time back, but as I remember it didnt work....
11:46:40 <suranga> I need to do something like this, to get the module Id into the function
11:46:42 <suranga> onclick="return validateDependencies(this.parentNode.parentNode.id);"
11:46:51 <rafa> suranga: and the actual code is "document.getElementById('hiddenAction').value = module.value"
11:47:37 <suranga> oh, ok i think i get it. If I do document.getElementById('hiddenAction').value = moduleId, then ewe're good ?
11:48:04 <suranga> wait, i think it wants the module, not the module id
11:48:19 <rafa> suranga: just do as I said
11:48:26 <rafa> suranga: it should work
11:48:38 <rafa> suranga: pass simply 'this'
11:49:05 <suranga> rafa: sorry, you mean, pass 'this' into the validatio method, right ?
11:49:21 <rafa> suranga: onclick="validate(this)" is what I mean
11:51:24 <suranga> rafa:++
12:18:01 *** dkayiwa has quit IRC
12:18:32 *** dkayiwa has joined #openmrs
12:18:42 *** elliott_w has joined #openmrs
12:18:42 *** ChanServ sets mode: +o elliott_w
12:23:27 *** GitHub28 has joined #openmrs
12:23:27 <GitHub28> [openmrs-core] k-joseph opened pull request #352: TRUNK-3623 (master...TRUNK-3623) http://git.io/5Mb-UQ
12:23:27 *** GitHub28 has left #openmrs
12:29:04 *** evmw has joined #openmrs
12:29:04 *** ChanServ sets mode: +v evmw
12:30:35 *** k-joseph has quit IRC
12:42:49 *** harsz89 has joined #openmrs
12:42:50 *** ChanServ sets mode: +v harsz89
12:46:09 *** evmw has quit IRC
12:52:59 <suranga> hi rafa , are you around, but any chance ? :)
13:07:21 *** garima has joined #openmrs
13:07:53 *** breeze has joined #openmrs
13:07:58 *** ChanServ sets mode: +v garima
13:11:56 *** harsz89 has quit IRC
13:15:27 *** wyclif has joined #openmrs
13:26:10 *** achint has joined #openmrs
13:27:27 *** harsz89 has joined #openmrs
13:27:27 *** ChanServ sets mode: +v harsz89
13:30:37 *** evmw has joined #openmrs
13:30:37 *** ChanServ sets mode: +v evmw
13:36:58 *** ChanServ sets mode: +o burke_
13:38:33 *** harshadura has quit IRC
13:38:34 *** burke_ is now known as foo____
13:38:37 *** foo____ is now known as burke_
13:39:49 *** breeze has quit IRC
13:40:09 *** burke_ is now known as burke
13:53:27 *** jblaya has joined #openmrs
13:54:04 <jblaya> rafa, do you know abou the reporting rest module?
13:54:42 <rafa> jblaya: I've never touched it
13:54:47 <rafa> suranga: hi
13:55:57 <jblaya> rafa, ok, apart from darius and sashrika do you know anyone who's worked on it ? I can't find the way to get the list of patients in a cohort, which should be fairly simple...
13:57:04 <rafa> jblaya: I'd try the dev list?
13:57:36 <jblaya> rafa, yeah, already sent an email and no one responded :-D I'll try mike and see if he has a suggestion, thanks
13:58:28 <jblaya> mseaton, hey, I sent an email to the dev list about getting patients from a cohort using reportingrest because it's changed since the last time I checked, but no one responded
13:58:44 <jblaya> mseaton, do you know anyone that's worked on reportingrest apart from darius, who seems to be offline
14:02:41 <cpower> Hello everyone, I we ready to play my favorite game?
14:03:36 * cpower baseball is actually my favorite game, but I haven't figured out how to make it work related or a Scrum compatible add on.
14:04:18 <cpower> !scrumon cpower
14:04:18 * 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.
14:05:02 <cpower> Order: rafa , dkayiwa , wyclif , and anyone else who would like to share
14:06:06 <rafa> Today:
14:06:07 <rafa> * Finishing RA-73 Similar Patient identification
14:06:07 <rafa> https://tickets.openmrs.org/browse/RA-73
14:06:07 <rafa> * Will pick up another sprint ticket
14:06:07 <rafa> No blockers
14:06:26 <dkayiwa> Reviewed, merged, and made some small changes for: Add additional global property for mail: mail.smtp.starttls.enable - TRUNK-3910
14:06:27 <dkayiwa> Reviewed: Add ConceptNameTagValidator to Core API - TRUNK-3986
14:06:27 <dkayiwa> Curated some more tickets
14:06:27 <dkayiwa> About to make a commit for: Voiding a person doesn't work right - TRUNK-3971
14:06:28 <dkayiwa> No Blockers
14:07:38 <wyclif> Thursday:
14:07:39 <wyclif> -Chat with Jenny about her GSoC project progress
14:07:40 <wyclif> -dev call
14:07:42 <wyclif> -Complete and commit code for RA-85 - Edit demographics in Registration app
14:07:43 <wyclif> -RA-86 - Edit contact info in Registration app
14:07:45 <wyclif> Thursday:
14:07:46 <wyclif> -complete - RA-86 - Edit contact info in Registration app
14:07:48 <wyclif> -Weekly chat with Jennifer about concept management apps progress
14:07:49 <wyclif> -GSoC code reviews
14:07:50 <wyclif> -Revisit tickets back in dev and fix birthdate not getting saved when registering a patient
14:07:51 <wyclif> Blockers: None
14:08:44 *** harshadura has joined #openmrs
14:09:06 <wyclif> sorry, today should be: Weekly chat with Ishara about validation module progress
14:10:14 <rafa> wyclif: https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-606
14:11:06 <rafa> wyclif: is it possible that it has something to do with me not seeing address fields?
14:11:10 <harshadura> hi dkayiwa
14:11:19 <dkayiwa> harshadura: hi
14:13:03 *** dkayiwa_ has joined #openmrs
14:13:04 *** dkayiwa has quit IRC
14:13:04 *** dkayiwa_ is now known as dkayiwa
14:14:15 <harshadura> dkayiwa: in my module even anonymous users (care seeking patients) who are logged into the publicly hosted openmrs system will be able to fill out the Xform, So what you think the best way to map patientIDs with the xforms ?
14:14:15 <h3llborn> rafa: good morning! :)
14:14:26 <rafa> h3llborn: hey
14:14:40 <h3llborn> rafa: well more of a good afternoon for you :P
14:14:55 <rafa> h3llborn: right :)
14:15:08 <rafa> h3llborn: I didn't have a chance to look at your fixes
14:15:10 <h3llborn> rafa: I hope you had a good dinner last night
14:15:28 *** breeze has joined #openmrs
14:15:29 <h3llborn> rafa: no worries, just shoot me an email whenever, I actually didn't get a chance to reply to your email yet
14:15:40 <rafa> h3llborn: ok, what are you plans for today?
14:15:45 <h3llborn> rafa: but I do have access to all 3 systems
14:16:01 *** LeeBreisacher2 has joined #openmrs
14:16:05 <rafa> h3llborn: cool
14:16:49 <LeeBreisacher2> @Daniel, are you there?
14:16:56 <h3llborn> rafa: so in the email next-steps, you mention that we should focus on packageing
14:17:19 <h3llborn> rafa: so I thought I would take a look at a few installers, and figoure out which one would be best suited for each platform
14:18:38 <cpower> !scrumoff
14:18:38 * 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.
14:18:53 <dkayiwa> LeeBreisacher2: ok
14:19:07 <rafa> h3llborn: sounds good
14:19:37 <LeeBreisacher2> did you see my last comment? it works ok with "mvn clean install", but fails when I add "--batch-mode".
14:19:50 <wyclif> rafa: sorry for the delay
14:19:52 <h3llborn> rafa: after trying out a few I will email you what I think, plus some details on their performance, after which I will get started on creating some of the scripts, starting with the version one I suppose
14:20:14 <rafa> h3llborn: ok
14:20:40 <rafa> h3llborn: have you downloaded atlassian sdk already?
14:20:54 <wyclif> rafa: the UI tests are run against which server? I think it is devtest01, right?
14:21:13 <h3llborn> rafa: I did a long time ago, but I will def. do it to see how they use their scripts
14:21:19 <rafa> wyclif: I don't know, but breeze must know :)
14:21:40 <wyclif> rafa: when you pulled the latest changes for referenceapplication and registration app, did you manage to see the address fields on the form?
14:22:17 <rafa> h3llborn: yes, it's good to follow others
14:22:36 <wyclif> rafa: and yes it must because you can't see the address fields
14:23:32 <rafa> wyclif: I'm still updating
14:26:02 <LeeBreisacher2> dkayiwa: so what is maven --batch-mode? how could that be causing the failure?
14:26:24 <dkayiwa> LeeBreisacher2: you do not need the batch mode
14:26:32 <dkayiwa> LeeBreisacher2: just do mvn clean install
14:26:41 <h3llborn> rafa: makes it easier since they've probably done enough trail and error
14:27:18 <LeeBreisacher2> dkayiwa: But the Bamboo build is using --batch-mode
14:27:31 <dkayiwa> LeeBreisacher2: it does not matter
14:27:44 <dkayiwa> LeeBreisacher2: it fails even with just mvn clean install
14:27:46 <breeze> rafa: wyclif what was the question?
14:27:54 <LeeBreisacher2> "mvn clean install" runs fine here. no failures. when I add the --batch-mode (like Bamboo is doing), then the test fails!
14:28:33 <rafa> breeze: which server is used to run UI tests?
14:28:37 <rafa> breeze: https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-606
14:28:41 <breeze> rafa: devtest01
14:28:46 <rafa> breeze: ok thanks
14:29:09 <LeeBreisacher2> dkayiwa: are you saying "mvn clean install" fails for you (without the --batch-mode) ?
14:29:22 <breeze> rafa: I know the build is broken right now...not sure is the guilty party is still working on fixing it
14:29:40 <dkayiwa> LeeBreisacher2: correct
14:30:14 <LeeBreisacher2> dkayiwa: arg. trying one more time..
14:31:34 <suranga> hi rafa sorry, I was on a bus when you pinged me :P
14:32:09 <suranga> rafa: I tried it the way you suggeseted, but for some reason, it doesnt seem to get triggered. I suspect that theres something wrong with my jquery...
14:33:08 <LeeBreisacher2> dkayiwa: I just ran mvn clean install (without the batch-mode) again and it's all green.
14:33:16 <rafa> suranga: share it
14:33:33 <dkayiwa> LeeBreisacher2: from eclipse or commandline?
14:33:34 <breeze> LeeBreisacher2: which build are you working on?
14:33:53 <LeeBreisacher2> command line.
14:34:02 <LeeBreisacher2> and I'm using latest sources
14:34:07 <suranga> rafa: thank you :) its at http://pastebin.com/NnBh4hny the offending method is named validateDependencies
14:34:34 <LeeBreisacher2> breeze: which build should I be using?
14:35:26 <dkayiwa> LeeBreisacher2: even right clicking on the test from eclipse and select run as junit test makes it fail for me
14:35:33 <breeze> LeeBreisacher2: when I do a "mvn clean integration-test" under the ui-test dir I am getting the same error as bamboo
14:35:39 <rafa> suranga: I think document.getElementById('hiddenAction').value = this.value; should be document.getElementById('hiddenAction').value = module.value;
14:35:56 <rafa> suranga: in line 35
14:36:07 <LeeBreisacher2> breeze: I think we're talking about two different things
14:36:13 <suranga> rafa: unfortunately, I tried it both ways :(
14:36:17 <breeze> LeeBreisacher2: ok...
14:36:22 <LeeBreisacher2> Daniel and I are talking about TRUNK-3970
14:36:23 <rafa> suranga: what is the js error you get?
14:36:44 <dkayiwa> LeeBreisacher2: copy your changes somewhere for the unit test. then do a git reset --hard
14:36:56 <dkayiwa> LeeBreisacher2: then do a: git pull upstream master
14:37:05 <rafa> suranga: do you want to try with teamviewer?
14:37:21 <dkayiwa> LeeBreisacher2: forget all about that
14:37:32 <dkayiwa> LeeBreisacher2: these are the new instructions
14:37:56 <dkayiwa> LeeBreisacher2: 1) discard all the local changes you have using something like: git reset --hard
14:38:11 <dkayiwa> LeeBreisacher2: 2) Then do a: git pull --rebase upstream master
14:38:27 <dkayiwa> LeeBreisacher2: 3) Remove the @Ignore attribute i put on the unit test
14:38:30 <breeze> LeeBreisacher2: yep. sorry. I'm in a different area right now
14:38:37 <dkayiwa> LeeBreisacher2: 4) Now do: mvn clean install
14:41:03 <LeeBreisacher2> dkayiwa: pretty sure that's what I've been doing. but doing it again..
14:41:40 <dkayiwa> LeeBreisacher2: are you sure you have been doing the 4 steps above?
14:42:04 <suranga> rafa: I tried using that dev tool. the jquery executes fine and ends with 200 (OK)
14:42:15 <suranga> rafa: could we ? unless youre busy ?
14:42:49 <LeeBreisacher2> dkayiwa: ok, you're right. it failed this time. strange. in any case, I'm not sure how to fix this.
14:42:51 <rafa> suranga: yes, let's try teamviewer
14:43:10 <LeeBreisacher2> dkayiwa: it's failing in the @Before (which this test doesn't even need)
14:44:20 <LeeBreisacher2> dkayiwa: with a Jdbc "unique index or primary key violation". why would this one test fail in the @Before, but none of the other tests in that class?
14:45:42 <dkayiwa> LeeBreisacher2: problem is with the unit test somewhere
14:47:31 *** GitHub32 has joined #openmrs
14:47:32 <GitHub32> [openmrs-core] dkayiwa pushed 1 new commit to master: http://git.io/HhvgOg
14:47:32 <GitHub32> openmrs-core/master dc0748b dkayiwa: Voiding a person doesn't work right - TRUNK-3971
14:47:32 *** GitHub32 has left #openmrs
14:50:29 *** davidpardz has left #openmrs
14:51:12 *** harshadura_ has joined #openmrs
14:53:48 <LeeBreisacher2> dkayiwa: I don't see how the problem could be in the unit test, when the failure is during the @Before. but how about if I just move the test to a new class by itself with no @Before ?
14:53:53 *** harshadura has quit IRC
14:54:16 <dkayiwa> LeeBreisacher2: do not fear to try out anything that crosses your mind :)
14:55:49 <harsz89> hi dkayiwa
14:56:01 <harsz89> harsz89, small question
14:56:09 <harsz89> harsz89, can i have few mins?
14:56:10 <dkayiwa> harsz89: hi
14:56:59 <harsz89> dkayiwa, dkayiwa is it possible to use event module listening to the event of a another module
14:57:21 <dkayiwa> harsz89: what usecase is that
14:57:44 <harsz89> dkayiwa, for example for my module i need to listen for a particular method execution in mu dependent module
14:58:07 <dkayiwa> harsz89: you can listen to events fired by the event module
14:58:42 <harsz89> dkayiwa, then is it possible to register a class for listen ?
14:59:13 <dkayiwa> harsz89: have you read about the event module?
14:59:15 *** travis-ci has joined #openmrs
14:59:15 <travis-ci> [travis-ci] [openmrs/openmrs-core] [dc0748b] [dkayiwa] The build passed. - http://travis-ci.org/openmrs/openmrs-core/builds/8542893
14:59:15 *** travis-ci has left #openmrs
14:59:18 <OpenMRSBot> <http://ln-s.net/-KeS> (at travis-ci.org)
14:59:36 <harsz89> dkayiwa, i have read about it but not much resources
14:59:45 <harsz89> dkayiwa, i'll have a more deep look
14:59:49 <harsz89> dkayiwa, :)
14:59:51 <dkayiwa> harsz89: ok
15:00:04 <harsz89> dkayiwa, my ultimate target is to
15:00:26 *** robbyoconnor has joined #openmrs
15:00:26 *** ChanServ sets mode: +v robbyoconnor
15:00:56 <harsz89> dkayiwa, listen for method execution of a class from some module A and then do some process in my module
15:01:03 <harsz89> dkayiwa, i'll have a look
15:01:11 <harsz89> dkayiwa, thanks :)
15:01:47 <dkayiwa> harsz89: ok :)
15:12:13 *** jblaya has quit IRC
15:16:05 *** GitHub94 has joined #openmrs
15:16:05 <GitHub94> [openmrs-core] LeeBreisacher opened pull request #353: Trunk 3970 (master...TRUNK-3970) http://git.io/C79bFQ
15:16:05 *** GitHub94 has left #openmrs
15:16:48 *** dkayiwa has left #openmrs
15:23:35 *** jblaya has joined #openmrs
15:28:00 <downey> #startmeeting Weekly OpenMRS.org Infrastructure Update 2013-06-28
15:28:00 <OpenMRSBot> Meeting started Fri Jun 28 15:28:00 2013 UTC. The chair is downey. Information about MeetBot at http://wiki.debian.org/MeetBot.
15:28:00 <OpenMRSBot> Useful Commands: #action #agreed #help #info #idea #link #topic.
15:28:00 *** OpenMRSBot changes topic to " (Meeting topic: Weekly OpenMRS.org Infrastructure Update 2013-06-28)"
15:28:17 <downey> #meetingname WeeklyCIT
15:28:17 <OpenMRSBot> The meeting name has been set to 'weeklycit'
15:28:25 <downey> #topic Overview
15:28:25 *** OpenMRSBot changes topic to "Overview (Meeting topic: Weekly OpenMRS.org Infrastructure Update 2013-06-28)"
15:28:32 <downey> #info Hello everyone. Every Friday around this time we will be doing a brief meeting to support communication for the OpenMRS.org infrastructure volunteers.
15:28:39 <downey> #info The general format of this meeting will be a brief report from the on-call person from the previous week discussing any major outages, recurring or ongoing issues. We'll then do a brief overview from each present volunteer discussing their major work from the previous week, and what they have planned for the following week, as well as if they have any
15:28:40 <downey> issues blocking them from progress.
15:28:50 <downey> #info issues blocking them from progress.
15:28:58 <downey> #info We are trying the MeetBot plugin in our OpenMRS bot, in case you were wondering. :-)
15:29:04 <downey> #chair elliott_w
15:29:04 <OpenMRSBot> Current chairs: downey elliott_w
15:29:11 <downey> elliott_w: Go ahead :)
15:29:22 <elliott_w> hello!
15:29:27 <elliott_w> #topic On-Call Report
15:29:27 *** OpenMRSBot changes topic to "On-Call Report (Meeting topic: Weekly OpenMRS.org Infrastructure Update 2013-06-28)"
15:29:50 <elliott_w> #info I was on-call this week
15:30:14 <elliott_w> #info No significant service disruptions (woot), the longest was some 25min of Crucible downtime last night
15:30:21 <downey> yay!
15:30:36 <elliott_w> #info but overall smooth sailing
15:30:43 <downey> #help We need to engage engineering about the future of Crucible and code review
15:30:55 *** jblaya has quit IRC
15:31:06 <elliott_w> #agreed to be honest I'm not sure what to do with it
15:31:46 <elliott_w> #topic Weekly Status
15:31:47 *** OpenMRSBot changes topic to "Weekly Status (Meeting topic: Weekly OpenMRS.org Infrastructure Update 2013-06-28)"
15:32:22 *** NameFILIP has quit IRC
15:32:24 <elliott_w> #info This week was spent coding on a future Module Repository and on OpenMRS ID
15:32:50 <rafa> suranga: ok I think I have figured it out
15:33:07 <downey> elliott_w: Have you got feedback from sunbiz on his zamboni experiences?
15:33:07 <elliott_w> #info I got a dev environment running Zamboni (modrepo platform) and am tentatively gathering info on where to begin modifying the platform
15:33:14 <rafa> suranga: document.getElementyById('actionHidden') always fails and is not needed at all
15:33:25 <rafa> suranga: there's simply no such element
15:33:45 <elliott_w> downey: not much yet — there's been a mailing list thread about where to begin w/ zamboni so far
15:33:47 <rafa> suranga: clicking on the button triggers the form submit action
15:33:55 <elliott_w> so...
15:34:08 <rafa> suranga: so if you want to prevent it you just need to return false from resolveDependencies
15:34:13 <elliott_w> #action needing more info before I feel comfortable diving into Zamboni
15:34:22 <downey> elliott_w: what kind of info do you need?
15:35:20 <elliott_w> downey: mostly design goals, what needs replacing/disabling. addons.mozilla.org offers IMO a whole lot more functionality than what would make sense for OpenMRS
15:35:51 <downey> elliott_w: if you don't get the necessary feedback from modules@o.org list, you should probably engage dev@ for feedback
15:36:03 <elliott_w> downey: good point
15:36:21 <downey> #help engineering should provide design feedback on proposals for zamboni config/UI
15:36:33 *** LeeBreisacher2 has left #openmrs
15:36:51 <elliott_w> #info other than mod repo, I've been updating OpenMRS ID to a modern set of dependencies, and have done some basic refactoring
15:37:07 <elliott_w> #info this should make it easier to drop in new functionality
15:38:01 <elliott_w> #info planning on later on building an OpenID authenticator for the dashboard—allowing authentication for Zamboni, possibly Google Apps, Discourse, any future services :)
15:38:15 <downey> elliott_w: whats on tap next week?
15:39:14 <elliott_w> #action downeym: Next week is more coding on Zamboni/OpenMRS ID
15:39:20 <elliott_w> and that's all
15:39:22 <elliott_w> #chair downey
15:39:22 <OpenMRSBot> Current chairs: downey elliott_w
15:39:24 <downey> cool
15:39:32 <downey> #info This past week I caught up on a lot of emails after being out last week. No fun.
15:39:38 <downey> #info Did some contact forms including OSCON contact form, and volunteer/visa forms for OMRS13.
15:39:44 <downey> #info Spent a lot of time figuring out how to get organizing teams for OMRS13 more engaged.
15:39:51 <downey> #info Did some evaluation on audio conference alternatives and WebRTC video conferencing services. So far most satisfied with Uber Conference although that's audio only.
15:39:58 <downey> #info Secured a new IntelliJ IDEA license for OpenMRS use. People who need one can open a helpdesk issue.
15:40:03 <downey> #link http://planet.openmrs.org/ Updated OpenMRS Planet with lots of new blogs included.
15:40:09 <downey> #help More people need to start blogging about OpenMRS stuff. :)
15:40:14 <downey> #action I'm on call next week.
15:40:19 <downey> #action Next week I will work on diagnosing our outbound SMTP issues with Mandrill and links in JIRA notifications.
15:40:25 <downey> #action Also next week I will try to draft up a JIRA upgrade/migration plan with Ryan when he returns from vacation.
15:40:32 <downey> #topic Any other issues
15:40:32 *** OpenMRSBot changes topic to "Any other issues (Meeting topic: Weekly OpenMRS.org Infrastructure Update 2013-06-28)"
15:40:38 <downey> #agreed We will plan to do these meetings at 11:00 AM Eastern Time (Indianapolis time) every Friday going forward. This one started a bit late because we were discussing the format in the back-channel. :)
15:40:41 <downey> elliott_w: anything else?
15:41:14 <elliott_w> downeym: sounds pretty good, anything from this week carrying over into next?
15:41:24 <downey> #endmeeting
15:41:24 <OpenMRSBot> Meeting ended Fri Jun 28 15:41:24 2013 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)
15:41:24 <OpenMRSBot> Minutes: openmrs/2013/openmrs.2013-06-28-15.28.html
15:41:24 <OpenMRSBot> Minutes (text): openmrs/2013/openmrs.2013-06-28-15.28.txt
15:41:24 <OpenMRSBot> Log: openmrs/2013/openmrs.2013-06-28-15.28.log.html
15:41:24 *** OpenMRSBot changes topic to "OpenMRS: open source medical record systems for the developing world - http://openmrs.org/ - IRC info & logs: http://go.openmrs.org/irc - Can't find the answer here? Try http://answers.openmrs.org/ - Register for OMRS13: http://events.openmrs.org/"
15:42:34 *** jblaya has joined #openmrs
15:44:42 <jblaya> nribeka, quick question, how do I erase the properties in a jetty installation so that it runs the initialsetup for openmrs once again?
15:45:49 *** harshadura has joined #openmrs
15:47:21 *** harshadura_ has quit IRC
15:53:27 <jblaya> hey suranga, do you use eclipse/jetty for openmrs?
15:59:35 <jblaya> sunbiz, jkeiper, hey, do you know how I can reset the properties in a jetty implementation, I deleted the openmrs database, and need to rerun the initialsetup
16:01:50 <harshadura> jblaya: did you mean the project.properties ?
16:02:14 <jblaya> thanks harshadura, I guess no one's around on friday mornings :)
16:02:40 <harshadura> jblaya: :)
16:03:13 <jblaya> basically, I need have openmrs rerun the initialsetup on jetty from eclipse
16:03:41 <jblaya> and I'd like to do the same thing that happens in openmrs when you delete the openmrs-runtime.properties file, but I don't know what that file is in jetty
16:04:24 <harshadura> jblaya: whats the OS you are using ? in linux/mac its on ~/.OpenMRS
16:04:40 <jblaya> ubuntu 12.04
16:05:06 <harshadura> jblaya: yeah then fire "rm -rf ~/.OpenMRS" :)
16:09:52 <jblaya> harshadura, thanks, for some reason it's taking /root/.OpenMRS instead of ~/.OpenMRS, is there a way to change that?
16:10:53 *** wyclif has quit IRC
16:11:21 <harshadura> jblaya: seems like you are running jetty as sudo/root user right ?
16:11:57 <jblaya> harshadura, well, I want to run it as my user jblaya, which is a sudoer, but I don't know if I messed up the setup in some way
16:13:39 <harshadura> jblaya: try running jetty with normal user, then i think that wont happen.
16:14:25 <jblaya> harshadura, and to do that I need to configure that in eclipse? because eclipse installed jetty automatically
16:16:27 <harshadura> jblaya: sorry, i dont have any idea about that
16:16:45 *** rafa has quit IRC
16:16:57 <jblaya> harshadura, ok, no worries, I'll keep working on it, thanks for the help so far, as you can probably tell, I'm just starting with this :D
16:17:19 <harshadura> jblaya: cool xD
16:20:06 *** wyclif has joined #openmrs
16:26:26 *** harsz89 has quit IRC
16:51:34 <nribeka> jblaya what's up :)
16:52:16 <jblaya> nribeka, hey, harshadura helped a bit on getting my eclipse/jetty set up and running, I'm gonna try something now and hopefully advance a little bit then I'll ask again :)
16:52:50 <nribeka> ah cool cool jblaya
17:06:51 *** davidpardz has joined #openmrs
17:06:52 *** ChanServ sets mode: +v davidpardz
17:19:00 *** breeze has quit IRC
17:26:27 *** harshadura has quit IRC
17:50:20 *** harsz89 has joined #openmrs
17:50:20 *** ChanServ sets mode: +v harsz89
17:54:14 *** harshadura has joined #openmrs
18:06:07 <jblaya> nribeka, you still there?
18:07:43 <jblaya> harshadura, nribeka, ok, I got openmrs to run on jetty from eclipse. One question, how does this help with module development?
18:07:56 <jblaya> is there an easy way to compile the module and place it in this instance?
18:08:38 <harsz89> jblaya,
18:08:42 <harsz89> jblaya, hi
18:09:26 <harsz89> jblaya, actually you can simply clone a module from github
18:09:34 <jblaya> harsz89, hi, you changed names on me
18:09:37 <harsz89> jblaya, then you can build it
18:09:47 <harsz89> jblaya, he he nope this is other harsha
18:10:02 <jblaya> harsz89, wow, hilarious :D
18:10:13 <harsz89> jblaya, after you build the module there is a omod directory inside a module
18:10:38 <harsz89> jblaya, after build the module you can see .omod file generated in that directory
18:10:57 <jblaya> harsz89, yep, so far it's all stuff that I know
18:11:06 <harshadura> jblaya, harsz89 xD
18:11:25 <harsz89> jblaya, ah then fine :)
18:11:36 <jblaya> my question is from there, once I compile the module, is there an easy way to send it to the openmrs jetty instance?
18:11:49 <jblaya> or do I have to manually load it into my local openmrs :)
18:12:11 <harsz89> jblaya, mhhh i think you need to copy it
18:12:27 <harsz89> jblaya, or can be load from the admin page
18:12:30 <harshadura> jblaya: currently none, h3llborn is working for it, its a summer project omrs sdk xD
18:13:02 <jblaya> harshadura, harsz89, ok, and harsz89 when you said copy you meant copy it to the modules directory and restart openmrs, right?
18:13:27 <harsz89> jblaya, yes :)
18:14:01 <jblaya> harsz89, ok, thanks, I thought the whole jetty thing was going to be more helpful in module development :D
18:15:27 *** elliott_w has quit IRC
18:18:35 <harshadura> jblaya: check this (I havent tried it yet though): https://github.com/openmrs/openmrs-module-omodreloader
18:18:40 <OpenMRSBot> <http://ln-s.net/-KhM> (at github.com)
18:21:53 *** jblaya has quit IRC
18:33:56 *** jblaya has joined #openmrs
18:36:57 *** davidpardz has quit IRC
18:41:17 <harshadura> hi wyclif
18:42:01 <wyclif> hi harshadura
18:42:29 <harshadura> wyclif: i have a lil problem related to xforms, can you help me ?
18:43:54 <wyclif> harshadura: sure if i can, am no expert though at xforms
18:44:07 <wyclif> harshadura: but am a little familiar
18:44:54 <harshadura> wyclif: i have embedded an xform into my module. So now i want to implement the server side part, i mean when i click the submit button it has to be saved in a new encounter.
18:45:15 <harshadura> wyclif: do i need to create encounters separately for that.
18:45:31 <harshadura> Is there any workaround to create them automatically ?
18:46:17 *** garima has quit IRC
18:46:59 <nribeka> jblaya: you still need to reload it using the web :)
18:47:15 <nribeka> jrebel was supposed to help you. but not really sure what's the deal with that now
18:47:43 <nribeka> i think since we change the folder structure for the module, it doesn't work anymore :(
18:47:46 <nribeka> http://zeroturnaround.com/software/jrebel/
18:50:33 *** jblaya has quit IRC
18:54:45 *** NameFILIP has joined #openmrs
18:54:46 *** ChanServ sets mode: +v NameFILIP
18:56:05 <wyclif> harshadura: hmm…..
18:57:59 <wyclif> the question is, are you assuming that the form is filled during a patient's encounter with a doctor or as a result of a doc having seen a patient, is yes, then probably that is fine
19:03:57 *** nribeka is now known as {nribeka}
19:04:12 *** {nribeka} is now known as [nribeka]
19:04:34 *** [nribeka] is now known as inribeka
19:04:54 *** inribeka is now known as [anribeka]
19:05:37 *** [anribeka] has left #openmrs
19:06:14 *** harshadura has quit IRC
19:06:26 *** [0nribeka] has joined #openmrs
19:06:26 *** ChanServ sets mode: +v [0nribeka]
19:06:30 <downey> [0nribeka]: hey
19:06:35 <[0nribeka]> hi downey
19:06:37 <downey> [0nribeka]: nice nick
19:06:41 <[0nribeka]> thank you!
19:07:54 *** jblaya has joined #openmrs
19:28:22 *** rday has joined #openmrs
20:12:45 <jblaya> harsz89, wyclif , I had another question about openmrs/jetty/eclipse, to restart openmrs once I've placed modules in the directory, is the only way to build the openmrs webapp again?
20:14:13 <wyclif> jblaya: i don't seem to ge exactly what you are trying to get at or accomplish
20:15:09 <jblaya> wyclif, basically, I've deployed openmrs on jetty through eclipse. Now I want to restart openmrs because I've added a few modules. Do I need to go to openmrs-webapp and go to Run As-Maven build
20:15:20 <jblaya> or is there an easier way to restart openmrs when it's running on jetty?
20:16:18 <jblaya> wyclif, does that make sense?
20:21:07 <wyclif> jblaya: hmm..
20:21:43 <wyclif> eclipse has a stop button when running any task
20:22:05 <wyclif> jblaya: clipse has a stop button when running any task, you need to stop it and start
20:23:12 <jblaya> wyclif, ok, I saw it, that actually also just rebuilds the web app, I guess that's how it is... thanks!
20:23:36 <wyclif> jblaya: cool
20:39:04 *** NameFILIP has quit IRC
21:06:57 *** jblaya has quit IRC
21:09:56 *** NameFILIP has joined #openmrs
21:09:56 *** ChanServ sets mode: +v NameFILIP
21:18:12 *** NameFILIP has quit IRC
21:19:13 *** jblaya has joined #openmrs
21:20:20 *** wyclif has quit IRC
21:50:15 *** wyclif has joined #openmrs
22:14:59 *** NameFILIP has joined #openmrs
22:14:59 *** ChanServ sets mode: +v NameFILIP
22:19:55 *** NameFILIP has quit IRC
22:26:52 <h3llborn> hey guys, if anyone wants to try out the embedded DB feel free to check out https://github.com/openmrs/openmrs-core/pull/349
22:26:56 <OpenMRSBot> <http://ln-s.net/-KkY> (at github.com)
23:15:09 *** rday has quit IRC
23:15:27 *** NameFILIP has joined #openmrs
23:15:27 *** ChanServ sets mode: +v NameFILIP
23:15:57 *** harsz89 has quit IRC
23:20:19 *** NameFILIP has quit IRC
23:27:48 *** harsz89 has joined #openmrs
23:27:49 *** ChanServ sets mode: +v harsz89
23:50:16 *** rday has joined #openmrs