IRC Chat : 2009-08-17 - OpenMRS

00:02:07 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1748 (task created): Move business logic for authentication into service layer <http://dev.openmrs.org/ticket/1748> || OpenMRS Changesets: Changeset [9835]: htmlformentrydesigner: Encounter Provider widget fetches the roles list … <http://dev.openmrs.org/changeset/9835>
00:10:28 <r0bby> Echidna: not sure :X
01:58:20 *** atomicturtle has joined #openmrs
02:07:06 *** bwolfe has joined #openmrs
02:07:06 *** ChanServ sets mode: +o bwolfe
02:24:57 <r0bby> bwolfe: o/
02:25:13 <bwolfe> hi
02:29:18 *** upul has joined #openmrs
02:29:18 *** ChanServ sets mode: +v upul
02:32:35 *** bwolfe_ has joined #openmrs
02:32:35 *** ChanServ sets mode: +o bwolfe_
02:32:51 *** bwolfe has quit IRC
02:32:59 *** bwolfe_ is now known as bwolfe
03:15:18 *** bwolfe has quit IRC
05:40:40 *** mkulumadzi has joined #openmrs
05:40:56 <r0bby> BOOOOOOOOOOOOOOOOYAH
05:40:59 * r0bby dances
05:47:18 *** pascal` has joined #openmrs
05:54:14 <upul> hey pascal`
05:54:23 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Inpatient Care Module <http://forum.openmrs.org/viewtopic.php?f=8&t=490#p1788>
05:55:05 <pascal`> hi upul
05:59:01 <r0bby> :DDDD
05:59:12 <r0bby> upul: guess what
05:59:32 <r0bby> I finished -- it's crappy right now -- there is a design limitation that can'tbe rectified w/o risking not finishing :(
06:00:02 <upul> congratulations
06:00:43 <r0bby> just feels good to have rectified last year -- i feel like i can finally stop feeling guilty
06:15:30 <pascal`> wd r0bby
06:20:50 * r0bby now just has "busy work"
06:20:54 <r0bby> aka work i'd rather not do
06:21:08 <r0bby> I'm off the hook on documentation as the project is getting redesigned likely
06:21:16 <r0bby> it's not going directly into the hands of users
06:21:39 <r0bby> and it can't actually it's quite useless (you enter data -- store it-- but can't analyze it)
06:24:36 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9839]: reporting: In progress work for attempting to get Mapped properties … <http://dev.openmrs.org/changeset/9839> || OpenMRS Changesets: Changeset [9838]: reporting: Minor fixes to separate header and include files <http://dev.openmrs.org/changeset/9838> || OpenMRS Changesets: Changeset [9837]: facility data: remove some unused methods. <http://dev.openmrs.org/changeset/9837> || OpenMRS Forum: Re: Inpatient Care Module <http://forum.openmrs.org/viewtopic.php?f=8&t=490#p1789> || OpenMRS Changesets: Changeset [9836]: facility data: monthly calendar written; various other small changes; … <http://dev.openmrs.org/changeset/9836>
06:26:35 *** upul has quit IRC
06:29:03 *** upul has joined #openmrs
06:29:03 *** ChanServ sets mode: +v upul
06:46:23 <Echidna> D=
06:49:27 <upul> what's the matter
06:49:53 <upul> or is that how germans laugh :-D
06:51:18 <pascal`> baaahaha
06:51:42 <pascal`> hey Echidna
06:56:43 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9840]: facility data: logic switch up (same functionality; different method of … <http://dev.openmrs.org/changeset/9840>
07:01:21 <r0bby> Echidna: damn you germans!
07:01:34 <r0bby> :)
07:02:23 <upul> r0bby, was machen sie yetst?
07:04:05 <r0bby> I dont speak german damn you
07:06:08 <upul> doh, sprechen sie nicht deutch?
07:08:17 <upul> ich mochte etwas essen
07:08:20 <upul> tschuss
07:09:25 <upul> gute nacht r0bby, aufwidersehen
07:28:45 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Inpatient Care Module <http://forum.openmrs.org/viewtopic.php?f=8&t=490#p1790> || OpenMRS Changesets: Changeset [9841]: inpatientcare: fixed sql query syntax, added manual populating of metadata … <http://dev.openmrs.org/changeset/9841>
07:36:00 <r0bby> upul: you meanie
07:36:09 * r0bby cries
07:36:13 <r0bby> w00t
07:37:17 <r0bby> upul: http://www.quasipartikel.at/multiselect/\
07:37:19 <r0bby> upul: http://www.quasipartikel.at/multiselect/
07:37:22 <r0bby> :D
07:37:25 <r0bby> I used that :0
07:37:27 <r0bby> :)
07:39:28 <upul> jquery things are cool
07:39:45 <upul> toll
07:39:59 <upul> jquery ist toll
07:41:49 <pascal`> that's pretty sweet
08:10:06 <r0bby> it is
08:10:12 <r0bby> i saw it and was like "SWEEEEEEEEEEEEEEEET"
09:04:57 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9842]: facility data: various UI tweaks <http://dev.openmrs.org/changeset/9842>
10:40:59 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9852]: after adding test class <http://dev.openmrs.org/changeset/9852> || OpenMRS Changesets: Changeset [9851]: after adding test class <http://dev.openmrs.org/changeset/9851> || OpenMRS Changesets: Changeset [9850]: facility data: missed this. <http://dev.openmrs.org/changeset/9850> || OpenMRS Changesets: Changeset [9849]: delete <http://dev.openmrs.org/changeset/9849> || OpenMRS Changesets: Changeset [9848]: delete <http://dev.openmrs.org/changeset/9848> || OpenMRS Changesets: Changeset [9847]: delete <http://dev.openmrs.org/changeset/9847> || OpenMRS Changesets: Changeset [9846]: jars for test class <http://dev.openmrs.org/changeset/9846> || OpenMRS Changesets: Changeset [9845]: jars for test class <http://dev.openmrs.org/changeset/9845> || OpenMRS Changesets: Changeset [9844]: jars for test class <http://dev.openmrs.org/changeset/9844> || OpenMRS Changesets: Changeset [9843]: after adding test class <http://dev.openmrs.org/changeset/9843>
10:58:56 <upul> pascal`, what is the vm server you use?
11:04:12 <r0bby> upul: i posted a detailed user guide
11:04:23 <r0bby> that satisfies both my blog post *AND* documentation requirement :D
11:04:50 <r0bby> he can
11:04:59 <r0bby> 't fail me because i actually finished
11:05:29 <r0bby> the requirements were fulfilled but it was a shortcoming in his design that i saw but figured i wasn't seeing the whole picture and ignored that little voice
11:06:47 <upul> detailed user guide threw null pointer exception
11:07:55 *** kane77 has joined #openmrs
11:10:37 <r0bby> ?!?!
11:10:43 <r0bby> how so beeeotch
11:10:58 <r0bby> I slept for 3 hrs yesterday :)
11:10:59 <upul> just kidding
11:11:13 <OpenMRSBot> Recent updates in the world of openmrs: Robby O'Connor: Facility Data Module User Guide <http://feedproxy.google.com/~r/robbyoconnor/~3/HEpS8dfxQDg/facility-data-module-user-guide.html>
11:12:10 *** james_regen has joined #openmrs
11:12:10 *** ChanServ sets mode: +v james_regen
11:14:51 <r0bby> I'm shocked i finished :D
11:26:39 <upul> good bye world
11:26:44 *** upul has quit IRC
11:43:07 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9856]: RolebasedHomepage Module <http://dev.openmrs.org/changeset/9856> || OpenMRS Changesets: Changeset [9855]: Share project "rolebasedhomepage" into "http://svn.openmrs.org" <http://dev.openmrs.org/changeset/9855> || OpenMRS Changesets: Changeset [9854]: delete <http://dev.openmrs.org/changeset/9854> || OpenMRS Changesets: Changeset [9853]: delete <http://dev.openmrs.org/changeset/9853>
12:00:25 *** bwolfe has joined #openmrs
12:00:25 *** ChanServ sets mode: +o bwolfe
12:16:39 <r0bby> bwolfe: i finished :D
12:16:46 <r0bby> I'm just improving UI :D
12:17:27 <r0bby> bwolfe: what is your take on me ditching groovyforms by the way -- i don't see it as a necessity anymore -- i can likely add that functionality to htmlformentry at some point
12:17:51 <r0bby> I feel guilty doing it :(
12:18:47 <r0bby> it's ultimately up to you -- I
12:19:03 <r0bby> 've made my decision but I'll back off a bit on it and do whatever you guys want
12:26:29 *** upul has joined #openmrs
12:26:29 *** ChanServ sets mode: +v upul
12:33:33 *** bwolfe has quit IRC
12:34:50 *** atomicturtle has quit IRC
12:39:05 *** upul_ has joined #openmrs
12:39:05 *** ChanServ sets mode: +v upul_
12:39:05 *** upul has quit IRC
12:47:15 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9857]: RolebasedHomepage Module <http://dev.openmrs.org/changeset/9857>
12:53:20 *** Nzeyi has joined #openmrs
13:04:22 *** bwolfe has joined #openmrs
13:04:22 *** ChanServ sets mode: +o bwolfe
13:05:33 <pascal`> hey upul, I use VMWare
13:05:57 <pascal`> I would like to use VirtualBox, but it crashes my machine
13:08:30 *** nribeka has joined #openmrs
13:08:30 *** ChanServ sets mode: +v nribeka
13:16:36 *** upul_ is now known as upul
13:17:05 <upul> pascal`: do you have yellow menu on top of the screen in vmware?
13:17:28 <pascal`> upul, I'm using VMWare Fusion
13:17:36 <pascal`> why do you ask?
13:17:49 <pascal`> I've used VMWare Workstation and Player too
13:17:54 <nribeka> bwolfe, do we have the navicat license?
13:17:56 <nribeka> or no?
13:18:14 <pascal`> navicat lite works pretty well
13:18:14 <upul> pascal`: when mouse move near that yellow menu, mouse goes mad
13:18:27 <bwolfe> nribeka: no
13:18:32 <bwolfe> I use navicat lite
13:18:37 <nribeka> ah ic ic
13:18:38 <pascal`> upul, is this in the guest in fullscreen mode?
13:18:51 <upul> pascal`: yes
13:19:02 <pascal`> upul, do you have vmware tools installed?
13:20:30 <upul> pascal`: yes i think so, if I move the mouse to that yellow area, whereever I click it get stuck inside that menu area
13:20:41 <pascal`> hmm
13:20:50 <pascal`> vmware tools usually sorts out any mouse issues
13:21:00 <pascal`> maybe make sure you have it installed, or update to the latest version
13:21:11 <pascal`> you have to install it manually, so you should know if it's installed (=
13:21:39 <pascal`> what's your host/guest configuration (just out of interest)
13:21:45 <pascal`> ?
13:22:08 *** Nzeyi has quit IRC
13:22:08 <upul> ubuntu on vista
13:25:02 <r0bby> bwolfe: today is the deadline
13:25:04 <r0bby> for soc
13:25:05 <r0bby> it's over
13:25:09 <bwolfe> upul: to install vmware tools in ubuntu you have to run files in the cd that it mounts. Just clicking "install vmware tools" doesn't do it usually. You have to then navigate to the "cd drive" and choose the right .sh script
13:25:33 <bwolfe> r0bby: oh, you better hurry and finish that viewing/entering data piece! ;-)
13:25:47 <pascal`> well, you'll first have to copy the .tar.gz to a writable directory and extract it upul
13:26:19 <upul> yes I hav that vmwaretools installed
13:26:44 <pascal`> upul
13:26:55 <upul> pascal`
13:26:57 <pascal`> open a terminal and run: vmware-toolbox &
13:27:58 <pascal`> does the toolbox open?
13:28:07 <pascal`> also, have you rebooted since you installed vmware tools?
13:28:34 <pascal`> also, are you should it was able to find and/or compile all the necessary modules and sucessfully load them in?
13:28:41 <pascal`> *should=sure
13:29:00 <upul> I don't have that machine at the moment, now i'm usnig kubuntu on xp on an old vmware, it works perfectly
13:29:32 <upul> old kubuntu 8.10
13:30:19 <pascal`> i'm running kubuntu 9.04 in a vm and I'm not having any issues
13:31:04 <pascal`> but when you get access to the machine try re-installing vmware tools and watch the installation carefully to make sure it sucessfully compiles and loads in all the modules
13:31:22 <pascal`> you'll need to have gcc and some other libraries installed to be able to compile everything
13:32:24 <pascal`> actually I did have one issue regarding font size, but I solved it
13:32:43 <upul> I have to find something that works again and settle down with it
13:33:11 <pascal`> i'm running wine, in kubuntu on an osx host =D
13:36:14 <upul> mac is a kind of luxury computer in here expensive, used only by publishing companies and people who want to show off
13:36:58 <pascal`> hehe
13:37:26 <upul> is there a difference in price between pc and mac there?
13:37:54 <pascal`> upul, the more high end the machine you want, the less the price difference is
13:38:09 <pascal`> my backbook cost about the same as an HP with similar specs
13:38:17 <pascal`> maybe 5 - 10% more
13:38:37 <pascal`> the macbook touchpad kicks ass though, and the display
13:38:47 <pascal`> and OSX is actually an extremely capable OS
13:39:50 <pascal`> *baclbook=macbook
13:40:01 * pascal` : d'oh
13:42:05 <upul> i have only used a mac once in my old company in the first few weeks, the mac was free because nobody used it :-)
13:42:27 <pascal`> i think i'm hooked now
13:42:46 <pascal`> i still develop in ubuntu though
13:49:22 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9859]: facility data: show stopping js syntax error. <http://dev.openmrs.org/changeset/9859> || OpenMRS Changesets: Changeset [9858]: facility data: add data tables support for questionList. <http://dev.openmrs.org/changeset/9858> || OpenMRS Forum: Re: Report / Patient List (by Program or Location) <http://forum.openmrs.org/viewtopic.php?f=23&t=491#p1791>
13:49:31 <upul> I love the song one day in your life
13:50:19 <pascal`> upul, by who?
13:50:23 *** atomicturtle has joined #openmrs
13:50:35 <upul> michael jackson
13:50:44 <upul> very old one
13:50:53 <pascal`> i like billie jean
13:50:58 <pascal`> been listening to it lately
13:52:20 <upul> yes the first moon walk video it's great
13:53:28 <pascal`> oh, i didn't know that
13:53:38 <pascal`> of course he didn't invent the moonwalk, but yeah
13:53:51 <pascal`> he definately popularised it =P
13:54:42 <upul> there's video he did it the first time for that song, motown 25
13:56:08 <pascal`> yeah he might have done it first in a video
13:57:44 <pascal`> _Similar steps are reported as far back as 1932_
13:58:40 <pascal`> also _In Spongebob Squarepants, SpongeBob SquarePants preformed the moonwalk in the episode "I Heart Dancing"_
13:59:39 <pascal`> crap, anyone know a workaround for: http://dev.eclipse.org/mhonarc/lists/birt-dev/msg10334.html ?
13:59:43 <OpenMRSBot> <http://ln-s.net/3wXz> (at dev.eclipse.org)
14:05:22 *** nribeka has quit IRC
14:07:11 <pascal`> bwolfe, you should look into Aqua Data Studio... you can get Open Source / Non-profit licenses... and it's a /very/ cool app
14:07:17 *** nribeka has joined #openmrs
14:07:17 *** ChanServ sets mode: +v nribeka
14:07:31 <upul> openmrs has a license
14:07:47 <pascal`> really?
14:07:58 <bwolfe> pascal`: I don't like it
14:08:19 <bwolfe> pascal`: then again, for 75% of what I do, the command line mysql is my first choice. :-)
14:08:21 <pascal`> oic
14:08:54 <pascal`> what makes someone a "qualified OpenMRS developer"?
14:08:57 <bwolfe> pascal`: you should try version 2.3.0 to solve your birt problem. :-p
14:09:09 <bwolfe> pascal`: send me $100 and I'll make you qualified ;-)
14:09:09 <pascal`> yeah i know bwolfe, i'm doing that now
14:09:15 <pascal`> but i didn't want to have to get that
14:09:19 <pascal`> $100! hey
14:09:21 <upul> or rename firefox 3 to firefox 2
14:09:34 <pascal`> i though you were supposed to be supporting 3rd world countries, not ripping them off..
14:09:39 *** atomicturtle has left #openmrs
14:09:53 <pascal`> upul, how would I do that?
14:10:13 <upul> mv firefox firefox2
14:11:03 <upul> :-) just kidding. actually I had that issue sometime back with selenium, had to uninstall 3 and install 2
14:11:36 <pascal`> me
14:11:37 <pascal`> h
14:11:42 <pascal`> I'll just use the 2.5 designer
14:11:55 <pascal`> now, let's see if /this/ version truely /is/ stand alone...
14:13:17 <upul> hey we can have OpenMRS Certified Professional
14:13:47 <pascal`> 500 commits?
14:13:59 <pascal`> not modules though
14:14:58 <upul> commit a semicolon for each file
14:15:55 <pascal`> 5 megs of original source code contributed to the main repo
14:16:00 <pascal`> =D
14:16:27 <pascal`> 5 million characters typed
14:16:44 *** nribeka has quit IRC
14:17:05 <pascal`> oh cool, report designer 2.5 is based on galileo
14:17:32 <pascal`> now I have 2 instances of galileo running in my vm
14:20:52 *** jmiranda has joined #openmrs
14:20:52 *** ChanServ sets mode: +o jmiranda
14:21:24 <pascal`> hey jmiranda
14:22:05 <jmiranda> hey pascal`
14:22:28 <pascal`> i'm in possesion of a hard copy BIRT manual :)
14:32:07 *** bmckown has joined #openmrs
14:32:07 *** ChanServ sets mode: +o bmckown
14:51:33 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9863]: facility data: small markup mishap <http://dev.openmrs.org/changeset/9863> || OpenMRS Changesets: Changeset [9862]: facility data: when users go back to the report overview page; make it so … <http://dev.openmrs.org/changeset/9862> || OpenMRS Changesets: Changeset [9861]: After Working test class <http://dev.openmrs.org/changeset/9861> || OpenMRS Changesets: Changeset [9860]: facility data: all management list pages now use jquery data tavles. <http://dev.openmrs.org/changeset/9860>
14:58:10 *** nribeka has joined #openmrs
14:58:10 *** ChanServ sets mode: +v nribeka
15:02:44 *** jmiranda_ has joined #openmrs
15:04:11 <jmiranda_> pascal`, which manual?
15:04:44 <pascal`> BIRT A Field Guide to Reporting
15:05:03 <pascal`> it's not mine though, I think it belongs to Cheryl in Rwanda
15:05:05 <pascal`> not sure though
15:05:22 <pascal`> seems pretty comprehensive, 600+ pages
15:05:29 <pascal`> published 2006 though
15:07:38 *** jmiranda has quit IRC
15:23:39 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9865]: -- chica * add an explicit loadRule for DDST rule since it is referenced … <http://dev.openmrs.org/changeset/9865> || OpenMRS Changesets: Changeset [9864]: ncd: Removed logging to standard out. <http://dev.openmrs.org/changeset/9864> || Lu Zhuang Wei: Weekly Report for Project (2009-08-17) <http://lzwgsoc.blogspot.com/2009/08/weekly-report-for-project-2009-08-17.html> || Lu Zhuang Wei: Weekly Report for Project (2009-08-10) <http://lzwgsoc.blogspot.com/2009/08/weekly-report-for-project-2009-08-10.html>
15:29:51 *** pascal` has quit IRC
15:32:02 *** DrGNU has joined #openmrs
15:32:16 *** jmiranda_ is now known as jmiranda
15:32:28 *** ChanServ sets mode: +o jmiranda
15:33:26 <r0bby> http://pastie.org/private/7reji4glg8gg8qe2bcfhq
15:33:27 <r0bby> cute
15:33:36 <r0bby> when trying to load my module :D
15:42:25 <r0bby> http://pastie.org/585986
15:45:29 <r0bby> im trying to update to the latest trunk
15:45:41 <r0bby> and the update from System Developer to Administrator is failing
15:46:00 <r0bby> i dont know why :/
15:46:55 <r0bby> what question should i ask -- you're violating a FK constraint :/
15:47:07 <r0bby> wait hgold on
15:47:11 <bwolfe> that changeset should work because of the previous two changesets
15:48:48 <r0bby> it's not.. :/
15:50:27 <bwolfe> look at the previous two changesets
15:50:42 <bwolfe> did they get run on your db? and when? (the liquibasechangelog table should tell you this)
15:52:11 <r0bby> it was my fault
15:52:26 *** atomicturtle1 has joined #openmrs
15:52:26 <r0bby> I had a role inheriting from it
15:52:34 <r0bby> (that's a corner case that should be handled)
15:53:05 *** atomicturtle1 has left #openmrs
15:55:25 <r0bby> ok
15:55:31 <r0bby> my role is screwy
15:55:34 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1745 (defect reopened): Jasper Report Module Error - A user context must first be passed to setUserContext() <http://dev.openmrs.org/ticket/1745#comment:5> || OpenMRS Modules: DataIntegrity Module 1.0 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=dataintegrity&version=&1.0> || OpenMRS Modules: Request Account 1.0 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=requestaccount&version=&1.0>
15:55:58 <r0bby> how do I get it so i have admin privileges :/
15:59:36 *** DrGNU has left #openmrs
15:59:39 <r0bby> i broke the DB \o/
16:02:32 <Echidna> do your module pojos extend BaseOpenmrsData or smt?
16:02:37 <bwolfe> r0bby: why would a role inherit from Administrator? regardless, we should add a changeset that moves those over too...
16:02:57 <bwolfe> r0bby: do the three changeset manually
16:03:19 <Echidna> it seems like auto-populating the uuid and the auditing metadata never works for my module pojos
16:03:19 <bwolfe> and change role_role
16:03:19 <Echidna> always have to do it manually in the service
16:08:20 <upul> bwolfe: which modules have used RequiredDataAdvice?
16:11:05 <r0bby> bwolfe: i wiped my DB
16:11:23 * r0bby raises his hand
16:11:24 <bwolfe> upul: hmm, not sure
16:11:25 <r0bby> upul: i have
16:11:45 <r0bby> although I have a lot of cascading where i manually set data
16:11:49 <bwolfe> upul: there you go. facilitydata has apparently. :-p
16:12:03 <Echidna> bwolfe, upul: any idea why handlers dont work for module pojos? is it only for me or in general?
16:12:15 <r0bby> mine works just fine
16:12:23 <upul> Echidna: that's the answer i think
16:12:30 <bwolfe> Echidna: your objects extend OpenmrsObject ?
16:12:36 <Echidna> yes
16:12:39 <r0bby> http://dev.openmrs.org/openmrs-modules/facilitydata/metadata/moduleApplicationContext.xml
16:12:58 <bwolfe> Echidna: do you have any openmrs jars in your lib directory ?
16:13:03 <r0bby> er
16:13:07 <bwolfe> (they're supposed to be in the lib-common)
16:13:13 <Echidna> bwolfe: no
16:13:40 <Echidna> previously (several months ago) handlers jsut didnt work for my completely custom pojos
16:13:50 <bwolfe> Echidna: does your service use the RequiredDataAdvice ?
16:13:50 <Echidna> now they also dont work for my extension of Encounter
16:13:59 <Echidna> which i had to fix right after waking up
16:14:03 <Echidna> before coffee..
16:14:10 <Echidna> that wasnt pleasant
16:14:28 <Echidna> bwolfe: not that i know
16:14:30 <r0bby> http://svn.openmrs.org/openmrs-modules/facilitydata/metadata/moduleApplicationContext.xml
16:14:32 <OpenMRSBot> <http://ln-s.net/3wck> (at svn.openmrs.org)
16:14:33 <r0bby> ^^
16:15:27 <upul> where is serviceInterceptors defined
16:15:40 <r0bby> in openmrs
16:15:54 <bwolfe> its new as of RequiredDataAdvice
16:16:01 <bwolfe> its a list of all the common interceptors
16:16:15 <r0bby> that's how you do it :)
16:16:15 <bwolfe> right now that is logging, authentication, and requireddataadvice
16:16:27 <r0bby> It all works
16:16:44 <r0bby> I've been using annotation driven Spring MVC
16:16:53 <r0bby> and the forms taglib
16:17:06 <r0bby> been meaning to ask why it wasn't in core -- but darius beat me to it :-)
16:17:40 <upul> Echidna: use that serviceinterceptor
16:17:53 <r0bby> just copy it verbatim from my thing
16:17:57 <Echidna> which
16:18:28 <r0bby> <property name="preInterceptors">
16:18:28 <r0bby> <ref bean="serviceInterceptors"/>
16:18:28 <r0bby> </property>
16:18:33 <r0bby> ^
16:18:50 <Echidna> and thats it?
16:19:11 <upul> bwolfe does the rest
16:19:19 <r0bby> http://pastie.org/private/a44hsbfedvzpi2orfrtn4a
16:19:22 <OpenMRSBot> <http://ln-s.net/3wct> (at pastie.org)
16:19:24 <r0bby> tweak to your needs
16:20:33 <Echidna> i dont see anything tweakable
16:20:54 <upul> Echidna: you only need that preinterceptors part
16:21:09 <Echidna> ok thx
16:21:18 <r0bby> well
16:21:26 <r0bby> the spot where i specify my Service class and my dao
16:21:35 <r0bby> all of which do what you want :)
16:22:25 <r0bby> bwolfe: im gonna work on JPA annotations again
16:22:30 <r0bby> im done w/ my project
16:23:01 <Echidna> but my service actually does a call to super.save()
16:23:10 <Echidna> and the handlers still dont do anything
16:23:40 <bwolfe> r0bby: you're done and ready to deliver it to mike ?
16:23:47 <bwolfe> r0bby: has he signed off on it ? :-)
16:23:53 <r0bby> bwolfe: more or less
16:24:04 <r0bby> Im doing UI tweaks
16:24:19 <bwolfe> r0bby: can you get the latest up on your lab so others can see it? and can you update your wiki page to now be module documentation instead of project based? :-)
16:24:21 <r0bby> and fighting a small bug :)
16:24:33 <r0bby> hrm
16:24:39 <r0bby> im just gonna link the google doc i wrote
16:24:48 <r0bby> it took WAY too long to write that
16:25:13 <r0bby> bwolfe: it's not ready
16:25:29 <r0bby> It's got a lot of short-comings
16:25:38 <r0bby> soon as i solve the bug
16:25:46 <r0bby> lemme ssh to my lab and fix tomcat
16:25:48 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9867]: global-property-types branch: GSoC deadline commit (autocomplete on … <http://dev.openmrs.org/changeset/9867> || OpenMRS Changesets: Changeset [9866]: Changed wording of @should in javadoc <http://dev.openmrs.org/changeset/9866>
16:26:13 <bwolfe> r0bby: ok, linking to the google doc for now is fine I guess...but it really needs to be in the wiki properly. :-)
16:26:46 <r0bby> if somebody else wants to do it, they can have at it
16:26:52 <r0bby> but i'm not doing it
16:27:02 <r0bby> it's also on my blog
16:27:32 <Echidna> disobedience =o
16:27:45 <r0bby> he's not my mentor :)
16:27:57 <r0bby> I wans't even gonna do documentation
16:28:12 <r0bby> because we need to change a lot of it
16:28:22 <r0bby> Sections->Schema needs to be many to many
16:29:16 <r0bby> adding a section associated with a schema to another schema removes the schema from the old schema
16:29:38 <r0bby> the schema doesn't allow you to change order of sections
16:29:39 <bwolfe> r0bby: yes, documentation is best done at the end after changes have been done.
16:29:49 <bwolfe> r0bby: nobody will use it without documentation
16:29:54 <r0bby> I know
16:30:02 <r0bby> we need to change the schema stuff.
16:30:20 <r0bby> and our CalendarTag for the overview page is shit (my fault)
16:30:34 <r0bby> i wanted to get *SOMETHING* working
16:30:59 <Echidna> btw, they finally published my thesis last week or so
16:31:03 <Echidna> that i handed in last november
16:31:12 <r0bby> nice!
16:31:18 <Echidna> and i forgot to take out the bookmark toolbar out of one screenshot
16:31:29 <Echidna> and it sports all my bitttorrent bookmarks =(
16:31:32 <r0bby> so im holding out on documenting that portion
16:31:40 <Echidna> i hope it wont come back to haunt me years later
16:32:57 <r0bby> http://robbyoconnor.blogspot.com/2009/08/facility-data-module-user-guide.html
16:32:59 <OpenMRSBot> <http://ln-s.net/3wdC> (at robbyoconnor.blogspot.com)
16:33:00 <bwolfe> Echidna: haha, are they just links to the top level torrent sites? when you run for public office 10 years from now you can just claim you only downloaded legit torrents :-)
16:33:32 <r0bby> I wont do a screencast because there are things i ... uhm let's just say i'd be embarassed
16:33:41 <r0bby> uhm bwolfe
16:33:51 <bwolfe> r0bby: yeah, I saw that. Thats great, it just needs to be in the wiki for people to find it and use it. :-)
16:34:27 <r0bby> also
16:34:27 <bwolfe> and your arrows could use some work. There are nice arrow images in gimp and photoshop you can use :-p
16:34:36 <r0bby> I know
16:34:38 <r0bby> I didnt care
16:34:47 <r0bby> it gets the point across
16:34:49 <r0bby> all i needed
16:35:05 <Echidna> bwolfe: two of them are private trackers
16:35:13 <Echidna> one of them specialized in hd rips
16:35:29 <r0bby> also i dont seem to get the administrative roles :(
16:35:32 <r0bby> :(((
16:35:39 <r0bby> no0r the priviles :(
16:35:40 <r0bby> :|
16:36:27 <r0bby> i cleaned my db (this is a clean db)
16:36:31 <r0bby> the admin user
16:36:34 <r0bby> ect
16:36:43 <r0bby> wtf :|
16:37:23 <r0bby> also -- why is that exception occuring
16:37:30 <r0bby> it's occuring when i load my module :/
16:37:47 <r0bby> http://pastie.org/private/7reji4glg8gg8qe2bcfhq
16:37:52 <r0bby> that exception
16:39:36 <bwolfe> dunno
16:39:48 <bwolfe> what have you changed in your module's application context recently?
16:39:54 <bwolfe> what version of openmrs last worked?
16:39:56 *** test_ has joined #openmrs
16:40:09 *** test_ has quit IRC
16:41:26 <r0bby> no
16:41:29 <r0bby> i haven't touched it
16:43:19 <r0bby> http://img11.imageshack.us/img11/3860/huha.png
16:43:30 <r0bby> (on a clean DB)
16:45:32 <bwolfe> is there a question associated with that link r0bby? We're not mindreaders you know... (well, I'm not, I can't speak for the others) :-)
16:45:47 <r0bby> yes
16:45:51 <r0bby> WTF
16:46:04 <r0bby> this is the *ADMIN* user on a fresh DB
16:47:18 <upul> bwolfe: is there better way than Context.authenticate() to become admin to do tasks?
16:48:07 <bwolfe> upul: there are some hacks to get around it...
16:48:16 <bwolfe> upul: but that really is the recommended way.
16:48:30 <bwolfe> upul: are you talking about a task (or any new thread) in a module?
16:48:40 <r0bby> i think removing the System Developer had some fallout :(
16:48:44 <upul> bwolfe: so username password read from the runtime properties files
16:48:54 <r0bby> Version: 1.6.0 dev Build 9866
16:49:11 <bwolfe> r0bby: where'd you get the database ?
16:49:23 <upul> bwolfe: to call some methods in an onStartup() I need to be authenticated
16:49:27 <r0bby> liquibase
16:49:38 <r0bby> i wiped it and use liquibase to generate it
16:50:19 <bwolfe> upul: you could use Context.proxyPrivilege() and .removePrivilege() to allow the tasks to execute
16:50:40 <bwolfe> upul: but that leaves Context.getAuthetnicatedUser() null and might cause problems
16:50:52 <bwolfe> r0bby: you mean you using the startup wizard?
16:51:08 <r0bby> yup
16:52:43 <r0bby> which is why i dont get it
16:52:44 <bwolfe> r0bby: do you have any modules installed? Whats your role/role_role/user_role table look like ?
16:53:06 <r0bby> Provider and Data Assistant
16:53:12 <r0bby> role_role
16:54:55 <r0bby> http://pastie.org/586069
16:55:06 <r0bby> the rest
17:00:05 <bwolfe> r0bby: hmm, all looks right
17:00:13 <r0bby> so... wtf
17:00:21 <r0bby> is there a left over in the webapp?
17:00:23 <r0bby> maybe?
17:00:28 <bwolfe> doubtful?
17:00:41 <r0bby> i dunno
17:00:47 <bwolfe> you never actually stated your question earlier, am I reading your mind right in that its "why is the admin link not there" ?
17:00:59 <r0bby> Yeh
17:01:04 <r0bby> why is it not there!
17:01:16 <r0bby> why isn't that the "Super User"
17:01:18 <bwolfe> ok
17:01:20 <r0bby> as the name states
17:04:25 <r0bby> =/
17:06:23 <bwolfe> r0bby: is your build clean? any conflicts in your update that the super user check isn't being applied correctly?
17:06:38 <r0bby> hrm it was all clean
17:06:48 <r0bby> according to the wizard
17:14:00 <r0bby> what should i change to make this work :/
17:16:07 <r0bby> im gonna go to sleep -- im good enough to pass i think
17:16:20 *** nribeka has quit IRC
17:16:27 <r0bby> ill roll back my DB
17:17:31 <r0bby> adios
17:20:56 *** mkulumadzi has quit IRC
17:32:34 *** nribeka has joined #openmrs
17:32:35 *** ChanServ sets mode: +v nribeka
17:45:37 *** nribeka has quit IRC
17:46:04 <bwolfe> r0bby: I ran the startup wizard and everything worked for me
17:46:16 <bwolfe> r0bby: so I don't know what to tell you
17:55:28 *** nribeka has joined #openmrs
17:55:28 *** ChanServ sets mode: +v nribeka
18:04:01 *** upul has quit IRC
18:06:29 *** nribeka has quit IRC
18:08:58 *** nribeka has joined #openmrs
18:08:58 *** ChanServ sets mode: +v nribeka
18:16:19 <bwolfe> r0bby: ok, now I've tried using the startup wizard both with and without demo data on clean databases...and the the admin user works fine
18:17:21 *** Nzeyi has joined #openmrs
18:18:49 *** nribeka has quit IRC
18:34:09 *** nribeka has joined #openmrs
18:34:09 *** ChanServ sets mode: +v nribeka
18:37:35 *** pascal` has joined #openmrs
18:39:25 <pascal`> jmiranda, you around?
18:52:29 *** atomicturtle has joined #openmrs
18:53:45 *** atomicturtle has left #openmrs
18:56:57 *** Nzeyi has quit IRC
19:04:51 *** mkulumadzi has joined #openmrs
19:05:31 *** mkulumadzi has quit IRC
19:05:51 *** mkulumadzi has joined #openmrs
19:15:20 *** pascal` has quit IRC
19:36:13 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Inpatient Care Module <http://forum.openmrs.org/viewtopic.php?f=8&t=490#p1792>
19:57:10 *** mkulumadzi has quit IRC
20:08:16 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9869]: appliance: scripts to create openmrs appliance <http://dev.openmrs.org/changeset/9869> || OpenMRS Changesets: Changeset [9868]: appliance: creation of appliance folder <http://dev.openmrs.org/changeset/9868>
20:12:33 <Echidna> bwolfe: how do modules add rows to a db table nowadays?
20:12:38 <Echidna> what with the uuid
20:12:48 <Echidna> just call uuid() from sqldiff?
20:13:30 <bwolfe> Echidna: for now, yes, because sqldiffs are mysql specific usually
20:14:08 <Echidna> bwolfe: but that function creates a new uuid on each call
20:14:20 <Echidna> my openmrs db has the same uuid for all rows, it seems
20:15:28 <bwolfe> Echidna: after using that it does ?
20:16:01 <Echidna> bwolfe: after using what
20:16:19 <Echidna> my uuids all came from a db update when they were first introduced, i think
20:16:21 <bwolfe> Echidna: after using uuid()
20:16:35 <bwolfe> Echidna: interesting
20:16:37 <Echidna> well each uuid() call generates a new one
20:16:39 <bwolfe> Echidna: maybe there was a bug?
20:17:33 <Echidna> hmm
20:17:38 <Echidna> bwolfe: nm
20:17:43 <Echidna> they are just very similar
20:17:51 <Echidna> a few characters are always different
20:18:47 <Echidna> b9f1a23e-459a-11de-b659-f7b7af4a610c
20:18:48 <Echidna> b9f1a676-459a-11de-b659-f7b7af4a610c
20:19:00 <Echidna> 3 different
20:19:00 <bwolfe> heh
20:19:02 <bwolfe> ok
20:19:36 <bwolfe> so the uuid is being generated off of some static things (probably part of it is your IP, etc)
20:20:02 <Echidna> those were added by dunno what
20:20:06 <Echidna> openmrs itself?
20:20:23 <Echidna> UUID.thatMethod()
20:20:38 <bwolfe> dunno
20:20:42 <bwolfe> perhaps uuid()
20:21:00 <bwolfe> I think trunk always used uuid() (if the user's database is mysql)
20:21:15 <bwolfe> and it uses UUID.randomUUID().toString() in a java class otherwise
20:21:22 <Echidna> bwolfe: so i can just add calls to uuid() in my sqldiffs?
20:21:29 <bwolfe> eysw
20:21:30 <bwolfe> yes
20:21:33 <Echidna> ok
20:24:43 <Echidna> bwolfe: the downside of using uuid() is that "insert ignore" will always create duplicates now
20:25:16 <bwolfe> ok
20:25:34 <bwolfe> guess you can't use insert ignore then :-)
20:26:23 <Echidna> bwolfe: are there any risks in not having uuid values?
20:26:50 <Echidna> besides a hibernate exception when trying to save
20:27:45 <bwolfe> eventually sync exceptions
20:28:58 <Echidna> ic
20:29:14 <Echidna> the hibernate exception is rather cryptic
20:29:19 <Echidna> ConstraintSomething
20:29:20 <Echidna> forgot
20:29:56 <Echidna> as opposed to other missing values, such as dateCreated, which are named if there's an exception
20:36:30 <Echidna> bwolfe
20:36:32 <Echidna> http://forum.openmrs.org/viewtopic.php?f=8&t=490&p=1793#p1793
20:36:35 <OpenMRSBot> <http://ln-s.net/3wlg> (at forum.openmrs.org)
20:36:35 <Echidna> is this an sql error?
20:36:37 <Echidna> in the last post
20:38:10 <bwolfe> Echidna: "ERROR 1054 (42S22): Unknown column `Department` in `field list`" is a mysql error I think
20:38:45 <Echidna> yea well
20:38:50 <Echidna> i dont see how he could trigger it
20:38:53 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Inpatient Care Module <http://forum.openmrs.org/viewtopic.php?f=8&t=490#p1794> || OpenMRS Forum: Re: Inpatient Care Module <http://forum.openmrs.org/viewtopic.php?f=8&t=490#p1793>
20:38:56 <Echidna> those queries work
21:03:06 *** kane77 has quit IRC
21:10:24 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Inpatient Care Module <http://forum.openmrs.org/viewtopic.php?f=8&t=490#p1795>
21:20:04 *** nribeka has quit IRC
21:23:34 *** kane77 has joined #openmrs
21:28:56 *** kane77 has quit IRC
21:30:02 *** bwolfe has quit IRC
21:42:25 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9870]: amrsregistration: Alternately fade out birthdate and age fields in … <http://dev.openmrs.org/changeset/9870>
21:51:52 *** atomicturtle1 has joined #openmrs
22:06:33 *** atomicturtle1 has left #openmrs
22:21:07 *** jmiranda_ has joined #openmrs
22:23:03 *** jmiranda has quit IRC
22:25:08 *** bmckown has quit IRC
22:46:32 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9871]: amrsregistration: Added preferred name to Name(s) list in confirmation … <http://dev.openmrs.org/changeset/9871>
23:18:35 <OpenMRSBot> Recent updates in the world of openmrs: Joao Portela: GSOC Weekly Blog Entry (2009-08-17) <http://agnor.wordpress.com/2009/08/17/gsoc-weekly-blog-entry-2009-08-17/>
23:50:36 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9874]: reporting/trunk module: added update.rdf to config.xml <http://dev.openmrs.org/changeset/9874> || OpenMRS Changesets: Changeset [9873]: reporting/trunk module: added a modal dialog that can be shared by all … <http://dev.openmrs.org/changeset/9873> || OpenMRS Changesets: Changeset [9872]: htmlformentrydesigner: Version 1.0-beta. This uses the release version of … <http://dev.openmrs.org/changeset/9872>