IRC Chat : 2012-07-02 - OpenMRS

00:20:01 *** jordank_ has joined #openmrs
00:49:41 *** dkayiwa has quit IRC
01:00:06 *** orien has quit IRC
01:05:32 *** orien has joined #openmrs
01:36:38 *** bwolfe has joined #openmrs
01:36:38 *** ChanServ sets mode: +o bwolfe
01:41:27 *** bwolfe has quit IRC
01:52:34 *** Echidna has quit IRC
01:53:16 *** bwolfe has joined #openmrs
01:53:24 *** Echidna has joined #openmrs
02:03:40 *** bwolfe has quit IRC
02:11:51 *** suranga_ has joined #openmrs
02:12:05 *** rfriedman has joined #openmrs
02:17:47 *** rfriedman has quit IRC
02:18:59 *** jordank_ has quit IRC
02:49:07 *** Echidna has quit IRC
02:49:14 *** djazayeri1 has joined #openmrs
02:49:18 *** Echidna has joined #openmrs
02:51:00 *** djazayeri has quit IRC
03:00:46 *** Echidna_ has joined #openmrs
03:00:59 *** Echidna has quit IRC
03:01:59 <suranga_> hi djazayeri1
03:02:09 <suranga_> djazayeri1, are you here, by any chance ?
03:02:16 *** djazayeri1 is now known as djazayeri
03:02:17 *** ChanServ sets mode: +o djazayeri
03:02:20 <djazayeri> hi suranga_
03:02:22 <djazayeri> yes
03:02:50 <suranga_> djazayeri, he hee... Im having a small problem puttting up the ADT A08 messages
03:03:07 <suranga_> djazayeri, unfortunately, I did no work on those
03:03:29 <djazayeri> suranga_: for purposes of the conversation it'd be fine if you did the R01
03:03:36 <suranga_> djazayeri, the people who worked on that is at Rwanda, and out of radar at the moment :-)
03:03:57 <djazayeri> suranga_: I only suggested the A08 because then we'd be doing new stuff that would move your project forwards.
03:04:15 <suranga_> djazayeri, thats what I was worried about, since if I keep delaying people might loose intrest :)
03:04:46 <suranga_> djazayeri, tomorrow is an holiday for you guys, right ?
03:05:17 <djazayeri> suranga_: wednesday is a holiday
03:05:57 <suranga_> djazayeri, sorry, i mixed that up...
03:06:18 <suranga_> djazayeri, so I'll try to put up the R01 by tomorrow morning at least.... :)
03:07:00 *** orien has quit IRC
03:17:20 *** kishoreyekkanti has joined #openmrs
03:19:54 <djazayeri> suranga_: cool
03:21:22 *** kishoreyekkanti has quit IRC
03:31:35 *** upul` has joined #openmrs
03:31:35 *** ChanServ sets mode: +v upul`
03:34:44 *** Echidna_ has quit IRC
03:34:54 *** Echidna has joined #openmrs
03:34:54 *** ChanServ sets mode: +v Echidna
03:46:09 *** orien has joined #openmrs
03:50:05 *** orien has quit IRC
03:58:12 *** orien has joined #openmrs
04:05:59 *** suranga_ has quit IRC
04:08:24 *** applecool has joined #openmrs
04:08:24 *** ChanServ sets mode: +v applecool
04:24:16 <applecool> !seen rafa
04:24:16 <OpenMRSBot> applecool: rafa was last seen in #openmrs 15 hours, 9 minutes, and 30 seconds ago: <rafa> rfriedman: good you spotted it
04:34:01 *** applecoo_ has joined #openmrs
04:37:52 *** applecool has quit IRC
04:49:18 *** applecoo_ has quit IRC
05:28:19 *** lh has joined #openmrs
05:42:34 *** lhawthor_ has joined #openmrs
05:44:23 *** lhawthor_ has quit IRC
05:57:19 *** dkayiwa has joined #openmrs
06:16:43 *** dkayiwa has quit IRC
06:16:59 *** dkayiwa has joined #openmrs
06:18:28 *** lh has quit IRC
06:36:45 *** dkayiwa has quit IRC
06:37:01 *** dkayiwa has joined #openmrs
06:40:41 *** djazayeri1 has joined #openmrs
06:42:30 *** djazayeri has quit IRC
06:43:25 *** Echidna has quit IRC
06:43:30 *** Echidna has joined #openmrs
06:43:30 *** ChanServ sets mode: +v Echidna
06:55:33 *** dkayiwa has quit IRC
07:00:11 *** djazayeri1 has quit IRC
07:15:09 *** dkayiwa has joined #openmrs
07:25:19 *** dkayiwa has left #openmrs
07:28:27 *** dkayiwa has joined #openmrs
07:36:11 *** orien has quit IRC
07:56:47 *** rafa has joined #openmrs
07:56:47 *** ChanServ sets mode: +v rafa
07:59:57 *** rosesale has joined #openmrs
08:08:55 <dkayiwa> hi rosesale :)
08:09:46 <rosesale> dkayiwa: hi daniel. I have another issue. I have a text field that shows on the Design Surface but when I look at the preview, it is not there but its label is there. I tried refreshing the preview, but it is still missing.
08:10:49 <dkayiwa> can you give it a tab index like 300 and then refresh the preview. then tell me what happens
08:15:35 <rosesale> dkayiwa: that did it. Thanks you. :)
08:15:42 <rosesale> dkayiwa: thank you.
08:16:17 <dkayiwa> you are welcome. you can now change the tabindex to a more normal and logical value. was just troubleshooting :)
08:17:43 <rosesale> dkayiwa: does it have to be unique? Its value before was 16. And another field has 16 as tabindex too.
08:18:16 <dkayiwa> rosesale: yes the cause of the problem was that it was not unique. So just make it unique :)
08:21:14 <rosesale> dkayiwa: ohh i see. I have this idea, but i don't know how to implement it using xform. If I want to have multiple mobile numbers, how do I add multiple mobile numbers on the Person Attributes? And how do I implement this on Xform?
08:22:08 <dkayiwa> rosesale: what is the maximum number of mobile numbers that you expect?
08:23:14 <rosesale> dkayiwa: I saw an example of the repeat using xform (like the additional identifiers). But I don't know if it is possible with additional attributes. Since OpenMRS has an interface for adding Attributes.
08:24:15 <dkayiwa> rosesale: it is possible
08:24:29 <rosesale> dkayiwa: more than 2 but I think it will not reach morethan 10. I must also have a field to indicate if mobile or landline
08:24:41 <dkayiwa> rosesale: though a bit more complicated for attributes
08:25:21 <dkayiwa> rosesale: the simplest way is create a person attribute type for each mobile phone
08:25:54 <dkayiwa> rosesale: eg, Phone1, Phone2, Phone3, Phone4 etc
08:26:11 <rosesale> dkayiwa: Ohh. ok. So i need to have a limit.
08:27:07 <dkayiwa> rosesale: in real life, you cannot have 10 valid phone contants :)
08:27:43 <rosesale> dkayiwa: then If have them already. Say 5 of them, how do i access each using repeat in xform (i want something similar to the Other Identifier of the default XForm)
08:29:44 <dkayiwa> rosesale: the repeat is more complicated than simply phone1, phone2, .. phone5 attribute types
08:29:51 <rosesale> dkayiwa: yes actually. I was thinking of maybe 1-3 mobile numbers and 1-2 landline numbers (they are possible here in the Philippines :P)
08:30:40 <dkayiwa> rosesale: but any way, if you want it, change the filed type to "Repeat" in the form designer. I have taken some time to test it though, so you may experience some bugs :)
08:31:59 <rosesale> dkayiwa: ohh.. Which one should i set to 'Repeat'? Phone1?
08:32:42 <dkayiwa> rosesale: if you are using phone1, phone2, phone3, etc, then no need for repeat
08:36:24 <rosesale> dkayiwa: so if im just using 1? i'll set it to repeat. where will the inputs of the repeat go (as i did not set the Attribute to hold many numbers)?
08:37:56 <dkayiwa> rosesale: if you are using repeat, then you do not need to append the 1. you could as well just call it phone. then setting the type to repeat will be all you need (assuming this feature does not have bugs because it is quite some time since i last tested it :)
08:40:21 <rosesale> dkayiwa: and all of my input, say i inputed 3 phone numbers in the repeat, will be saved in the field phone?
08:43:41 *** Echidna has quit IRC
08:44:12 *** Echidna has joined #openmrs
08:44:12 *** ChanServ sets mode: +v Echidna
08:44:18 <dkayiwa> rosesale: in theory yes. but you need to first test and confirm that it works as am assuming :)
08:45:28 <rosesale> dkayiwa: what if I add phone as a dictionary concept and make the Attribute type to concept? then make it a repeat.
08:46:02 <dkayiwa> rosesale: you can try it out and see what happens
08:47:34 <rosesale> dkayiwa: ok. I'll experiment first. :) thank you. Ohh one more, is pop-ups possible in xform? and how do i call page2? or link to form 2?
09:21:24 <dkayiwa> rosesale: you can have as many pages as you want in the xform :)
09:23:28 *** Echidna has quit IRC
09:27:25 *** Echidna has joined #openmrs
09:27:25 *** ChanServ sets mode: +v Echidna
09:55:11 *** basic` has quit IRC
09:56:38 *** basic` has joined #openmrs
09:58:45 *** upul` has quit IRC
10:05:43 *** applecool has joined #openmrs
10:05:43 *** ChanServ sets mode: +v applecool
10:18:38 *** gede has joined #openmrs
10:27:16 *** applecoo_ has joined #openmrs
10:27:53 *** applecool has quit IRC
10:34:03 *** applecool has joined #openmrs
10:34:03 *** ChanServ sets mode: +v applecool
10:37:09 *** applecoo_ has quit IRC
10:41:23 <applecool> hi rafa
10:41:34 <rafa> hi applecool
10:42:09 <applecool> hmm! i was implementing the pagination for the compass search
10:42:35 <applecool> and i donno i am on the right track or not! would you like to check the code!
10:42:57 <applecool> i mean am i implementing in the correct way or not!
10:43:07 <applecool> do you have some time now? rafa
10:43:14 <rafa> applecool: busy right now
10:43:19 <applecool> okay
10:43:26 <applecool> will speak to you later then :)
10:43:40 <rafa> applecool: ok
10:57:12 *** james_regen has joined #openmrs
10:57:12 *** ChanServ sets mode: +v james_regen
11:13:20 *** rosesale has quit IRC
11:13:51 *** suranga has joined #openmrs
11:13:51 *** ChanServ sets mode: +v suranga
11:14:13 *** orien has joined #openmrs
11:16:24 *** dkayiwa has quit IRC
11:21:46 *** applecool has quit IRC
11:25:27 *** applecool has joined #openmrs
11:25:28 *** ChanServ sets mode: +v applecool
11:30:02 <rafa> applecool: still there?
11:30:08 <applecool> yes rafa
11:30:12 <applecool> waiting for you :)
11:30:17 <rafa> applecool: ok, sorry
11:30:23 <applecool> no problem :)
11:30:24 <rafa> applecool: we can scrum now
11:30:31 <applecool> oh great :)
11:31:04 <rafa> applecool: I've fixed searching by a user for you.
11:31:17 <applecool> oh wow! thanks
11:31:28 <rafa> applecool: I've also tested jetty configuration
11:31:29 <applecool> is that the problem only with the query?
11:31:40 <rafa> applecool: it does reload for me...
11:31:55 <applecool> meaning?
11:32:16 <rafa> applecool: the problem is we can't search by id in @SearchableReference
11:32:30 <applecool> oh!
11:32:39 <rafa> applecool: so I've added getUserId and annotated it with @SearchableProperty :)
11:32:56 <rafa> applecool: go check out the code :)
11:33:07 <applecool> okay will do it right away
11:33:13 <rafa> applecool: and regarding jetty
11:33:18 <applecool> okay
11:33:39 <rafa> applecool: when I do a change in any class, jetty does pick it up and reloads the app
11:33:57 <applecool> okay!
11:34:27 <rafa> applecool: can you please try starting jetty and modifying some class?
11:34:35 <rafa> applecool: the interval is 3 seconds
11:34:50 <rafa> applecool: so you will have to wait at most 3 seconds for jetty to notice your change
11:34:57 <applecool> okay
11:35:00 <applecool> will pull it
11:35:03 <applecool> one sec
11:35:13 <rafa> applecool: and another 15 - 20 seconds for the app to be reloaded
11:35:45 <rafa> applecool: it's much better than the whole build :)
11:35:55 <applecool> great :)
11:36:04 <rafa> applecool: if it doesn't work for you please copy logs for me
11:36:47 <applecool> okay
11:45:37 <applecool> http://pastebin.com/LHBwYDEw
11:45:48 <applecool> rafa: i donno why this conflict is coming
11:46:55 <rafa> applecool: it's because we both modified the same file :)
11:47:05 <rafa> applecool: you need to resolve conflicts
11:47:13 <applecool> oh! how do i fix it
11:47:17 <applecool> any tips
11:47:23 <applecool> ok will google it
11:47:24 <applecool> :)
11:47:45 <rafa> applecool: yes, google
11:47:49 <rafa> applecool: it's very simple
11:57:14 <rafa> applecool: I'd also recommend you adding ram to your mac :) Even 2 GBs will make a huge difference.
11:57:31 <applecool> hmm! yes :)
11:58:05 *** rafa has quit IRC
12:00:51 *** rafa has joined #openmrs
12:00:52 *** ChanServ sets mode: +v rafa
12:16:57 <applecool> rafa: i will be back in 2 hours leaving from school.
12:17:07 <rafa> applecool: safe travels
12:17:11 <applecool> i guess i got the search thing
12:17:17 <applecool> too
12:17:22 <applecool> i mean the pagination
12:17:24 <applecool> :)
12:17:36 <applecool> will let you know after reaching home
12:17:39 <rafa> applecool: great
12:17:57 <applecool> just resolved the conflict too :P
12:18:03 <applecool> and pulled it
12:21:37 *** wyclif has quit IRC
12:23:47 *** bwolfe has joined #openmrs
12:23:47 *** ChanServ sets mode: +o bwolfe
12:25:15 *** Echidna has quit IRC
12:25:15 *** Echidna_ has joined #openmrs
12:25:54 *** applecool has quit IRC
12:28:38 *** bwolfe has quit IRC
12:37:15 *** suranga has quit IRC
12:43:10 *** downey has joined #openmrs
12:43:10 *** ChanServ sets mode: +o downey
12:43:10 *** OpenMRSBot sets mode: +o downey
13:01:08 *** pushkar has joined #openmrs
13:04:34 *** goutham has joined #openmrs
13:05:11 *** goutham_ has joined #openmrs
13:08:07 *** wyclif has joined #openmrs
13:36:00 *** netrealm has joined #openmrs
13:44:16 *** orien has quit IRC
13:57:04 *** jriley has joined #openmrs
13:57:13 *** pushkar has quit IRC
13:57:22 *** cpower has joined #openmrs
13:59:45 <cpower> Good morning!
14:00:10 <cpower> wow it's a small group today
14:02:21 <cpower> So am I talking to myself?
14:02:38 <jriley> good morning
14:02:47 <jriley> .. and welcome to the OpenMRS channel
14:02:51 <cpower> ok good I know the channel works now
14:02:54 <cpower> :-)
14:03:07 <downey> Hi cpower and welcome to the #openmrs IRC channel.
14:03:16 <jriley> shoot, I flubbed my line
14:03:21 <cpower> Thanks
14:03:25 <downey> Hi jriley and welcome to the #openmrs IRC channel.
14:03:27 <downey> ;-)
14:03:30 <cpower> Are we ready to Scrum?
14:03:42 *** djazayeri has joined #openmrs
14:03:42 *** ChanServ sets mode: +o djazayeri
14:04:10 <cpower> !scrumon cpower
14:04:10 * 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:04:48 <cpower> Order: djazayeri, downey, rafa, wyclif, and anyone else who has something to share.
14:04:57 <rafa> hi!
14:05:03 <djazayeri> last week:
14:05:05 <djazayeri> * I-TECH
14:05:09 <djazayeri> this week:
14:05:12 <djazayeri> * I-TECH
14:05:28 <djazayeri> no blockers
14:05:59 <djazayeri> actually, one blocker
14:06:49 <djazayeri> Blocker: Metadata Sharing doesn't fully work with OpenMRS 1.9, unless I spend a bunch of time and effort working around the fact that we can't use MDS with concepts in 1.9
14:07:01 <djazayeri> Need to figure out how to resolve this.
14:07:39 <rafa> djazayeri: make MDS work with 1.9 :)
14:07:51 <djazayeri> rafa: right, I need your help with that. :-)
14:07:59 <downey> Friday: OMRS12 planning meetings, community CRM project work, IU infrastructure meetings
14:07:59 <downey> Today: OMRS12 planning meetings, OpenMRS1 Ltd. strategic documents, Regenstrief Innovation Committee meetings, OpenMRS.org redesign work, Atlassian bugs
14:08:00 <downey> Blockers: Some serious infrastructure problems at IU are going to delay summer upgrades, but we are now starting a dialogue about alternatives for urgent needs.
14:08:17 <rafa> Yesterday/today:
14:08:17 <rafa> * Completed REPORT-406: Move API unit tests to where they belong (they moved to omod when we mavenized)
14:08:17 <rafa> * Corrected REPORT-404: Multiple version testing in Reporting module
14:08:17 <rafa> * Created
14:08:17 <rafa> +TRUNK-3508: @StartModule does not work
14:08:17 <rafa> +REPORT-409: Tests fail for 1.8 and later
14:08:17 <rafa> +REPORT-411: Correct mvn release configuration
14:08:18 <rafa> * Tested Eclipse Juno automatic plugin installation
14:08:18 <rafa> * Started XFRM-68: Integrate patient UUID in forms
14:08:19 <rafa> No blockers.
14:09:12 <djazayeri> rafa: gotta run, but back in 20 mins to ask about MDS
14:09:25 <rafa> djazayeri: ok
14:09:36 <cpower> Wyclif...
14:09:44 <wyclif> Friday:
14:09:44 <wyclif> Curated some tickets
14:09:44 <wyclif> Weekly skype call with dmitry
14:09:44 <wyclif> Chat with darius about REPORT-399 - Support "groups of things" in UI that are not patient cohorts
14:09:44 <wyclif> Revisted REPORT-399 to implement what darius suggested
14:09:45 <wyclif> Annual RG employee evaluation
14:09:47 <wyclif> Complete TRUNK-3454 - Fix some of the failing release tests
14:09:50 <wyclif> Monday:
14:09:51 <wyclif> XFRM-69 - Integrate form UUID in forms
14:09:53 <wyclif> XFRM-34 - Handle XSLT Form Resource
14:09:55 <wyclif> Blockers: None
14:10:30 <cpower> Anyone else?
14:11:02 <cpower> Summary: Blockers Metadata sharing with 1.9. Who can help djazayeri?
14:11:12 <cpower> No discussion points
14:11:16 <cpower> !scrumoff
14:11:16 * 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:28:43 *** pushkar has joined #openmrs
14:29:11 *** pushkar has quit IRC
14:32:44 *** applecool has joined #openmrs
14:32:44 *** ChanServ sets mode: +v applecool
14:35:23 <djazayeri> hi rafa
14:35:31 <rafa> djazayeri: hi
14:35:59 <djazayeri> rafa: hey, so IIRC you were in the middle of doing some significant under-the-hood framework-y refactoring to be able to get MDS to support 1.9
14:36:12 <djazayeri> rafa: presumably because of the incompatible change to concept mappings
14:36:21 <djazayeri> rafa: is that right?
14:36:39 *** lh has joined #openmrs
14:36:39 *** lh has joined #openmrs
14:36:40 <rafa> djazayeri: yes, it's in the 1.9-support branch
14:36:51 <djazayeri> rafa: I.e. it's something that really you should finish off; or is that work that someone else could do?
14:37:46 <djazayeri> Who is the bugfixer this week, btw?
14:37:52 <rafa> djazayeri: it's hard to say how hard is that :)
14:38:07 <rafa> djazayeri: I think I am
14:38:16 <rafa> djazayeri: this week is Ben
14:38:33 <rafa> djazayeri: so I am next week :)
14:38:45 <djazayeri> rafa: because if you were the bugfixer, I'd vote for you fixing this as a high-priority bug. :-)
14:41:14 <djazayeri> rafa: it would be helpful to know if there's some fraction of this that is straightforward for others to work on
14:43:11 <rafa> djazayeri: I think the setup in the branch is correct. Now it's a matter of writing tests for importing/exporting concepts in 1.9 and make them pass.
14:43:17 *** goutham has quit IRC
14:44:05 <rafa> djazayeri: the tests should go to the 1.9-api submodule
14:44:09 *** lh has quit IRC
14:44:14 <rafa> djazayeri: https://github.com/OpenMRS/openmrs-module-metadatasharing/tree/1.9-support/api-1.9
14:44:18 <OpenMRSBot> <http://ln-s.net/$OXA> (at github.com)
14:44:44 *** lh has joined #openmrs
14:44:44 *** lh has joined #openmrs
14:44:45 <djazayeri> rafa: let's have this discussion via the dev list, actually
14:44:53 <djazayeri> rafa: I'll start it off
14:45:14 <rafa> djazayeri: good
14:45:24 <rafa> djazayeri: need to go eat my dinner :)
14:45:49 <djazayeri> rafa: Smacznego
14:46:02 <rafa> djazayeri: dzieki!
14:46:11 * djazayeri goes back to google translate
14:47:04 <applecool> djazayeri: rafa says thanks :D
14:47:22 <djazayeri> applecool: thanks
14:47:46 <applecool> djazayeri: :)
14:47:53 <applecool> rafa: mają wielki obiad :)
14:55:34 *** lh has quit IRC
14:55:36 *** harshadura has joined #openmrs
14:56:04 *** lh has joined #openmrs
14:56:04 *** lh has joined #openmrs
14:58:59 *** cpower has quit IRC
14:59:32 <applecool> rafa: there?
15:05:59 *** goutham has joined #openmrs
15:11:32 *** goutham has quit IRC
15:12:00 *** netrealm has quit IRC
15:13:17 *** netrealm has joined #openmrs
15:13:59 *** applecool has quit IRC
15:16:54 *** harshadura has quit IRC
15:21:06 *** rafa has quit IRC
15:30:08 *** lh has quit IRC
15:31:39 *** rfriedman has joined #openmrs
15:32:19 *** pushkar has joined #openmrs
15:32:24 <rfriedman> djazayeri, you there? got a few minutes?
15:32:32 *** pushkar has quit IRC
15:46:13 *** robbyoconnor has joined #openmrs
15:46:13 *** ChanServ sets mode: +v robbyoconnor
15:50:24 *** suranga has joined #openmrs
15:50:27 *** ChanServ sets mode: +v suranga
15:52:42 *** lh has joined #openmrs
15:52:42 *** lh has joined #openmrs
15:54:17 *** mvorobey has joined #openmrs
15:55:05 <mvorobey> hi all
15:56:12 <rfriedman> mvorobey, hi, i found the problem, just never added any files to the repo
15:56:31 <rfriedman> empty repos are always in synch
15:57:02 <rfriedman> sort of like sql nulls, doesn't matter what the domain is
15:59:07 <mvorobey> rfriedman, hah, forgot to say you about this ... sorry :)
16:00:53 *** applecool has joined #openmrs
16:00:53 *** ChanServ sets mode: +v applecool
16:03:54 <rfriedman> mvorobey, no, thanks to your help it's starting to make sense
16:04:35 <mvorobey> rfriedman, :)
16:04:52 <mvorobey> rfriedman, you are welcome :D
16:07:53 *** dkayiwa has joined #openmrs
16:09:15 <suranga> good morning downey :)
16:09:24 <suranga> downey, are you around, by any chance ?
16:14:05 *** dkayiwa has quit IRC
16:14:41 <downey> suranga: no :)
16:15:22 <suranga> downey, :p
16:15:40 <suranga> downey, it seems that we can claim tickets for the patieht matching module ....
16:16:00 <suranga> downey, for instance : https://tickets.openmrs.org/browse/PTM-61
16:16:40 <downey> suranga: seems that ticket needs review/triage first
16:16:43 <downey> before being claimed
16:17:40 <suranga> downey, oooops... mm... can I do that myself ?
16:18:31 <downey> suranga: i think one of the project approvers need to do that, currently james/shaun
16:18:50 <suranga> downey, ah, I get it... thanks :)
16:19:50 *** deepaganu has joined #openmrs
16:20:13 *** Echidna has joined #openmrs
16:20:13 *** ChanServ sets mode: +v Echidna
16:20:21 <deepaganu> hi all
16:20:30 *** Echidna_ has quit IRC
16:20:39 <deepaganu> i have created my module using the maven archtype
16:20:59 <deepaganu> but when i deploy my module i am getting an error Unable to refresh the WebApplicationContext Error creating bean with name 'messageSourceServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'mutableResourceBundleMessageSource' while setting bean property 'activeMessageSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating b
16:21:12 <deepaganu> can anyone help me
16:21:54 <rfriedman> deepaganu, yes
16:22:13 <suranga> deepaganu, I think you are missing a part of the exception there... the very very end ?
16:22:17 <rfriedman> you need to go way far down in that error message
16:22:50 <rfriedman> typically this problem is due to a mismatch between your hibernate hbm.xml file and the java object it represents
16:23:14 <rfriedman> the java object needs to have a no-parameters create method and should have sets and gets for all fields
16:23:36 <deepaganu> yes i guess
16:24:10 <rfriedman> the name of the java object needs to match the name of the object in the hbm.xml file and the field list has to correspond to the java object's field names
16:24:34 <rfriedman> i think you will find deep in the error message a failure to be able to create sessionFactory
16:25:11 <rfriedman> if your module has more than one service, you will find the service of the affected table/object slightly above the sessionFactory message
16:26:12 *** kreddy has joined #openmrs
16:29:35 *** dkayiwa has joined #openmrs
16:29:40 *** goutham has joined #openmrs
16:34:59 <rfriedman> deepaganu, any luck?
16:36:37 <wyclif> hi dkayiwa
16:36:46 <deepaganu> rfriedman: u rock
16:37:03 <rfriedman> deepaganu, hee hee, do you sew?
16:38:05 <rfriedman> deepaganu, or are you from western tip of australia?
16:42:24 *** dkayiwa has quit IRC
16:42:49 *** dkayiwa has joined #openmrs
16:44:59 <mvorobey> djazayeri, hi
16:45:26 <djazayeri> hi mvorobey
16:46:09 <mvorobey> djazayeri, little FYI: just retired svn project for reporting module as you've asked for
16:47:02 <mvorobey> djazayeri, https://tickets.openmrs.org/browse/REPORT-402
16:48:19 <djazayeri> mvorobey: thanks!
16:48:26 <djazayeri> I'll let Ben decide to close it
16:49:03 <mvorobey> djazayeri, np, need to notify bwolfe
16:58:54 *** dkayiwa_ has joined #openmrs
16:59:43 *** dkayiwa has quit IRC
16:59:44 *** dkayiwa_ is now known as dkayiwa
17:01:24 *** downey has quit IRC
17:01:55 *** downey has joined #openmrs
17:01:55 *** OpenMRSBot sets mode: +o downey
17:01:55 *** ChanServ sets mode: +o downey
17:02:07 *** goutham has quit IRC
17:02:16 *** goutham has joined #openmrs
17:18:06 *** netrealm has quit IRC
17:18:44 *** dkayiwa has quit IRC
17:18:56 *** dkayiwa has joined #openmrs
17:21:15 *** deepaganu has quit IRC
17:28:24 *** venkaban has joined #openmrs
17:38:21 *** dkayiwa has quit IRC
17:38:55 *** dkayiwa has joined #openmrs
17:40:32 *** goutham has quit IRC
17:40:44 *** goutham has joined #openmrs
17:42:39 <rfriedman> djazayeri, got a few minutes?
17:42:54 <djazayeri> rfriedman: got a call now, later
17:43:00 <rfriedman> ok tks
18:05:24 *** downey has quit IRC
18:08:25 *** lakkarau has joined #openmrs
18:10:17 *** applecool has quit IRC
18:11:57 <mvorobey> dkayiwa, hi
18:12:17 <dkayiwa> mvorobey: hi
18:12:37 <mvorobey> dkayiwa, have a minute ?
18:12:45 <dkayiwa> mvorobey: ok
18:13:39 *** rfriedman has quit IRC
18:13:40 *** goutham has quit IRC
18:13:45 <mvorobey> dkayiwa, tell me please if it is a good practice to add data with modules ?
18:13:56 <mvorobey> dkayiwa, meaning liquibase.xml
18:14:03 *** goutham has joined #openmrs
18:14:03 <dkayiwa> mvorobey: like what data?
18:14:31 <mvorobey> dkayiwa, single row into module table
18:14:40 <dkayiwa> mvorobey: what data
18:16:11 <mvorobey> dkayiwa, like when I have custom table called TABLE_1 and I need to have 1 row in this table when my module is started
18:16:45 <dkayiwa> mvorobey: just to give me an idea, what exact data will you be adding?
18:17:02 <mvorobey> dkayiwa, ah
18:17:06 <mvorobey> dkayiwa, sec
18:17:33 <mvorobey> dkayiwa, <custommessage_locations location_id="core" name="Core" uuid="a2e65607-d0c4-4e44-8be6-31e1ac7e199d" />
18:18:51 <dkayiwa> mvorobey: is your code dependent on that row existing?
18:19:00 <dkayiwa> mvorobey: what happens when the user deletes that row?
18:20:53 <mvorobey> dkayiwa, actually, it can not be deleted as i will not expose corresponding API methods for deleting such rows
18:21:07 *** downey has joined #openmrs
18:21:07 *** ChanServ sets mode: +o downey
18:21:07 *** OpenMRSBot sets mode: +o downey
18:21:15 <dkayiwa> mvorobey: what happens if i go to the database and delete that row?
18:22:17 <mvorobey> dkayiwa, there will not be a chance for user to export messages for that location
18:23:08 <dkayiwa> mvorobey: anyway, i think it is ok for modules to insert some core data it needs. Just like the core liquibase files do :)
18:23:36 <mvorobey> dkayiwa, until he create just one more in-line customization for core any jsp page, which creates that row automatically
18:23:53 <mvorobey> he create = he creates
18:24:00 <dkayiwa> ok
18:25:02 <mvorobey> dkayiwa, thanks, i got a clue in which direction should i move
18:25:19 <dkayiwa> mvorobey: ok
18:25:34 <djazayeri> mvorobey: basically it's okay to do it via liquibase, but (arguably) better to do it at module startup
18:25:52 <djazayeri> mvorobey: but only if it's an OpenMRS-1.7+ module. Pre-1.7 don't do anything at module startup. :-)
18:26:18 <mvorobey> djazayeri, 1.6 + :(
18:26:29 <djazayeri> mvorobey: okay, then liquibase it. :-)
18:26:38 <mvorobey> djazayeri, thanks!
18:33:41 *** rafa has joined #openmrs
18:33:41 *** ChanServ sets mode: +v rafa
18:36:41 <kreddy> hey suranga,
18:36:55 <suranga> hi kreddy
18:37:06 <suranga> kreddy, sorry, it seems that I missed you last week
18:37:29 <kreddy> suranga, no problem, are you on skype?
18:37:41 <suranga> kreddy, yep, im here
18:43:58 <suranga> james_regen, thanks a lot ! that was pretty quick ! :)
18:44:56 <james_regen> suranga: no problem. i didn't know i was the module owner, and never understood why i had to go through such a complicated process with the tickets
18:45:18 <suranga> james_regen, :-)
19:04:07 *** goutham has quit IRC
19:07:32 *** james_regen has quit IRC
19:13:17 *** sgithens has joined #openmrs
19:17:05 *** venkaban has quit IRC
19:19:48 *** goutham has joined #openmrs
19:19:49 *** suranga_ has joined #openmrs
19:22:54 *** suranga has quit IRC
19:24:25 *** suranga__ has joined #openmrs
19:25:40 *** suranga_ has quit IRC
19:28:28 *** mvorobey has quit IRC
19:33:09 *** suranga_ has joined #openmrs
19:34:11 <sgithens> djazayeri: Do you run the HTML Form Entry unit tests from inside Eclipse?
19:34:38 <djazayeri> sgithens: I typically run the maven build (from eclipse) and if anything fails, I'd run the individual test class from within eclipse
19:35:38 <sgithens> djazayeri: Ok, so it does work to run them from inside eclipse. Can you use the debugger inside of them?
19:36:02 *** suranga has joined #openmrs
19:36:04 <djazayeri> sgithens: yes, you can use the debugger. Debug As -> JUnit test
19:36:15 <djazayeri> sgithens: life is very sad without the debugger
19:36:53 <sgithens> djazayeri: Cool thanks, just wanted to make sure it's possible before going about setting it up. I use the debugger to connect to a regular instance, but I've never actually tried to run a maven build from outside bash
19:36:56 *** suranga__ has quit IRC
19:38:14 *** suranga_ has quit IRC
19:39:39 *** jordank has joined #openmrs
19:41:14 <djazayeri> sgithens: you shouldn't have to set anything up
19:41:33 <djazayeri> sgithens: just open up the test file in eclispse, and do debug as -> junit test
19:51:10 *** suranga_ has joined #openmrs
19:52:47 *** suranga_ has quit IRC
19:53:05 *** suranga_ has joined #openmrs
19:54:10 *** suranga has quit IRC
19:54:11 *** mvorobey has joined #openmrs
20:00:48 <wyclif> hi dkayiwa
20:01:01 <dkayiwa> wyclif: hi
20:01:33 <mvorobey> djazayeri, hi
20:01:37 *** lh has quit IRC
20:01:43 <djazayeri> hi mvorobey
20:02:19 <mvorobey> djazayeri, is there any utility with openmrs which can be used for creating zip file in memory ?
20:03:29 <djazayeri> mvorobey: sadly I don't think so. java has some tools for this, but they're sadly low-level
20:04:39 <mvorobey> djazayeri, ah, it is so pity ...
20:09:03 <wyclif> can you look at XformsBuilder
20:09:22 <wyclif> XformBuilder
20:09:33 <wyclif> dkayiwa, can you look at XformBuilder
20:09:49 <dkayiwa> wyclif: ok
20:10:20 <wyclif> dkayiwa, i dont seem to see any references to the methods getXform4mFiles
20:10:33 <wyclif> dkayiwa, when are they called
20:11:22 <dkayiwa> wyclif: they were only for testing. so you are right they are never called
20:11:55 <wyclif> dkayiwa, so for XFRM-69, which uuid is that?
20:12:14 <dkayiwa> !ticket xfrm-69
20:12:16 <OpenMRSBot> dkayiwa: [#XFRM-69] Integrate form UUID in forms - OpenMRS JIRA - https://tickets.openmrs.org/browse/xfrm-69
20:12:18 <wyclif> dkayiwa, for the openmrs form or xform
20:12:52 <dkayiwa> wyclif: for the openmrs form to use a uuid instead of form_id
20:13:08 <wyclif> dkayiwa, ok
20:33:15 <sgithens> djazayeri: Things are working now ( I had to scrap my eclipse from scratch ). I'm not sure how to change the version of openmrs Html Form Entry is running against though
20:33:45 <djazayeri> sgithens: at the command line something like mvn test -PopenmrsVersion=1.8
20:34:04 <sgithens> djazayeri: Right, but I want to do it in Eclipse now so I can use the debugger
20:34:57 <djazayeri> sgithens: hmm. tricky… maybe you need to set up a Debug As -> Maven build for it...
20:34:58 <sgithens> when you go Run/Debug as Junit in eclipse on a single class I don't think it's actually going through maven is it?
20:35:05 <djazayeri> sgithens: no, not through maven
20:35:23 *** suranga_ has quit IRC
20:35:28 <djazayeri> sgithens: so I guess you need to run it as a maven build, with the profile activated, but do Debug As rather than Run As, and set a breakpoint.
20:35:33 <djazayeri> sgithens: that should work
20:35:47 <sgithens> cool, will give that a go
20:37:10 *** lh has joined #openmrs
20:38:30 *** venkaban has joined #openmrs
20:39:39 <mvorobey> djazayeri, can you give me a tip ?
20:39:48 <djazayeri> mvorobey: what's up?
20:41:13 <mvorobey> djazayeri, module reloading began to take abnormally long time, any ideas ?
20:42:06 <djazayeri> mvorobey: have you set your memory options?
20:42:35 <djazayeri> mvorobey: after lots of reloads? or after a particular change?
20:43:07 <mvorobey> djazayeri, after particular change
20:43:39 <mvorobey> djazayeri, my opts are -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:NewSize=128m
20:43:40 *** sgithens has quit IRC
20:43:45 <djazayeri> mvorobey: those are fine. what change?
20:44:23 *** jriley has quit IRC
20:45:17 <mvorobey> djazayeri, for example, I rebuilt my module and was trying to re-install it, and it took about 3m to restart openmrs
20:45:34 <djazayeri> mvorobey: sometimes you just need to stop jetty/tomcat, and restart it
20:45:57 <djazayeri> mvorobey: there's a memory leak somewhere, if you reload modules too many times, it pops up
20:46:03 <mvorobey> djazayeri, did it, the same thing ...
20:46:08 <djazayeri> mvorobey: but not until you've done a bunch of reloads. okay
20:46:20 <djazayeri> mvorobey: watch your logs. anything unusual?
20:47:24 <mvorobey> djazayeri, exceptions with logic service
20:47:35 <djazayeri> mvorobey: yeah, I'm seeing those all the time too
20:48:14 <djazayeri> mvorobey: and module reloading tends to be slow for me these days too, but I am using ~10 interdependent modules, so I'm assuming that's the reason
20:49:02 <mvorobey> djazayeri, I have 6 modules
20:50:10 <mvorobey> djazayeri, considering with log i can say that building/desroying hibernate session takes almost all time
20:51:57 <mvorobey> desroying = destroying
20:52:09 <mvorobey> :D
20:53:16 <mvorobey> djazayeri, seems like jetty restart is what I needed :) thanks a lot !!
20:53:23 <djazayeri> mvorobey: cool
20:59:38 *** rafa has quit IRC
20:59:42 *** mvorobey has quit IRC
21:02:05 *** rafa has joined #openmrs
21:02:05 *** ChanServ sets mode: +v rafa
21:08:06 *** wyclif has quit IRC
21:41:14 *** dkayiwa has quit IRC
22:00:36 <venkaban> djazayeri, Hi
22:01:04 <venkaban> djazayeri, Hey i am working on Xforms and planning to get the code into eclipse
22:01:49 <venkaban> djazayeri, the .omod file I downloaded it and I just simply need to get into eclipse and can start working right?
22:02:53 *** downey has quit IRC
22:03:23 <djazayeri> venkaban: you need to check out the code (not sure if it's in svn or git)
22:04:43 *** lh has quit IRC
22:07:44 <venkaban> djazayeri, its in git
22:08:01 <djazayeri> venkaban: okay, so if you're going to work on the code you need to get it from git
22:08:33 <djazayeri> venkaban: fork it to your own github account (create one if you don't have one), clone it from there to your machine, and import it into eclipse.
22:09:31 <venkaban> this Xforms mod doesnt depend on other mods like HFE or openmrs trunk branch right
22:09:42 <djazayeri> venkaban: I don't think so
22:09:50 <venkaban> ok
22:09:50 <venkaban> because i am planning to close the previous projects and then work on xforms
22:09:56 *** robbyoconnor has quit IRC
22:10:22 *** robbyoconnor has joined #openmrs
22:10:30 *** ChanServ sets mode: +v robbyoconnor
22:12:28 *** kreddy has quit IRC
22:12:37 *** rafa has quit IRC
22:12:52 *** kreddy has joined #openmrs
22:24:06 <djazayeri> venkaban: that's fine
22:35:33 *** venkaban has quit IRC
22:36:03 *** venkaban has joined #openmrs
22:48:00 <venkaban> djazayeri, Hi Can you please give me some idea on XFRM-80
22:48:50 <venkaban> djazayeri, like where exactly the fix needs to be put in
22:48:59 <djazayeri> !ticket XFRM-80
22:49:01 <OpenMRSBot> djazayeri: [#XFRM-80] Offline XForms Designer doesnt work - open with blank html page - OpenMRS JIRA - https://tickets.openmrs.org/browse/XFRM-80
22:49:26 <djazayeri> venkaban: I have no idea
22:49:39 <djazayeri> venkaban: I actually have never worked on the xforms module at all...
22:49:49 <venkaban> ok
22:50:06 <djazayeri> venkaban: I suggest commenting on the ticket to ask Daniel where to look for the bug, and picking a new ticket to work on that's better described.
22:51:12 <venkaban> ok got it, I will update the ticket and look on the other one meanwhile
22:59:35 *** venkaban has quit IRC
23:10:48 *** orien has joined #openmrs
23:31:49 *** wyclif has joined #openmrs