IRC Chat : 2011-12-02 - OpenMRS

00:00:18 <deadpool> so djazayeri i have a pojo that has a authorizedby user object
00:00:39 <deadpool> i want to search all pojo that have an authorizedby user which is null
00:01:23 <deadpool> so i used this line crit.add(Restrictions.isNull("authorizedby.userId"));
00:01:54 <djazayeri> should just be crit.add(Restrictions.isNull("authorizedBy"))
00:02:17 <djazayeri> in hibernate queries you should be referring to objects and properties
00:02:29 <djazayeri> hibernate will take care of the conversion to sql, and primary keys, in the background
00:02:44 <deadpool> djazayeri: ah ok
00:02:53 <djazayeri> the HQL of this would be something like "from Xyz where authorizedBy is null"
00:03:24 *** bwolfe has quit IRC
00:06:56 *** bwolfe has joined #openmrs
00:06:56 *** ChanServ sets mode: +o bwolfe
00:07:02 *** wyclif has joined #openmrs
00:32:47 *** bwolfe has quit IRC
00:33:04 *** bwolfe has joined #openmrs
00:33:04 *** ChanServ sets mode: +o bwolfe
00:51:18 *** dawn_ has joined #openmrs
00:51:18 *** ChanServ sets mode: +v dawn_
00:51:25 *** dawn_ has quit IRC
01:03:24 *** bwolfe has quit IRC
01:03:40 *** bwolfe has joined #openmrs
01:03:40 *** ChanServ sets mode: +o bwolfe
02:38:47 *** Sri_ has joined #openmrs
02:41:27 <Sri_> djazayeri: Hi Darius. We are working on HL7 output and want to create a form to add new destinations. We have included a jsp page, controller, added it in openmrs-servlet.xml. It still says that the "*.form" file is not found. Could you please let us know what we might have missed out?
02:41:56 <djazayeri> Sri_: spring annotation based controller?
02:42:04 <djazayeri> or xml-based controller?
02:43:08 <Sri_> djazayeri: spring annotation controller
02:43:21 <djazayeri> so, you have an @Controller annotation?
02:43:24 <djazayeri> on the class
02:43:31 *** upul` has joined #openmrs
02:43:31 *** ChanServ sets mode: +v upul`
02:43:33 <djazayeri> and an @RequestMapping annotation on your controller method?
02:43:41 <djazayeri> you shouldn't need to put anything in openmrs-servlet.xml then
02:48:20 <Sri_> djazayeri: Oh.. Thanks..Is there anythin else we might have missed out?
02:55:11 <djazayeri> did you do those things?
02:55:14 <djazayeri> those are the obvious ones.
02:55:30 <djazayeri> and make sure that the value of your @RequestMapping annotation is correct for where you put the jsp
03:13:11 *** srinivasa has joined #openmrs
03:14:06 <srinivasa> bwolfe:Is there any way we can export the database in the data set format to perform the tests
03:21:55 *** hungnguyen has joined #openmrs
03:27:34 *** burke has joined #openmrs
03:27:34 *** ChanServ sets mode: +o burke
03:27:48 *** burke has quit IRC
03:28:26 *** surangak has joined #openmrs
03:38:04 *** burke has joined #openmrs
03:38:04 *** ChanServ sets mode: +o burke
03:44:23 <surangak> hi Dr. Burke, wellcome to out time zone :P
03:50:22 *** srinivasa has quit IRC
04:17:11 *** burke has quit IRC
04:29:21 *** deadpool has quit IRC
04:37:45 *** surangak has quit IRC
04:37:59 *** surangak has joined #openmrs
04:51:04 *** djazayeri has quit IRC
05:01:32 *** djazayeri has joined #openmrs
05:01:32 *** ChanServ sets mode: +o djazayeri
05:19:23 *** srinivasa has joined #openmrs
05:31:51 <bwolfe> srinivasa, there is a unit test call that will create the db unit xml for the other unit tests off a given database
05:32:13 <bwolfe> srinivasa, I can't remember the name of it. but it should be in the org.openmrs.test package
05:33:05 <srinivasa> bwolfe:k we will figure it out...
05:33:31 <srinivasa> bwolfe: did our professor contact you regarding the demo?.
05:36:40 <bwolfe> srinivasa, I have been talking to him about one of the projects...
05:36:43 <bwolfe> not sure which one.
05:47:49 *** srinivasa has quit IRC
06:18:51 *** djazayeri has quit IRC
06:30:13 *** djazayeri has joined #openmrs
06:30:13 *** ChanServ sets mode: +o djazayeri
06:31:57 *** srinivasa has joined #openmrs
06:32:36 <srinivasa> bwolfe: May i know wat are your expectations from our team...
06:35:47 <srinivasa> bwolfe:we have to give a demo and could you please make it for the demo ...
06:36:27 <bwolfe> surangak, looks like you scared off burke earlier...
06:36:41 <surangak> bwolfe, im afraid so :D
06:36:45 <bwolfe> srinivasa, expectations from the demo? I'd just say working code
06:36:52 <bwolfe> and perhaps some running unit tests
06:37:22 <surangak> maybe my skills can be put to good use somewhere :P (ie. frignten away tax man)
06:37:32 <bwolfe> srinivasa, have you been talking to the prof about the timing? I only have a few hours each day available. he was going to try to put all the presentations from the openmrs teams together so that we only had one call
06:38:20 <srinivasa> bwolfe:yes we are working on the unit tests part..Yes we have spoken to the prof and he sad that it would be mostly on 1th
06:38:26 <srinivasa> 12th
06:39:46 <srinivasa> bwolfe: all the openmrs presentaions would be on the same day mostly ...
06:55:40 <surangak> hi bwolfe mmmm....r u around :-)
07:13:58 *** Preeti has joined #openmrs
07:16:30 <Preeti> Hi. I'm writing a controller for a JSP page. I want to receive the parameters that I have submitted on the jp form at my controller end. I have done @controller and @RequestMapping accordingly. Could anyone please tell me how to go about this?
07:16:42 <Preeti> jsp*
07:25:38 <surangak> hi Preeti (if I understood your question correctly) u can use a request.getParameter("name");
07:25:45 <surangak> in the controller
07:31:17 <Preeti> so in such a case I wouldnt have to do @RequestParam or anything righ?t
07:33:44 <Preeti> surangak: so if I do request.getParameter("name")..how does this name string get set from the jsp page?
07:35:18 <surangak> ah, u r using @requestParam... let me check that.....
07:35:26 <surangak> (am a bit rusty)
07:36:15 <Preeti> no ..now Im planning to use getParameter as u suggested..
07:37:32 *** srinivasa has quit IRC
07:41:17 *** dkayiwa has joined #openmrs
07:48:13 <bwolfe> surangak, booo, getParameter is old school and ugly
07:48:27 <bwolfe> Preeti, @RequestParam on the method parameters
07:49:11 <surangak> bwolfe, excuse me for using a walking stick then :P
07:49:29 <bwolfe> @RequestMapping(......, method=RequestMethod.POST) public String submitMyForm(@RequestParam("nameofinput") String numberOne, @RequestParam("nameofotherinput") Integer number2) { ..... }
07:50:16 <surangak> bwolfe, mm... I wanted to get your advice on something...mm got a minute ?
07:50:48 <bwolfe> surangak, maybe half a minute
07:50:55 <surangak> :(
07:51:04 <surangak> bwolfe, I was trying that privilages problem for Ada
07:51:21 <surangak> now, when tyying to access a page, I get error as follows...
07:51:34 <surangak> WARN - RequireTag.doStartTag(109) |2011-12-02 12:21:08,474| The user: 'patient' has attempted to access: /module/patientmatching/dupes.list which requires privi
07:51:35 <surangak> lege: View Patients, View Patient Cohorts or one of: null or any of null
07:51:51 <surangak> but the funny thing is that I have explicitely set these privileges...
07:53:04 <bwolfe> what does the openmrs:require tag look like on the dupesList.jsp page?
07:53:56 <surangak> it had the very same two privileges
07:54:36 <bwolfe> copy/paste it for me?
07:54:43 <bwolfe> surangak, have you tried logging the person out and back in?
07:55:13 <surangak> bwolfe, I set the role using admin, then log out and try using the new user...
07:55:19 <surangak> sure will do...
07:55:27 <bwolfe> hmm
07:55:31 <bwolfe> copy/paste that tag for me
07:56:22 *** rafa has joined #openmrs
07:56:22 *** ChanServ sets mode: +v rafa
07:57:15 <surangak> one moment, Im on a different workspace :P
08:01:57 <surangak> bwolfe, <openmrs:require privilege="View Patients, View Patient Cohorts"
08:01:57 <surangak> otherwise="/login.htm" redirect="/module/patientmatching/dupes.list" />
08:03:35 *** dkayiwa has quit IRC
08:03:41 <bwolfe> surangak, ah
08:04:02 <bwolfe> "privilege" means that it looks for the user to have a priv called "View Patients, View Patient Cohorts"
08:04:19 <bwolfe> if the openmrs:require tag uses "anyPrivilege" then it will split on comma and check only those
08:04:29 <bwolfe> so the patientmatching module needs updated
08:05:05 *** Preeti has quit IRC
08:05:05 <surangak> bwolfe, terribly sorry, am afraid I didnt get that one :(
08:11:51 *** dkayiwa has joined #openmrs
08:17:37 <surangak> mm.. bwolfe ...not really understand the above...
08:29:32 <surangak> bwolfe, Ah, am understanding it now (i think) will try it
08:32:11 *** dkayiwa has quit IRC
08:32:31 *** dkayiwa has joined #openmrs
09:13:19 <hungnguyen> quite
09:13:31 *** hungnguyen has quit IRC
09:22:47 *** dkayiwa has quit IRC
09:34:01 *** Sri_ has quit IRC
09:37:50 *** dkayiwa has joined #openmrs
09:47:17 <surangak> mm.. bwolfe++
09:58:32 *** rafa has quit IRC
09:59:54 *** rafa has joined #openmrs
09:59:54 *** ChanServ sets mode: +v rafa
10:04:42 *** rafa has quit IRC
10:07:09 <bwolfe> surangak, sorry, went for lunch after I typed that. glad to see you sorted it out. :-)
10:10:55 <surangak> bwolfe, howdy, it works :p
10:11:13 <surangak> bwolfe, but the problem is, how do i explain that change to James :-)
10:11:57 <surangak> i tried searching, but didnt see any <openmrs:require anyPrivilege being used anywhere else :P so, im wonderingggg.........
10:15:51 <bwolfe> surangak, its an undocumented feature probably
10:16:02 <bwolfe> point him at the RequireTag.java class and he can read the code to see how it works :-p
10:16:15 <bwolfe> surangak, or you can write a wiki page for devs and then point him at that!
10:17:07 <surangak> mm... let me try that Ben
10:17:38 <surangak> i was a little worried because I didnt see 'anyprivilage' being used much... it works like an OR condition I guess....
10:18:47 <bwolfe> surangak, correct
10:18:55 <bwolfe> there is also "allPrivilege" that works like an and condition
10:22:46 *** rafa has joined #openmrs
10:22:46 *** ChanServ sets mode: +v rafa
10:35:31 <OpenMRSBot> Recent updates in the world of openmrs: Shazin Sadakath: A Comparison of CountDownLatch, CyclicBarrier and Semaphore <http://shazsterblog.blogspot.com/2011/12/comparison-of-countdownlatch.html>
10:38:11 *** surangak has quit IRC
11:22:31 *** upul` has quit IRC
11:36:21 *** rafa_ has joined #openmrs
11:36:21 *** ChanServ sets mode: +v rafa_
11:38:46 *** rafa_ has quit IRC
11:40:55 *** rafa_ has joined #openmrs
11:40:55 *** ChanServ sets mode: +v rafa_
11:42:06 *** rafa- has joined #openmrs
11:42:06 *** ChanServ sets mode: +v rafa-
11:44:17 *** rafa_ has quit IRC
11:44:30 *** rafa_ has joined #openmrs
11:44:30 *** ChanServ sets mode: +v rafa_
11:46:11 *** rafa_ has quit IRC
11:46:30 *** rafa_ has joined #openmrs
11:46:30 *** ChanServ sets mode: +v rafa_
11:47:05 *** rafa- has quit IRC
12:19:25 <bwolfe> rafa, losing cell signal?
12:20:00 <rafa> bwolfe: haha no switching from cell to wifi ;)
12:21:06 <bwolfe> ah
12:21:20 <bwolfe> and wifi to cell to wifi to cell to wifi it seems
12:21:38 <rafa> haha yep I was trying it out
12:21:48 <rafa> it's not seemless :(
12:22:24 <bwolfe> rafa, which app are you using?
12:22:32 <bwolfe> ...and just out of my curiosity, which phone?
12:22:33 <rafa> andchat
12:22:53 <rafa> galaxy s II
12:24:15 <rafa> the phone is really nice
12:25:00 <bwolfe> good choice
12:26:01 <rafa> yeah I think the best in its price
12:26:41 <rafa> my first android :D
12:26:49 <rafa> I'm really impressed
12:27:06 <bwolfe> when did you get it?
12:27:20 <rafa> a few days ago
12:27:32 <rafa> so I'm still playing around
12:29:20 <bwolfe> wow. welcome to the android world. :-) what did you use before?
12:30:46 <rafa> omnia on wm 6 so it's a huge change
12:32:48 <bwolfe> at least you were in the smart phone world
12:32:51 <bwolfe> but yes, big jump
12:37:35 *** wyclif has quit IRC
12:49:08 *** james_regen has joined #openmrs
12:49:08 *** ChanServ sets mode: +v james_regen
13:22:24 *** chopin has joined #openmrs
13:29:12 *** wyclif has joined #openmrs
13:41:54 *** burke has joined #openmrs
13:41:54 *** ChanServ sets mode: +o burke
13:44:38 *** downeym has joined #openmrs
13:44:38 *** ChanServ sets mode: +o downeym
13:44:38 *** OpenMRSBot sets mode: +o downeym
14:19:17 <chopin> rafa: hey, man ... i'm looking at TRUNK-2734 and I was waiting on CustomDataTypes to be finished. is that in place now?
14:19:22 <chopin> !ticket TRUNK-2734
14:19:23 <OpenMRSBot> chopin: [#TRUNK-2734] Refactor Form Resources to use Custom Datatypes - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-2734
14:20:10 <dkayiwa> is chopin the same as Jeremy? :)
14:20:12 <rafa> chopin: hey
14:20:37 <chopin> dkayiwa, yes :-)
14:20:39 <rafa> chopin: it's back on Darius
14:20:46 <chopin> rafa: ah, ok
14:20:52 <rafa> chopin: he'll have time to finish it early next week
14:21:02 <dkayiwa> chopin: hahahahha all along i did not know :D
14:21:07 <chopin> rafa: ok, dkayiwa: there you go :-D
14:21:13 <rafa> haha
14:21:20 <dkayiwa> chopin: ok :)
14:21:39 <wyclif> hi djazayeri
14:21:40 <chopin> dkayiwa: chopin was my handle from the late 80's (modems, BBS, etc)
14:21:51 <chopin> i just never gave it up
14:21:55 <dkayiwa> chopin: oh i seeeeee :)
14:22:01 <chopin> (it's because i play piano and loved chopin's etudes)
14:22:08 <dkayiwa> hahahahah :)
14:25:21 <rafa> chopin: people from Japan are creazy about Chopin
14:25:30 <chopin> oh?
14:26:02 <rafa> chopin: they come to Poland just to see where he's from :D
14:26:09 <chopin> wow
14:26:13 <chopin> that's really neat
14:26:24 <chopin> i was fascinated with the etudes, especially the revolutionary one
14:26:40 <chopin> played it constantly
14:26:44 <chopin> now i can't
14:26:46 <chopin> but i did
14:26:47 <rafa> chopin: nice :)
14:30:38 <chopin> i also looooooooooved Opus 25 No. 12 (Ocean)
14:31:48 *** downeym has quit IRC
14:34:08 <wyclif> hi djazayeri
14:36:31 <rafa> chopin: I didn't know you're such a pro pianist :D
14:38:05 *** rafa has quit IRC
14:38:30 *** chopin has quit IRC
14:39:05 *** wyclif has quit IRC
14:40:41 *** rafa_ has quit IRC
14:45:58 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: RT @pbiondich: You want to understand what "local ownership" in health informatics is about? Take a listen: http://t.co/WRFjTCXg Brea ... <http://twitter.com/OpenMRS/statuses/142605106377003009>
14:57:00 *** chopin has joined #openmrs
14:57:28 *** downeym has joined #openmrs
14:57:28 *** ChanServ sets mode: +o downeym
14:57:28 *** OpenMRSBot sets mode: +o downeym
14:59:05 *** downeym has quit IRC
14:59:53 *** downeym has joined #openmrs
14:59:53 *** ChanServ sets mode: +o downeym
14:59:53 *** OpenMRSBot sets mode: +o downeym
15:04:41 *** dkayiwa has left #openmrs
15:15:38 *** wyclif has joined #openmrs
15:15:44 *** wittythotha has joined #openmrs
15:15:53 <downeym> Hi wittythotha and welcome to the #openmrs IRC channel.
15:18:29 <wittythotha> Hi, I encounter the following error : calling getter of org.openmrs.User.userId; nested exception is org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of org.openmrs.User.userId. I'm just trying to populate my DAO objects into the db by doing a saveorupdate(). Any ideas what the issue might be?
15:24:38 *** burke has left #openmrs
15:24:42 *** burke has joined #openmrs
15:24:42 *** ChanServ sets mode: +o burke
15:27:28 *** bmamlin has joined #openmrs
15:28:07 *** bmamlin has left #openmrs
15:28:37 *** bmamlin has joined #openmrs
15:28:39 *** bmamlin has left #openmrs
15:29:14 *** openmrs_1234 has joined #openmrs
15:29:25 <openmrs_1234> test
15:29:28 <downeym> Hi openmrs_1234 and welcome to the #openmrs IRC channel.
15:31:19 <wittythotha> i also saw a few similar questions in the older openmrs mail archives, but none of the solutions suggested seem to work.
15:31:43 *** burke has quit IRC
15:31:54 *** burke has joined #openmrs
15:31:54 *** ChanServ sets mode: +o burke
15:47:25 *** burke is now known as burke_away
15:48:33 <wittythotha> djazayeri: any suggestions on what I might have overlooked?
15:48:38 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: Happening now: #OpenMRS co-founder @pbiondich speaking at Indiana University on his #ICT4D experiences http://t.co/lzXFp14K <http://twitter.com/OpenMRS/statuses/142620780356829184>
15:51:03 *** burke_away is now known as burke
15:55:51 *** openmrs_1234 has quit IRC
15:59:03 *** downeym has quit IRC
16:04:50 *** chopin has quit IRC
16:06:29 *** wyclif has quit IRC
16:10:03 *** wyclif has joined #openmrs
16:16:11 *** rafa has joined #openmrs
16:16:11 *** ChanServ sets mode: +v rafa
16:19:53 *** wyclif has quit IRC
16:21:53 *** burke is now known as burke_away
16:34:00 <djazayeri> wittythotha: can you pastebin the query that you're doing that throws the error?
16:44:12 <wittythotha> djazayeri: sure here's the link : http://pastebin.com/5W9Tn816
16:44:33 <djazayeri> wittythotha: not the exception
16:44:35 <djazayeri> what's the code?
16:44:56 <wittythotha> I'm just doing a saveorupdate() : sessionFactory.getCurrentSession().saveOrUpdate(hl7OutQueueDestination);
16:44:58 <djazayeri> for the query
16:45:20 <djazayeri> okay, there must be a bad hibernate mapping or a bad pojo setup
16:45:25 <wittythotha> im not doing a join, just inserting into the db
16:46:34 <wittythotha> hmm ok, but I've done the mapping in the xml file and it seems fine. Would this be an issue because ive done one to many mappings as well?
16:47:07 <djazayeri> presumably something in your Hl7OutQueueDestination.hbm.xml references User incorrectly.
16:50:42 <wittythotha> djazayeri: hmm, ok let me have a look at that. http://pastebin.com/E3iEQ8xp I've even tried removing out one of the many to one mappings
16:53:30 <wittythotha> djazayeri: do you see any issues with the way some of the many to one mappings or normal mappings are done in that pastebin?
16:54:47 <djazayeri> retiredBy <-> retire_by seems odd
16:54:53 <djazayeri> and you shouldn't have a length="5"
16:54:58 <djazayeri> but I doubt that's the problem
16:55:27 <djazayeri> also, the retiredBy property should have type="org.openmrs.User"
16:55:34 <djazayeri> I bet that's the problem
16:55:40 <wittythotha> djazayeri: ok, I'll change that back to the many to one mapping I commented out.
16:56:04 <wittythotha> Ok, I'll do that. Let me give it a shot. Thanks
17:05:27 *** wittythotha has quit IRC
17:10:53 *** wittythotha has joined #openmrs
17:11:24 <wittythotha> djazayeri: I did that, no luck though. Same error seems like.
17:18:17 *** chopin has joined #openmrs
17:18:51 *** downeym has joined #openmrs
17:18:51 *** OpenMRSBot sets mode: +o downeym
17:18:51 *** ChanServ sets mode: +o downeym
17:34:35 <wittythotha> djazayeri: anything else I might have to do with the mapping xml file? I did the change to org.openmrs.User in it, doesn't seem to change the error. Any other thoughts/suggestions on the top of your mind?
17:35:11 *** bwolfe has quit IRC
17:40:17 *** wyclif has joined #openmrs
17:53:22 *** bwolfe has joined #openmrs
17:53:22 *** ChanServ sets mode: +o bwolfe
17:57:08 *** dawn_ has joined #openmrs
17:57:08 *** ChanServ sets mode: +v dawn_
17:57:43 *** dawn_ has quit IRC
17:57:49 <djazayeri> wittythotha: no, nothing off the top of my head
17:58:14 *** dawn_ has joined #openmrs
17:58:34 *** Sri_ has joined #openmrs
18:00:31 <djazayeri> bwolfe, rafa, dawn_, wyclif: hi
18:00:32 <djazayeri> scrum time?
18:00:39 <dawn_> scrum time :)
18:00:57 <bwolfe> !scrumon
18:00:58 <OpenMRSBot> bwolfe: Error: "scrumon" is not a valid command.
18:01:07 <djazayeri> fail
18:01:09 <dawn_> fail
18:01:15 <bwolfe> someday that will be a command... *cough* downeym *cough*
18:01:29 <wyclif> hi
18:01:34 <dawn_> bwolfe: just for that, you can go first….and be fast so someone doesn't cut you in the order
18:01:38 <rafa> Hi
18:01:42 <downeym> :)
18:01:54 <bwolfe> ha
18:02:03 <bwolfe> today:
18:02:03 <bwolfe> reviewed sprint tickets
18:02:03 <bwolfe> uploaded/emailed about mavenize updated scripts
18:02:03 <bwolfe> fixed/tested hibernate upgrade patch
18:02:03 <bwolfe> monday:
18:02:04 <bwolfe> 1.9 stuff? doc stuff? packaging stuff? whats the plan here?
18:02:08 <bwolfe> no blockers
18:02:11 <dawn_> today's order: bwolfe , rafa , wyclif then djazayeri
18:02:32 <bwolfe> oo, order announced ahead of time. good idea
18:02:43 <rafa> Today:
18:02:49 <bwolfe> (technically dkayiwa was first since he emailed his in)
18:02:55 <djazayeri> actually...
18:03:00 <djazayeri> here's dkayiwa's update
18:03:08 <djazayeri> Editing sprint dashboard to include standalone 1.9 beta tickets
18:03:09 <djazayeri> Back ported and closed some small ticket.
18:03:09 <djazayeri> Did some checking of the sprint tickets to get updates for those that are not progressing.
18:03:09 <djazayeri> Committed: Cannot parse address layout (fresh installation) - TRUNK-2900
18:03:09 <djazayeri> Committed: Update the tab cookie on patient dashboard when visit are enabled/disabled - TRUNK-2904
18:03:09 <djazayeri> Investigated the error i get on startup for: Auto-created visits populate end time - TRUNK-2844
18:03:09 <djazayeri> Investigated the error i get on startup exposed by: Include inherited roles when searching for users - TRUNK-2503
18:03:10 <djazayeri> On looking into if the TRUNK-2503 error does not happen for fresh installs, i stumbled into: AuditableInterceptor fails with a NPE at startup if there are scheduled tasks to run at startup - TRUNK-2903
18:03:10 <djazayeri> No Blockers
18:03:43 <djazayeri> okay, rafa, your turn now
18:03:55 <rafa> Today:
18:04:20 * bwolfe finds it hard to resist alt-tabbing...
18:05:52 <bwolfe> rafa...this might be the first day in a long time you weren't ready ahead of time. :-)
18:06:21 <chopin> Today:
18:06:31 <bwolfe> did we lose him?
18:06:34 * chopin thinks it's the wodka
18:06:38 <rafa> Yeah fail
18:07:31 <bwolfe> are you still failing rafa? should we move you to the end?
18:07:47 <dawn_> yeah, let's go ahead and have wyclif go now :)
18:07:54 <dawn_> then djazayeri then rafa
18:08:04 <wyclif> yesterday:
18:08:04 <wyclif> -Revisit TRUNK-2844 as per review comments - auto closing visits
18:08:04 <wyclif> -Invested 2 bugs i ran into yesterday and Created 2 tickets for them
18:08:04 <wyclif> -Made changes as per review comments
18:08:04 <wyclif> -dev tickets in review and backported changes
18:08:05 <wyclif> -Code review for TRUNK-1677
18:08:07 <wyclif> -dev call
18:08:09 <wyclif> today:
18:08:11 <wyclif> -STAND-31 - Quick first pass of a one-time prompt for standalone configuration on initial startup
18:08:13 <wyclif> -Preparing tickets and jira dashboard for next week's sprint
18:08:15 <wyclif> -If i get time I plan to pick up STAND-35 - Automatically create demo dataset as part of the standalone build process
18:08:18 <wyclif> blockers: none
18:08:34 <bwolfe> what are you doing for STAND-31?
18:08:48 <bwolfe> isn't that done and now its tickets related to that?
18:08:55 <wyclif> the todo that darius added
18:08:59 <wyclif> todos
18:09:09 <dawn_> bwolfe: can we wait on that and get through djazayeri and rafa 's reports first?
18:09:15 *** suranga has joined #openmrs
18:09:17 <wyclif> sure
18:09:30 <djazayeri> I think that "please explain a line in your report" should go right away
18:09:36 <bwolfe> dawn_, no, not really. its related to his report
18:09:50 <djazayeri> here was my comment on STAND-31
18:09:51 <djazayeri> I'm releasing this ticket for someone else to work on.
18:09:52 <djazayeri> Next steps:
18:09:52 <djazayeri> 1. Get rid of (comment out the code) the button that's currently disabled
18:09:52 <djazayeri> 2. Change the phrasing of the buttons to get rid of any "TO DO" statements, and replace them with descriptive text suitable to be released at any moment with a minor OpenMRS release
18:09:52 <djazayeri> 3. Make the buttons less ugly perhaps adding icons as suggested in https://tickets.openmrs.org/browse/STAND-17, and figuring out the right way to color them.
18:09:52 <bwolfe> what he said
18:10:12 <bwolfe> ah ok
18:10:21 <bwolfe> so its basically cleaning up the mess that darius made
18:10:32 <bwolfe> thats what I figured were other tickets, but its fine there too
18:10:34 <wyclif> yeah :)
18:10:35 <djazayeri> bwolfe: exactly. get it to the point where we can release a new standalone at any time
18:10:48 <suranga> james_regen, heloo, have to report back on some changes I just made to access privilages :-)
18:10:49 <bwolfe> lets get that done so I can release 1.8.3 early next week :-)
18:11:10 <djazayeri> suranga: please wait until we're done with today's scrum
18:11:15 <djazayeri> thanks
18:11:28 <bwolfe> lets talk about STAND-35 after we're done with the reports
18:11:31 <suranga> djazayeri, sure
18:11:37 <bwolfe> ok, djazayeri?
18:11:38 <djazayeri> Okay, my report
18:11:42 <wyclif> sure
18:11:43 <djazayeri> Thursday 1-Dec-2011
18:11:43 <djazayeri> * Developer call
18:11:43 <djazayeri> * Leadership call
18:11:43 <djazayeri> * Working on a project proposal
18:11:44 <djazayeri> Friday 2-Dec-2011
18:11:44 <djazayeri> * Call with a TW BA
18:11:45 <djazayeri> * Call with CDC documenters
18:11:45 <djazayeri> * Working on a project proposal
18:11:46 <djazayeri> * (only a half-day today)
18:12:01 <djazayeri> no blockers
18:12:15 <djazayeri> monday I intend to update and apply the TRUNK-2588 patch
18:12:53 <rafa> Today: * started with trunk-2821 * looked into trunk-2903 Tomorrow: * finish trunk-2821 Monday: * not yet sure No blockers.
18:13:11 <djazayeri> !ticket trunk-2821
18:13:12 <bwolfe> djazayeri, are you working on tickets with wyclif for monday ?
18:13:13 <OpenMRSBot> djazayeri: [#TRUNK-2821] Merge Patients page should be displayed on a separate pop-up screen - OpenMRS JIRA - https://tickets.openmrs.org/browse/trunk-2821
18:13:19 <djazayeri> !ticket trunk-2903
18:13:20 <OpenMRSBot> djazayeri: [#TRUNK-2903] AuditableInterceptor fails with a NPE at startup if there are scheduled tasks to run at startup - OpenMRS JIRA - https://tickets.openmrs.org/browse/trunk-2903
18:13:36 <wyclif> !trunk-2588
18:13:37 <OpenMRSBot> wyclif: Error: "trunk-2588" is not a valid command.
18:13:45 <djazayeri> !ticket trunk-2588
18:13:46 <OpenMRSBot> djazayeri: [#TRUNK-2588] Generic mechanism for doing Attributes and Attribute Types on many classes. (Review code, and Refactor.) - OpenMRS JIRA - https://tickets.openmrs.org/browse/trunk-2588
18:13:47 *** burke_away is now known as burke
18:13:51 <wyclif> !ticket trunk-2588
18:13:52 <OpenMRSBot> wyclif: [#TRUNK-2588] Generic mechanism for doing Attributes and Attribute Types on many classes. (Review code, and Refactor.) - OpenMRS JIRA - https://tickets.openmrs.org/browse/trunk-2588
18:14:09 <djazayeri> bwolfe: wyclif and I haven't spoken about that yet. let's talk after the updates.
18:14:12 <djazayeri> (I guess now is after the updates)
18:14:21 <dawn_> bwolfe: djazayeri rafa wyclif : looks like there are 2 things to discuss: STAND-35 and tickets for the next sprint
18:14:29 <djazayeri> also, current status of this sprint
18:14:35 <wyclif> sure djazayeri
18:14:41 <bwolfe> !scrumoff
18:14:41 <OpenMRSBot> bwolfe: Error: "*****END" is not a valid command.
18:14:47 <downeym> hrmph.
18:14:49 <bwolfe> downeym, boo
18:14:56 <dawn_> fail
18:14:56 <djazayeri> this isn't scrum off yet. :-)
18:15:01 <djazayeri> I see that there's a Blocker ticket
18:15:24 <bwolfe> updates are done, therefore scrum is done. then we discuss. those uninterested and uninvolved could take off
18:15:31 <djazayeri> (okay)
18:15:44 * chopin flaps his wings
18:15:45 <bwolfe> is that the new one wyclif made?
18:15:47 <djazayeri> Blocker ticket is by definition more important that any other tickets anyone is working on
18:15:52 <wyclif> bwolfe, yes
18:16:05 <djazayeri> yes, the one about tasks not being run as the daemon user
18:16:19 <djazayeri> so, Wyclif, looks like you should pick that up instead of STAND-31
18:16:25 <wyclif> djazayeri, sure
18:16:30 <bwolfe> didn't rafa say he was going to pick it up?
18:16:32 <downeym> !scrumoff
18:16:33 <OpenMRSBot> downeym: Error: "*****END" is not a valid command.
18:16:39 *** OpenMRSBot was kicked by downeym (OpenMRSBot)
18:16:39 *** OpenMRSBot has joined #openmrs
18:16:39 *** ChanServ sets mode: +o OpenMRSBot
18:16:49 <djazayeri> rafa said he looked at it, but the ticket is still unassigned
18:16:49 <wyclif> rafa, do you want to work on it
18:17:11 <rafa> I can work on that on monday
18:17:11 <bwolfe> oh, right, looked at it.
18:17:14 <djazayeri> Also, there are still 13 tickets in needs review, which is the same number as yesterday. (I haven't reviewed any, but I assume all 13 are not mine.)
18:17:38 <bwolfe> there have been some out and some in. I think its just coincidence its the same
18:18:05 <djazayeri> okay
18:18:22 <djazayeri> anyway, we need to get tickets reviewed
18:18:29 <wyclif> some are tickets that were reviewed, dev applied changes and put back into review
18:19:00 <djazayeri> alright, so on to the two discussion questions
18:19:14 <djazayeri> !ticket STAND-35
18:19:15 <OpenMRSBot> djazayeri: [#STAND-35] Automatically create demo dataset as part of the standalone build process - OpenMRS JIRA - https://tickets.openmrs.org/browse/STAND-35
18:19:21 <djazayeri> what's to discuss there bwolfe?
18:19:28 <djazayeri> how to do it?
18:20:23 <bwolfe> yeah. options are: convert to liquibase xml and run that during the mvn package command to create a db zip. or to leave as sql and use liquibase to source it to create the demodb.zip
18:21:34 <wyclif> bwolfe, can liquibase source a sql dump file?
18:22:05 <bwolfe> liquibase can run any sql command in a changeset
18:22:13 <bwolfe> or liquibase can execute an os command
18:22:44 <bwolfe> so it might be as easy as creating a liquibase file with one changeset in it: one that sources the demo sql.
18:22:57 <bwolfe> then the demo db is updated using the liquibase-update-to-latest
18:23:06 <bwolfe> the resulting db is zipped and put into the standalone
18:23:30 <bwolfe> if the user chooses "full demo db" in the swing app, the demodb.zip is unzipped in the standalone and used
18:23:47 <chopin> is anyone else having a heck of a time getting a fresh trunk to start in jetty?
18:24:05 <bwolfe> chopin, see the blocker ticket mentioned above...
18:24:13 <djazayeri> TRUNK-2903
18:24:14 <chopin> i'm getting c3p0 errors after a saveTomemento() error
18:24:17 <chopin> oh
18:24:28 <chopin> thanks
18:24:36 <djazayeri> bwolfe: I have no opinion on which of those is the best approach
18:24:48 <chopin> !ticket trunk-2903
18:24:49 <OpenMRSBot> chopin: [#TRUNK-2903] AuditableInterceptor fails with a NPE at startup if there are scheduled tasks to run at startup - OpenMRS JIRA - https://tickets.openmrs.org/browse/trunk-2903
18:24:59 <djazayeri> bwolfe: Ideally the thing packaged in the standalone would already be up to date
18:25:11 <bwolfe> djazayeri, yes, agreed
18:25:18 <bwolfe> chopin, yes, that one
18:25:23 <djazayeri> so I guess I like the idea of (during the build), executing the demo sql, then doing liquibase-update-to-latest on it
18:25:31 <djazayeri> and then zipping that up as demodb.zip
18:25:44 <djazayeri> bwolfe: Want to transfer your comments to the ticket?
18:25:53 <dawn_> djazayeri: bwolfe : don't forget the meeting coming up in 5min
18:25:56 <bwolfe> djazayeri, yeah. the options I was putting forward were whether we convert the sql to liquibase changesets or just source it as sql
18:25:58 <djazayeri> I know
18:26:05 <djazayeri> dawn_: gotcha
18:26:08 <bwolfe> djazayeri, link?
18:26:12 <djazayeri> bwolfe: I think sourcing it as sql is find
18:26:13 <dawn_> thnx!
18:26:14 <djazayeri> fine
18:26:16 <bwolfe> dawn_, I've already forgotten
18:26:21 <djazayeri> !ticket STAND-35
18:26:22 <OpenMRSBot> djazayeri: [#STAND-35] Automatically create demo dataset as part of the standalone build process - OpenMRS JIRA - https://tickets.openmrs.org/browse/STAND-35
18:26:29 <djazayeri> wyclif: about next week's sprint
18:26:34 <djazayeri> (we have 4 minutes to talk now)
18:26:41 <djazayeri> have you started creating tickets?
18:26:42 <wyclif> sure
18:26:45 <dawn_> bwolfe: that's fail #3 today :P
18:26:46 <bwolfe> ah right, that ticket...the one that started the convo. :-p
18:26:47 <djazayeri> I wanted to discuss the philosophy
18:27:00 <bwolfe> dawn_, I've forgotten the first two
18:27:16 <wyclif> djazayeri, what is our focus next week?
18:27:19 <djazayeri> The goal of the next couple of weeks is (1) to tie off loose ends, and (2) to get 1.9 Beta released
18:28:14 <wyclif> djazayeri, will this involve making an alpha release of release testing helper module
18:28:20 <djazayeri> wyclif: yes
18:28:24 <djazayeri> from https://wiki.openmrs.org/display/docs/Road+Map+%28Design+Page%29
18:28:25 <OpenMRSBot> <http://ln-s.net/96Sk> (at wiki.openmrs.org)
18:28:49 <djazayeri> wyclif: anything relating to actually doing the releases in 2011 Q4 is important
18:28:56 <djazayeri> e.g. SMART container
18:29:00 <djazayeri> Atlas (just Burke)
18:29:14 <djazayeri> Sync (probably no work required outside of standalone)
18:29:22 <djazayeri> Reporting (that's just me code reviewing some of MIke's work)
18:29:38 <wyclif> i need to ass the release testing module too
18:29:55 <chopin> heh
18:29:55 <djazayeri> And of course the things required for the 1.9 Beta release
18:30:00 <djazayeri> (don't go there)
18:30:18 <bwolfe> chopin was just being cheeky
18:30:21 <downeym> !scrumoff
18:30:21 * 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.
18:30:26 <wyclif> will go through the trunk tickets, smart container and delegate some for the other modules to the more knowledgeable devs
18:30:41 <djazayeri> Get the Standalone ready (with empty and demo dbs, and working buttons, but no MVP db yet)
18:31:03 <wyclif> djazayeri, ok
18:31:12 <djazayeri> Get the release testing module out
18:31:19 <djazayeri> and 1.9 stuff
18:31:23 <djazayeri> e.g. TRUNK-2588 back to me
18:31:29 <djazayeri> chopin: will have a followup ticket for that
18:31:34 <djazayeri> (gotta run to another call now)
18:32:14 <wyclif> ok
18:32:15 *** suranga_ has joined #openmrs
18:33:07 *** suranga has quit IRC
18:35:34 *** suranga__ has joined #openmrs
18:39:29 *** suranga_ has quit IRC
19:01:54 *** suranga_ has joined #openmrs
19:04:57 *** suranga__ has quit IRC
19:07:20 <bwolfe> chopin, you working through your inbox backlog today? you're drudging up a bunch of 'em... :-)
19:07:37 <chopin> ooommmggg ... we have something built-in that forces logic.started=true?
19:07:46 <chopin> bwolfe, yes :-D
19:08:09 * chopin stops fighting w/ trunk ... patches 1.8.x instead and runs that.
19:21:02 *** suranga__ has joined #openmrs
19:21:33 * suranga__ thinks scrum is over now...
19:21:41 * suranga__ creeps back
19:21:50 <suranga__> james_regen, m.. r u around ?
19:24:04 *** suranga_ has quit IRC
19:25:56 <dawn_> !scrumon dawn_
19:25:56 * 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 dawn_- you may begin when ready.
19:26:07 <dawn_> !scrumoff
19:26:07 * 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.
19:26:19 <dawn_> :D
19:26:28 <downeym> dawn_: you try to confuse
19:26:38 <bwolfe> you could have done in that in a private convo with the bot... :-)
19:26:40 *** rafa has quit IRC
19:26:50 <downeym> field testing?
19:27:00 <downeym> bwolfe: go to sleep :P
19:27:54 <bwolfe> zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
19:28:29 <downeym> !beer bwolfe
19:28:29 * OpenMRSBot slides bwolfe a pint
19:31:33 <suranga__> mmm.. so scrum is over right ?
19:32:02 <djazayeri> yes
19:32:16 <suranga__> :P thanks Darius, sorry :P
19:32:24 <james_regen> suranga__: hi, i'm here
19:32:48 <suranga__> howdy, Wanted to let you know about some changes I did to to patient Matching module today
19:33:02 <suranga__> Ada asked me to help her create the roles/privileges for a manager role to use the module..
19:33:22 <suranga__> Unfortunately, this did not work out (access problem)
19:33:22 <suranga__> Apparently the access restrictions of core openmrs have changed somewhat over the past few months, and we havent changed with it.
19:33:40 <suranga__> so bwolfe suggested the following fix,
19:33:58 <suranga__> instead of <openmrs:require privilege="View Patients, View Patient Cohorts"
19:34:16 <suranga__> we now say <openmrs:require ANyPrivilege="View Patients, View Patient Cohorts" at the very top of the page
19:34:24 <suranga__> I made this change in three places, and it seems to work great now
19:35:01 <james_regen> suranga__: that's great. is this one of the things that will make our module work with just newer versions?
19:35:11 *** wyclif has quit IRC
19:35:41 <suranga__> james_regen, yep, I belive so
19:36:07 <suranga__> I will be sending ada the latest omod on monday (want to test out some more to see if it works properly)
19:36:17 <suranga__> im wondering, its time we released 1.2.4 officially.....
19:37:41 <james_regen> is the "require_version" tag in the config.xml file specifying what minimum version of openmrs is required for the module?
19:38:11 <suranga__> james_regen, it should, I have never really checked that before :-(
19:38:55 <suranga__> afraid I dont have the code right now, so cant check it out...
19:39:01 <james_regen> if so, it's current value of 1.1 might be a bit . . . untrue
19:39:45 <james_regen> suranga__: any other updates?
19:40:10 <suranga__> james_regen, not really... ummm... 1.1 ? wow maybe we should chnge that ?
19:43:06 <james_regen> suranga__: yeah, i think that needs to be updated at some point. i'm not sure what the value should be exactly, but i'm sure it's much more recent
19:43:47 <suranga__> I knoe that it can be used ith 1.7.1 maybe that would do ?
19:43:48 <suranga__> hmm
19:44:11 *** dawn_ has quit IRC
19:44:12 <suranga__> dont know about 1.6.X version
19:44:57 *** wittythotha has quit IRC
19:46:13 <suranga__> james_regen, so I'll test out my changes and pass them on to Ada, next, Ill start looking at the possibility of mavenizing the module...
19:47:04 <james_regen> suranga__: that sounds great. is there anything you need from shaun or i?
19:47:59 <suranga__> james_regen, mmm... not until I get a proper plan on mavenizing (never done that before) possibily then I will need u to ok my plan :P
19:48:08 <suranga__> other than that, we're cool
19:48:35 <james_regen> ok
19:48:41 *** wyclif has joined #openmrs
19:49:39 <suranga__> james_regen, any news on the MI's ? I guess everyone has been busy over thanksgiving and all that....
19:51:50 <james_regen> suranga__: last i heard shaun was hoping to send an email to you about it. he did wonder if the code was committed, and if it'll be available from the GUI imemdiately. i think everything looks fine, and he's wondering how he'll be able to test himself with is own data
19:52:32 <suranga__> james_regen, its avaiable from the GUI, but the code is not comitted yet..
19:52:59 <suranga__> I could maybe zip it up and send it over ? (as opposed to committing)
19:56:31 <james_regen> suranga__: i think committing could be fine. i can't remember what the GUI changes were that we talked about, though
19:57:23 <suranga__> james_regen, mm... maybe I'llsend over some screenshots first, and commit secondly ?
19:57:45 <suranga__> I dont want to be known as the guy who messed up the patientMatching module :-(
19:58:59 <james_regen> suranga__: screen shots are a good idea. i don't think it's easy to mess up the module if you're just touching GUI classes and adding new code. and even if you did mess up the module, ada knows your name, and she knows who to call now
19:59:33 <suranga__> james_regen, :D
20:00:18 <suranga__> james_regen, its kind of late over here, so I was thinking of signing off.. will start work on this stuff over the next few days
20:01:11 <james_regen> suranga__: ok. thanks for the update
20:01:14 <suranga__> james_regen, by any chance are you a fan of 'skeptical inquirer' ? if so go find Ada, she has a free shirt to give away...
20:01:36 <suranga__> james_regen, no problem, see you on monday :-)
20:16:25 *** suranga__ has quit IRC
20:27:28 *** james_regen has quit IRC
20:51:14 *** dawn_ has joined #openmrs
20:51:14 *** ChanServ sets mode: +v dawn_
21:30:38 *** lh has joined #openmrs
21:32:02 *** dawn_ has quit IRC
21:40:00 *** rafa has joined #openmrs
21:40:00 *** ChanServ sets mode: +v rafa
21:49:35 *** chopin has quit IRC
22:16:14 *** rafa has quit IRC
22:18:38 *** downeym has quit IRC
22:32:10 *** lh has quit IRC
22:34:31 *** burke is now known as burke_away
22:52:32 *** burke_away is now known as burke
22:59:15 *** Sri__ has joined #openmrs
23:00:52 <Sri__> Hi.. I'm trying to create a drop down list in a jsp page. Can anyone pl let me know what the "path" value shoudl be set to in the form:select tag.. Also, should new beans be created for it?
23:02:16 *** burke has quit IRC
23:42:12 *** burke has joined #openmrs
23:42:12 *** ChanServ sets mode: +o burke
23:47:12 *** djazayeri has quit IRC