IRC Chat : 2011-08-25 - OpenMRS

00:05:40 *** jportela has quit IRC
00:11:35 *** wyclif has joined #openmrs
00:37:23 *** Echidna_ has quit IRC
00:52:25 *** gbastien has joined #openmrs
01:01:18 *** rafa has joined #openmrs
01:01:18 *** ChanServ sets mode: +v rafa
01:21:01 *** gbastien has quit IRC
01:23:04 *** rafa has quit IRC
01:52:39 *** burke has joined #openmrs
01:52:39 *** ChanServ sets mode: +o burke
02:29:14 *** burke has quit IRC
02:30:20 *** neal-haiti has quit IRC
02:41:22 *** upul` has joined #openmrs
02:41:22 *** ChanServ sets mode: +v upul`
02:43:54 *** gbastien has joined #openmrs
02:51:23 *** upul` has quit IRC
03:00:57 *** upul` has joined #openmrs
03:00:57 *** ChanServ sets mode: +v upul`
03:16:16 *** gbastien has quit IRC
04:54:41 *** surangak has joined #openmrs
05:57:35 *** bwolfe has joined #openmrs
05:57:35 *** ChanServ sets mode: +o bwolfe
06:52:01 *** pascal` has joined #openmrs
07:00:06 *** bryq has joined #openmrs
07:00:06 *** ChanServ sets mode: +v bryq
07:10:09 *** pascal` has quit IRC
07:11:57 *** pascal` has joined #openmrs
07:12:13 *** rafa has joined #openmrs
07:12:13 *** ChanServ sets mode: +v rafa
07:35:06 <surangak> rafa, good morning
07:35:19 <rafa> morning surangak
07:35:22 <surangak> rafa, i was googling net regarding jRebel
07:35:42 <surangak> rafa, apparently our old friend has done a lot of research on openmrs and Jrebel
07:35:55 <surangak> rafa, Justin Miranda ?
07:36:02 <surangak> rafa i found this http://blog.justinmiranda.com/2010/02/hotswap-this.html
07:36:06 <OpenMRSBot> <http://ln-s.net/96qp> (at blog.justinmiranda.com)
07:36:26 <surangak> rafa, it details how he got things working. I havent tried it out, but u might find it helpful
07:36:48 <rafa> surangak: it's slightly outdated
07:37:10 <surangak> surangak, ooops, sorry
07:37:14 <rafa> surangak: we've got everything setup with maven now
07:37:23 <surangak> rafa, then i wont try it out :D
07:37:55 <surangak> rafa, for jrebel, i noticed that we have to sign up for a 30 day license ?
07:38:33 <rafa> surangak: you'll get a full license from Michael Downey :)
07:39:00 <surangak> rafa, aha ! thanks rafa, ill try that out :-)
07:39:18 <rafa> surangak: jrebel is for free for open source projects
07:39:43 <rafa> surangak: configuration is described here https://wiki.openmrs.org/display/docs/Using+the+M2Eclipse+Maven+Plugin+In+Eclipse
07:39:44 <OpenMRSBot> <http://ln-s.net/8c8D> (at wiki.openmrs.org)
07:40:08 <rafa> surangak: only how to configure modules is missing
07:40:55 <rafa> surangak: I've read that there were some bugs in jrebel while working with modules
07:41:16 <rafa> surangak: they may have been resolved in the nightly build of jrebel
07:41:25 <rafa> surangak: I haven't tested it yet
07:41:58 *** surangak has left #openmrs
07:59:25 *** surangak has joined #openmrs
08:00:22 <surangak> rafa, sorry, I had a power faliure
08:00:49 <surangak> rafa, no worries, ill try it out myself, and let you know if there's any imprevements :-)
08:01:08 <rafa> surangak: ok
08:48:40 *** Echidna has joined #openmrs
08:48:40 *** ChanServ sets mode: +v Echidna
09:37:28 <rafa> bwolfe: Do you have any idea why CI jobs might get killed? See https://ci.openmrs.org/browse/SPRNT-PROV-20/log
09:37:57 <rafa> bwolfe: it happened second time
09:40:12 <rafa> bwolfe: https://ci.openmrs.org/browse/SPRNT-PROV-7/log was the first time we noticed it
09:40:28 <rafa> bwolfe: it was enough to re-run the build
09:41:57 <rafa> bwolfe: out of memory?
09:59:37 *** bwolfe has quit IRC
09:59:40 *** bwolfe_ has joined #openmrs
09:59:47 *** ChanServ sets mode: +o bwolfe_
10:26:01 *** bryq has left #openmrs
10:33:18 <bwolfe_> rafa, ci jobs get killed if they take too long
10:33:24 <bwolfe_> or if they use too much memory
10:33:29 <bwolfe_> or if a still wind blows in from the south
10:33:31 *** bwolfe_ is now known as bwolfe
10:34:49 <rafa> bwolfe: haha, love the last one
10:34:58 <rafa> bwolfe: https://ci.openmrs.org/browse/SPRNT-PROV-JOB1-21/ this one failed just after a minute
10:35:04 <OpenMRSBot> <http://ln-s.net/96ry> (at ci.openmrs.org)
10:35:13 <bwolfe> yeah, so its not the first one :-p
10:35:26 <bwolfe> there are a bunch of jobs that have failed randomly over the last few days with the same results
10:35:36 <rafa> bwolfe: I bet it's the third one :D
10:35:39 <bwolfe> I don't know if we're just using too many plans or if its something we can get them to fix
10:36:18 *** mnunez has joined #openmrs
10:36:27 <rafa> bwolfe: They are not run all at once so it shouldn't be that big problem
10:37:20 <bwolfe> dunno
10:37:25 <bwolfe> could be a memory leak thing
11:03:29 *** surangak has quit IRC
11:20:07 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (providers): TRUNK-2394: Can we use the search widget to "list all items" too? ... <http://feedproxy.google.com/~r/OMRStrunk/~3/tGMpWoVX3VI/OpenMRS> || New Changeset: OpenMRS (providers): TRUNK-2261: Liquibase script to migrate legacy Encounter.provider data to Encounter.providers ... <http://feedproxy.google.com/~r/OMRStrunk/~3/UE3Qo3X4-yA/OpenMRS>
11:31:08 *** upul` has quit IRC
11:34:36 *** james_regen has joined #openmrs
11:34:36 *** ChanServ sets mode: +v james_regen
11:35:27 *** cta has joined #openmrs
11:35:34 <cta> hello
11:54:10 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Database Messages 0.1-SNAPSHOT.22431 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=databasemessages&ampversion=&amp0.1-SNAPSHOT.22431>
12:26:52 *** bryq has joined #openmrs
12:26:52 *** ChanServ sets mode: +v bryq
12:27:34 <bryq> rafa: Hi :) Can you join connect.openmrs.org?
12:27:43 <rafa> hi bryq
12:27:43 <rafa> sure
12:28:44 <bryq> rafa: The font it good? Or should I enlarge it even more?
12:29:07 <rafa> you could enlarge slightly
12:29:37 <rafa> it's all right now
12:29:59 <bryq> rafa: Can you hear my voice?
12:30:08 <rafa> bryq: nope
12:30:25 <bryq> rafa: I think there was an option for microphone some time ago
12:30:38 <bryq> rafa: But now I don't see it
12:31:04 <rafa> bryq: it may be availble only during the call
12:31:04 <bryq> rafa: Maybe someone has changed the configuration and we will speak only to freeconferencing
12:31:35 <bryq> rafa: Anyway, the screen sharing works, that's good
12:32:06 <rafa> bryq: will you be presenting the demo live?
12:32:23 <bryq> rafa: Yes
12:32:37 <bryq> rafa: Have you seen the pre-record?
12:32:43 <rafa> bryq: no
12:32:49 <rafa> bryq: did it work?
12:33:14 <bryq> rafa: Here it is: http://www.youtube.com/watch?v=BhnURq8psaQ
12:33:24 <bryq> rafa: Everything was fine, I think
12:33:38 <rafa> cool :D
12:34:43 *** wyclif has quit IRC
12:34:50 <bryq> rafa: We can attach it to some wiki page. Just for future generations :-P
12:35:13 <rafa> sure!
12:35:27 <rafa> bryq: I think the best place is project's wiki
12:35:42 <bryq> rafa: YEs
12:35:48 <rafa> bryq: somewhere at the top
12:37:26 <rafa> bryq: be sure to add it there before your presentation :)
12:39:28 <rafa> bryq: what software did you use to record?
12:39:49 <bryq> rafa: "Camtasia" 30 days trial
12:40:12 <bryq> rafa: I'll add the video here: http://www.youtube.com/watch?v=BhnURq8psaQ Okay?
12:40:22 <bryq> rafa: https://wiki.openmrs.org/display/projects/Metadata+Sharing+Project+%28round+2%29 here I meant
12:40:27 <OpenMRSBot> <http://ln-s.net/96si> (at wiki.openmrs.org)
12:40:52 <rafa> bryq: sure
12:41:43 <rafa> bryq: I like the zoom in your video
12:41:58 <rafa> bryq: Is it a feature of Camtasia?
12:42:14 <bryq> rafa: Me too, but sometimes I've put too much zoomings
12:42:25 <bryq> rafa: Yes
12:43:27 <bryq> rafa: And propably it has some more features, but this was added automatically and I started to play with it
12:43:52 <bryq> rafa: In particular, on the movie the import process lasts very quick
12:44:04 <bryq> rafa: In real-life it will last longer
12:44:12 <bryq> rafa: But there I've cut few seconds :)
12:44:21 <rafa> I didn't notice ;)
12:44:40 <bryq> rafa: That's good
12:44:44 <rafa> bryq: it's really nice!
12:54:51 *** downeym has joined #openmrs
12:54:51 *** ChanServ sets mode: +o downeym
12:54:51 *** OpenMRSBot sets mode: +o downeym
13:21:43 *** bryq_web has joined #openmrs
13:21:52 <downeym> Hi bryq_web and welcome to the #openmrs IRC channel.
13:24:03 *** wyclif has joined #openmrs
13:29:41 *** burke has joined #openmrs
13:29:47 *** ChanServ sets mode: +o burke
13:41:30 *** jriley has joined #openmrs
13:44:18 <mnunez> Hi! Could anyone guide me intro how to add widgets bound to patient attributes into the XForms Module Patient Registration?
13:52:50 *** r0friedman has joined #openmrs
13:52:59 *** r0friedman is now known as r-friedman
13:53:09 <mnunez> I don't know whether it's possible or if it would be something to add to the module.
13:53:42 <bwolfe> I haven't used xforms, so have no idea what the answer is mnunez. but hav eyou checked the docs? https://wiki.openmrs.org/display/docs/XForms+Module
13:53:48 <OpenMRSBot> <http://ln-s.net/96tN> (at wiki.openmrs.org)
13:54:50 <downeym> !devmtg
13:54:51 <OpenMRSBot> downeym: "devmtg" --- Reminder: Developer meeting Thursday at 10:00 AM Eastern - http://wiki.openmrs.org/display/docs/Weekly+Developer+Meeting
13:55:16 <jriley> Spooky. The dev meeting hold music started to play "Backin' Up" just as I started a backup. GET OUT OF MY MIND!
13:55:26 * jriley puts on the tinfoil hat
13:55:55 <bwolfe> creepy indeed
13:58:37 <bwolfe> what is this music now?
13:58:39 <bwolfe> congo drums?
13:58:48 <downeym> royalty-free?
13:58:58 <bwolfe> and a hint of xylophone in that last one?
13:59:09 <jriley> Don't know, but I can dance to it
13:59:32 <jriley> The guitar riffs sound like the soundtrack from Labyrinth
13:59:52 <jriley> Dated myself with that one, huh?
14:00:46 *** burke_ has joined #openmrs
14:01:01 <r-friedman> can't seem to get the number pad to come up in skype, suggestions?
14:03:14 *** burke_ has joined #openmrs
14:03:22 <downeym> Hi burke_ and welcome to the #openmrs IRC channel.
14:03:46 <r-friedman> ok got it
14:04:26 *** mccallumg has joined #openmrs
14:04:26 *** ChanServ sets mode: +v mccallumg
14:05:00 *** burke has quit IRC
14:05:01 <r-friedman> djazayeri: hi darius
14:05:07 <djazayeri> hi r-friedman
14:05:29 <r-friedman> djazayeri: are you intending to change the person attribute paradigm in 1.9?
14:06:07 <djazayeri> r-friedman: that's the plan, yes. (that would be jelena's SoC project)
14:06:38 *** gbastien has joined #openmrs
14:06:43 <r-friedman> djazayeri: I'm concerned about breaking stuff if that happens
14:07:04 <djazayeri> r-friedman: yes, definitely it needs testing
14:07:12 <r-friedman> can the old fields be kept?
14:07:22 <r-friedman> also the old fieldgens?
14:07:39 <r-friedman> like for 2 versions like other deprecated stuff?
14:07:42 <djazayeri> The idea is to preserve all existing data—no end-user should notice the change
14:08:04 <djazayeri> (all existing data, and widgets)
14:08:21 <djazayeri> the overall goal is to make all the attribute types work in the same way
14:08:35 <r-friedman> what about changes for person_address and the portlet?
14:08:36 <djazayeri> (person, visit, location, provider)
14:08:53 <r-friedman> person is the only currently existing one
14:09:09 <djazayeri> But 1.9 will add person, visit, location (and maybe provider)
14:10:32 <djazayeri> we plan to discuss on some upcoming design calls.
14:11:03 <r-friedman> djazayeri: sai says that person address related code that works with 1.8 doesn't work with 1.9
14:12:13 <djazayeri> I recall an open ticket about that. Let me look for that
14:17:47 <djazayeri> can't find the ticket
14:19:36 <mnunez> bwolfe: I have read it, thanks. I know dkayiwa is the module developer, but is there any implementer using this module right now?
14:20:26 *** gagaman has joined #openmrs
14:21:31 <bwolfe> mnunez, there are a lot. but there aren't very many implementers that hang out in here. perhaps r-friedman uses xforms?
14:21:32 <djazayeri> r-friedman: if you can get me the details of the person-address bug, that'd help
14:21:49 <r-friedman> sure
14:23:52 *** mnunez has quit IRC
14:24:10 <gagaman> bwolfe: ok, thanks. Ever considered opening a irc channel for implementers?
14:24:16 *** gagaman is now known as mnunez
14:24:37 <bwolfe> mnunez, implementers are welcome to hang out in here, they just don't. :-)
14:25:11 <bwolfe> mnunez, its because implementers are not always at their computers all day long...and they also are not geeks like us that like irc
14:26:06 *** mccallumg has quit IRC
14:27:31 <mnunez> bwolfe: good to know! I just feel like posting some of my questions in here (like the latter) ar a bit to out of scope here.
14:27:35 <r-friedman> implementers chat on skype
14:27:49 <r-friedman> <joke>
14:28:16 <bwolfe> mnunez, both implementer and developer questions are allowed
14:28:19 <bwolfe> (and welcomed)
14:34:55 <mnunez> Ok, a question then: is there a way to know wich users are currently implementing a module?
14:37:44 <bwolfe> mnunez, which implementers have downloaded it you mean ?
14:38:43 *** mnunez has quit IRC
14:39:01 *** gagaman has joined #openmrs
14:44:42 *** saimanohar has joined #openmrs
14:58:04 *** gagaman has quit IRC
15:02:21 *** bryq_web has quit IRC
15:06:22 <saimanohar> hi djazayeri
15:06:31 <djazayeri> hi saimanohar
15:07:30 <saimanohar> i was having an issue on 1.9 i chatted with you before on this
15:08:04 <saimanohar> i didnt find a solution but i changed my core to 1.8,it was working
15:08:28 <saimanohar> so was thinking if it is an issue with version 1.9
15:09:45 <saimanohar> the pastebins of the jsp and the error are - http://pastebin.com/dhnk7NqB , http://pastebin.com/egABAHVG
15:12:17 *** suho has joined #openmrs
15:12:17 *** ChanServ sets mode: +v suho
15:16:37 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): TRUNK-2521: Multiple Program Workflow States with same start date ... <http://feedproxy.google.com/~r/OMRStrunk/~3/CcTdWWox92M/OpenMRS>
15:17:13 *** pascal` has quit IRC
15:17:44 *** gagaman has joined #openmrs
15:31:13 <bwolfe> wyclif, djazayeri, rafa, you around for a scrum?
15:31:24 <djazayeri> yes
15:31:28 <bwolfe> daniel's ISP is blocking his access to irc today (and most websites it seems)
15:31:31 <djazayeri> saimanohar: sorry, I wasn't looking at this window
15:31:32 <r-friedman> djazayeri: darius, got a minute (b4 or after scrum)
15:31:46 <djazayeri> r-friedman: during, or after
15:31:57 <r-friedman> i don't know if sai is still on
15:32:07 <saimanohar> okay
15:32:14 <r-friedman> we are having a problem with the HR module. sai is running 1.8 under eclipse
15:32:24 <r-friedman> i am running 1.8 compiled
15:32:36 <r-friedman> my installation is getting class not found errors
15:32:52 <r-friedman> couldn't find conceptDAO routines or even gutter tools
15:33:05 <djazayeri> okay, that sounds like it might be an "after"...
15:33:22 <r-friedman> ok, tks, ping me when you're ready
15:33:28 <r-friedman> i'll get another cup of coffee
15:33:52 <djazayeri> wyclif: you there?
15:34:00 <djazayeri> want to go first before you go to lunch?
15:35:47 <bwolfe> guess he's not here
15:36:00 <bwolfe> djazayeri, lets hold off on the scrum for a few hours? I'll be back on later
15:36:10 <rafa> mine is a short one ;)
15:36:54 <djazayeri> bwolfe: I'm fine to wait, if you and rafa don't mind
15:37:28 <rafa> I'm not sure if I am back.
15:37:29 <djazayeri> But rafa, if you want to go now and free up your afternoon, that's fine—we can have the 1.9 scrum now
15:37:34 <rafa> So I just paste it quick
15:37:37 <rafa> *** Rafal ***
15:37:38 <rafa> Today:
15:37:38 <rafa> * TRUNK-2521: Multiple Program Workflow States with same start date
15:37:38 <rafa> https://tickets.openmrs.org/browse/TRUNK-2521
15:37:38 <rafa> Tomorrow:
15:37:38 <rafa> * TRUNK-438: Add a "Settings" page and Rename Manage Global Properties page
15:37:38 <rafa> https://tickets.openmrs.org/browse/TRUNK-438
15:37:39 <rafa> No blockers.
15:37:44 <djazayeri> and they can do the SMART scrum later
15:38:15 <djazayeri> rafa: you have some tickets in code review, right?
15:38:25 <rafa> yes
15:38:34 <djazayeri> Okay, i'll look at those today.
15:38:43 <djazayeri> Have you actually done any research or work on TRUNK-438 yet?
15:38:49 <rafa> not yet
15:39:08 <wyclif> hi
15:39:12 <rafa> I just finished trunk-2521
15:39:31 <djazayeri> Okay. I may point you to a different ticket. (Yesterday we looked at the UIs for Visits and Providers, and came up with some necessary changes.)
15:39:50 <djazayeri> If I don't assign you one of those, though, then proceed with 438
15:39:56 <rafa> All right.
15:40:39 <djazayeri> btw, bwolfe, wyclif, rafa, next week's sprint will be more of 1.9, not OCC.
15:41:04 <djazayeri> My report
15:41:05 <djazayeri> Wednesday
15:41:05 <djazayeri> * Design calls
15:41:05 <djazayeri> * Code Review
15:41:05 <djazayeri> * Created tickets for next sprint
15:41:05 <djazayeri> * Drafted email about call reorganization
15:41:06 <djazayeri> * Email to HISP describing work required for SqlIndicator
15:41:07 <djazayeri> Today
15:41:07 <djazayeri> * Dev & Leadership calls
15:41:08 <djazayeri> * Code reviews
15:41:08 <djazayeri> * Help Roger with an error
15:41:09 <djazayeri> * More organization for next week's sprint
15:41:09 <djazayeri> * Sprint ticket?
15:41:10 <djazayeri> no blockers
15:45:04 <wyclif> ok
15:45:08 <djazayeri> (end of 1.9 scrum)
15:45:13 <djazayeri> bwolfe and wyclif: if you're both here, you can do the smart scrum.
15:45:13 <wyclif> yesterday:
15:45:13 <wyclif> - did smart-25, am committing the after lunch, this took me longer since i had to change a couple of existing features
15:45:13 <wyclif> - i have done most of the work for smart-26 in SMART-25
15:45:13 <wyclif> today:
15:45:13 <wyclif> - complete smart-26, this should only take me like 30min since SMART-25 partly covered it
15:45:15 <wyclif> - pick up another sprint ticket
15:45:17 <wyclif> - might spend sometime with ankur since he is here today
15:45:30 <djazayeri> !ticket smart-25
15:45:31 <OpenMRSBot> djazayeri: [#SMART-25] Change how user apps are managed - OpenMRS JIRA - https://tickets.openmrs.org/browse/smart-25
15:45:35 <djazayeri> !ticket smart-26
15:45:36 <OpenMRSBot> djazayeri: [#SMART-26] Allow users to hide smart apps from the dashboard - OpenMRS JIRA - https://tickets.openmrs.org/browse/smart-26
15:46:01 <wyclif> smart-26 kind of depends on somethings i have done in smart-25
15:46:47 <bwolfe> wyclif, great!
15:48:19 <bwolfe> today:
15:48:19 <bwolfe> created two new smart tickets
15:48:19 <bwolfe> removed 2 other low priority smart tickets
15:48:19 <bwolfe> started work on smart ticket to add lookup to single med
15:48:20 <bwolfe> reviewed provider ticket for rafal
15:48:21 <bwolfe> worked on script for Monda
15:48:23 <bwolfe> dev call
15:48:25 <bwolfe> sync tickets
15:48:27 <bwolfe> tomorrow:
15:48:30 <bwolfe> smart finalization
15:48:31 <bwolfe> sync ticket setup
15:48:46 <bwolfe> I'm struggling with this stupid openrdf api
15:48:53 <bwolfe> it makes approx 0 sense
15:49:40 <wyclif> bwolfe, when i commit the code
15:50:01 <wyclif> can you please test it and see if the UI changes are fine
15:50:05 <bwolfe> sure
15:50:37 <wyclif> i should commit it in the next 5-10min, we have delayed to go for lunch
15:53:55 *** pascal` has joined #openmrs
15:59:01 <wyclif> bwolfe, i would suggest drop your smartcontainter_user_app table
15:59:19 <bwolfe> wyclif, ok...
15:59:29 <bwolfe> did you simply modify the sqldiff instead of created a new one?
15:59:43 <wyclif> he used liquibase.xml
15:59:50 <bwolfe> or that
16:00:08 <wyclif> so i modified existing changesets instead of creating new ones
16:00:14 <wyclif> since this is unreleased
16:05:40 *** pascal` has quit IRC
16:14:50 *** burke_ has quit IRC
16:15:38 *** rafa has quit IRC
16:18:01 <wyclif> bwolfe, committed SMART-25
16:21:32 *** pascal` has joined #openmrs
16:22:02 *** gagaman has quit IRC
16:34:29 *** cta has quit IRC
16:36:11 <r-friedman> djazayeri: good time for you?
16:38:16 *** Suranga has joined #openmrs
16:43:44 <djazayeri> r-friedman: now is
16:47:42 *** Suranga_ has joined #openmrs
16:50:09 *** pascal` has quit IRC
16:51:41 *** Suranga has quit IRC
16:55:56 <r-friedman> djazayeri: sorry, was in my CDC connection
16:56:04 <r-friedman> saimanohar: sai, you here?
16:57:08 <saimanohar> yeah i was away,i am here now
17:00:42 <djazayeri> Okay, so what's the issue that we're looking at?
17:00:50 <r-friedman> sai, lead off
17:01:53 <r-friedman> hmm, guess i should
17:02:42 <r-friedman> would you rather skype, darius?
17:02:45 <saimanohar> yes..sorry,was looking through the code
17:02:59 <djazayeri> Any way is fine by me.
17:03:11 <r-friedman> maybe skype is better, we can share stuff if needed
17:03:35 <saimanohar> hmm okay i need to add darius
17:03:42 <djazayeri> I'm djazayeri
17:03:59 <saimanohar> okay
17:04:00 <djazayeri> though not sure you can share in a 3-way call
17:04:34 <r-friedman> we can chat and share
17:04:46 <r-friedman> it's set up
17:09:53 <Suranga_> downeym, helloo, r u around ?
17:28:19 *** saimanohar has quit IRC
17:45:17 *** Suranga_ has quit IRC
18:11:19 *** dkayiwa has joined #openmrs
18:11:24 *** burke has joined #openmrs
18:11:24 *** ChanServ sets mode: +o burke
18:11:30 *** dkayiwa has quit IRC
18:16:34 *** Suranga has joined #openmrs
18:18:31 <Suranga> hi guys
18:18:40 <Suranga> im working on an enhancement to conceptSources
18:18:52 <Suranga> I need to retreive all conceptSources from the db
18:20:06 <Suranga> the dao layer already has a method called getAllConceptSources() but this method speifically does not load any retired conceptSources
18:20:36 <Suranga> since i need the retired conceptSources as well, i need to write a new method, but what should I call this method :-)
18:21:06 <bwolfe> is there not a getAll that takes a boolean parameter?
18:21:16 <bwolfe> the dao method should have a boolean includeRetired method
18:22:16 <Suranga> bwolfe, hmm.. I just checked...
18:22:24 <Suranga> bwolfe, afraid there isnt one...
18:22:40 <bwolfe> for shame
18:22:42 <Suranga> should i introduce one ?
18:22:45 <bwolfe> which version?
18:23:13 <Suranga> the latest, from trunk... :-(
18:23:35 <Suranga> HibernateConceptDAO.java
18:24:22 <Suranga> im intoducing a way to retire and restore conceptSources
18:24:33 <Suranga> this is a old ticket of mine :P
18:24:51 <bwolfe> that was never committed?
18:25:15 <Suranga> no Ben, I couldnt complete is after gsoc started
18:25:20 <Suranga> im working on it now...
18:25:32 *** james_regen has quit IRC
18:26:09 <bwolfe> ah
18:27:06 *** gbastien has quit IRC
18:27:26 <Suranga> i've started cleaning up on outstanding tickets of mine
18:29:34 <bwolfe> awesome
18:30:51 <Suranga> shall i introduce that method, as we have in other DAOs ?
18:31:08 <bwolfe> yeah
18:31:18 <Suranga> sure, will do..
18:31:38 *** bryq1 has joined #openmrs
18:31:48 *** downeym has quit IRC
18:32:09 *** downeym has joined #openmrs
18:32:09 *** OpenMRSBot sets mode: +o downeym
18:32:09 *** ChanServ sets mode: +o downeym
18:33:15 *** bryq has quit IRC
18:33:49 *** downeym_ has joined #openmrs
18:33:49 *** ChanServ sets mode: +o downeym_
18:33:51 *** downeym has quit IRC
18:33:51 *** downeym_ is now known as downeym
18:48:12 *** bryq1 has quit IRC
18:55:59 *** downeym_ has joined #openmrs
18:55:59 *** ChanServ sets mode: +o downeym_
18:56:40 *** downeym has quit IRC
18:56:40 *** downeym_ is now known as downeym
19:02:47 *** bryq has joined #openmrs
19:02:47 *** ChanServ sets mode: +v bryq
19:04:50 *** downeym_ has joined #openmrs
19:04:50 *** downeym has quit IRC
19:04:51 *** downeym_ has quit IRC
19:04:51 *** downeym_ has joined #openmrs
19:04:51 *** ChanServ sets mode: +o downeym_
19:04:52 *** downeym_ is now known as downeym
19:06:27 *** Suranga has quit IRC
19:07:30 <djazayeri> downeym: I need to post a message to announce
19:07:34 <djazayeri> (or burke)
19:10:43 <downeym> djazayeri: let me see if you have access
19:10:53 <downeym> djazayeri: have you sent any in the past?
19:10:54 <djazayeri> do I need to sends as a particular email address?
19:11:01 <downeym> checking
19:11:41 <downeym> djazayeri: i see you've sent them from your @gmail.com in the past, that should still work
19:12:11 <djazayeri> is it announce at openmrs.org?
19:12:38 <downeym> yep. but for some reason lately there's a random delay before it sends your mail (after you respond to the auto reply)
19:18:00 *** downeym has quit IRC
19:18:07 *** downeym has joined #openmrs
19:18:07 *** ChanServ sets mode: +o downeym
19:18:07 *** OpenMRSBot sets mode: +o downeym
19:26:28 *** burke is now known as burke_away
19:27:51 *** downeym has quit IRC
19:27:54 *** downeym_ has joined #openmrs
19:27:54 *** ChanServ sets mode: +o downeym_
19:28:12 *** downeym_ has quit IRC
19:28:15 *** downeym has joined #openmrs
19:28:15 *** ChanServ sets mode: +o downeym
19:28:15 *** OpenMRSBot sets mode: +o downeym
19:28:16 *** suhothayan has joined #openmrs
19:28:16 *** ChanServ sets mode: +v suhothayan
19:28:40 *** suhothayan has quit IRC
19:31:57 *** suho has quit IRC
19:33:19 *** bryq has left #openmrs
19:39:40 *** bwolfe has quit IRC
19:39:41 *** burke_away is now known as burke
19:43:53 *** downeym has quit IRC
19:43:54 *** downeym_ has joined #openmrs
19:43:54 *** ChanServ sets mode: +o downeym_
19:56:41 *** mario_ has joined #openmrs
19:56:55 <mario_> Hola Darius buenas tardes
19:57:05 <djazayeri> hola mario
19:57:46 <mario_> Darius ya coloque el patch en el ticket
19:58:41 <djazayeri> vi que coloquaste el patch
19:58:47 <djazayeri> lo voy a mirar mas tarde
19:58:48 <mario_> Darius como registro en el archivo moduleaplicationcontext una clase que implementa Validator
19:59:16 <mario_> para que me sirva de validador de un formulario
19:59:19 <djazayeri> para usar en un controller? O con ValidattionUtil?
19:59:34 <mario_> con validationUtil
20:00:16 <djazayeri> En el modulo Reporting, lo hacen asi:
20:00:17 <djazayeri> <bean class="org.openmrs.validator.ValidateUtil">
20:00:17 <djazayeri> <property name="validators">
20:00:17 <djazayeri> <list>
20:00:17 <djazayeri> <bean class="org.openmrs.module.reporting.validator.CohortDefinitionValidator"/>
20:00:17 <djazayeri> </list>
20:00:18 <djazayeri> </property>
20:00:18 <djazayeri> </bean>
20:00:51 <djazayeri> y la clase necesita un @Handler:
20:00:52 <djazayeri> Handler(supports = { CohortDefinition.class }, order = 50)
20:00:52 <djazayeri> public class CohortDefinitionValidator implements Validator {
20:00:53 <djazayeri> ...
20:01:39 <mario_> ok voy a probar Gracias
20:05:08 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: Learn about the new #OpenMRS community meeting schedule and come join us! http://t.co/0lkz4WQ <http://twitter.com/OpenMRS/statuses/106814366615212032> || OpenMRS Announcements List: Reorganizing the OpenMRS weekly calls <https://listserv.iupui.edu/cgi-bin/wa-iupui.exe?A2=ind1108&L=openmrs-announce-l&P=1743>
20:18:23 *** gbastien has joined #openmrs
20:18:36 <mario_> Darius muchas gracias ya me funciono.
20:18:51 <djazayeri> bueno
20:19:06 <djazayeri> mario, estas buscando estos tipos de cosas en el wiki?
20:19:49 <djazayeri> (En este caso el wiki no tiene la respuesta. Pero quisiera saber donde agregarlo?
20:20:05 <mario_> esta no la busque, mire en los modulos que he bajado para mirar
20:21:02 <mario_> y la verdad no sabia como buscarlo
20:26:28 *** burke has quit IRC
20:28:10 <mario_> Darius si quiero intervenir una clase para agregar una validacion en el metodo validate, se utiliza AfterAdvice o Before
20:30:47 <djazayeri> cual clase?
20:31:08 <mario_> DrugOrderValidator
20:31:28 <djazayeri> Y quieres agregar mas validaciones?
20:33:44 <djazayeri> creo que puedes simplemente agregar una clase mas que implementa Validator y tiene el anotacion: @Handler(supports = { DrugOrder.class })
20:33:53 <mario_> si para validar que el startdate y el drug, units, dosis y Frequency no queden en blanco
20:33:59 <djazayeri> ValidateUtil llama a todos los validators
20:34:45 <djazayeri> todos los validators que tienen @Handler por el tipo que quieres validar.
20:35:09 <mario_> si eso hice con orders para agregar una validacion, peropense que era mas facil hacer un advisor
20:36:10 <djazayeri> no es posible agregar AOP a los validators
20:36:11 <mario_> pero entonces llama al drugordervalidator y despues llama a la que yo iplemente?
20:36:14 <djazayeri> solo a los servicios
20:36:16 <mario_> ok
20:36:33 <djazayeri> si, llama a los dos, dependiendo del "order" en la anotacion @Handler
20:37:38 <mario_> ok
20:37:50 <djazayeri> wyclif: how much do you know about mavenized modules?
20:38:21 <mario_> Gracias nuevamente.
20:38:25 <djazayeri> de nada
20:38:40 <wyclif> djazayeri, in relation to what?
20:38:55 <wyclif> but am really poorr at it i guess
20:39:02 <djazayeri> I notice that all the test are in the omod projects, and the api project doesn't even have a test folder.
20:39:08 <wyclif> oh yeah
20:39:12 <djazayeri> I assume there was some reason people set things up this way
20:39:14 <djazayeri> but I don't like it
20:39:22 <wyclif> neither do i
20:39:44 <wyclif> currently that us set up wrongly
20:39:48 <wyclif> is
20:40:01 <djazayeri> Do you know if it will break things to add non-context-sensitive tests in the api project?
20:40:06 <djazayeri> I guess I'll try and find out.
20:41:37 <wyclif> cool
20:42:09 *** downeym_ has quit IRC
20:42:29 <wyclif> djazayeri, your tests will fail on ci but pass on in your test environment if you put them somewhere else
20:42:38 <wyclif> i ran into that last week
20:42:41 <djazayeri> even if they're not context-sensitive?
20:42:51 <wyclif> hmm..
20:43:43 <wyclif> the compiler might complain for not finding the test class
20:44:00 <djazayeri> okay, we'll see.
20:49:54 *** downeym has joined #openmrs
20:49:54 *** OpenMRSBot sets mode: +o downeym
20:49:54 *** ChanServ sets mode: +o downeym
21:08:15 *** mario_ has quit IRC
21:28:48 *** downeym has quit IRC
21:30:57 *** mario_ has joined #openmrs
21:32:24 <mario_> Hola Darius me podrias colaborar con este error que megnenera al subir el modulo cuando implemente la clase del validator
21:32:27 <mario_> Error starting module - medicalHistory close 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 bean with
21:33:06 <mario_> nested exception is java.lang.UnsupportedClassVersionError: org/openmrs/module/medicalHistory/web/controller/PatientDrugOrdersFormValidator : Unsupported major.minor version 51.
21:34:36 <djazayeri> mario_: con qual version de java estas compilando?
21:34:43 <djazayeri> y con que version estas corriende la aplicacion?
21:35:37 <mario_> 1.6
21:35:48 <mario_> jdk 1.7
21:36:02 <mario_> con esas estoy ompilando
21:36:34 <mario_> y l aplicacion no seon ual estacorriendo creo que es 1.6
21:40:31 <mario_> java version "1.6.0_24"
21:42:32 <djazayeri> no hemos probado OpenMRS con Java 1.7.
21:42:52 <djazayeri> tienes que compilar tu modulo con algo como -source 1.6 -target 1.6
21:46:27 <mario_> ok
21:48:22 *** jriley has quit IRC
21:54:09 *** rafa has joined #openmrs
21:54:09 *** ChanServ sets mode: +v rafa
21:56:47 *** rafa has quit IRC
22:02:56 *** gbastien has quit IRC
22:21:24 *** mario_ has quit IRC
22:24:40 *** gbastien has joined #openmrs
22:32:48 *** burke has joined #openmrs
22:32:48 *** ChanServ sets mode: +o burke
22:35:46 *** burke has quit IRC
22:40:23 *** wyclif has quit IRC
23:25:15 *** wyclif has joined #openmrs
23:34:29 *** robbyoconnor has quit IRC
23:34:58 *** robbyoconnor has joined #openmrs
23:34:58 *** ChanServ sets mode: +v robbyoconnor
23:42:06 *** gbastien has quit IRC