IRC Chat : 2010-05-26 - OpenMRS

00:18:07 *** Mkop1 has quit IRC
00:29:55 *** Mkop has joined #openmrs
00:29:55 *** ChanServ sets mode: +v Mkop
00:37:07 *** Mkop has quit IRC
00:48:25 *** Mkop has joined #openmrs
00:48:25 *** ChanServ sets mode: +v Mkop
01:00:49 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2356 (task created): Openmrs.Util.loadProperties - Change in behavor from 1.4.x to 1.6.x <http://dev.openmrs.org/ticket/2356> || Glen McCallum: GSOC Project Iteration Plan <http://blog.glenmccallum.com/2010/05/25/gsoc-project-iteration-plan/>
01:32:50 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13482]: mdrtb-1.5.x: Remove java 1.6 dependency <http://dev.openmrs.org/changeset/13482> || OpenMRS Tickets: Ticket #2357 (defect created): Saving an existing encounter with a new Obs fails. <http://dev.openmrs.org/ticket/2357> || OpenMRS Tickets: Ticket #2356 (defect created): OpenmrsUtil.loadProperties - Change in behavor from 1.4.x to 1.6.x <http://dev.openmrs.org/ticket/2356>
02:19:24 *** Shazin has joined #openmrs
02:22:55 *** chopin has joined #openmrs
02:22:55 *** ChanServ sets mode: +v chopin
02:33:51 *** Mkop1 has joined #openmrs
02:33:51 *** ChanServ sets mode: +v Mkop1
02:36:07 *** Mkop has quit IRC
02:38:50 *** chopin has quit IRC
02:58:04 *** upul` has joined #openmrs
02:58:04 *** ChanServ sets mode: +v upul`
03:02:03 *** bwolfe has quit IRC
03:06:59 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13484]: mdrtb: removing debugging log messages <http://dev.openmrs.org/changeset/13484> || OpenMRS Changesets: Changeset [13483]: mdrtb: work-in-progress, adding new patient summary table; do not deploy, … <http://dev.openmrs.org/changeset/13483>
03:33:19 *** harsha has joined #openmrs
03:37:09 <upul`> hey jmiranda
03:37:20 <jmiranda> hey upul`
03:38:00 <upul`> jmiranda, are you planning to give some points to my mail?
03:38:14 <upul`> extensiblity
03:40:54 <jmiranda> upul`, i would like to
03:41:23 <jmiranda> but i haven't been working on openmrs lately and probably won't be in the next few months
03:42:15 <jmiranda> if i get some free time, i'll try to contribute, but i was hoping to give the new guys a shot :)
03:43:13 *** firzhan has joined #openmrs
03:43:57 <jmiranda> have you received anything yet?
03:44:06 <jmiranda> upul`, ^^
03:44:31 <upul`> jmiranda, only key developer responded was ben
03:45:18 <upul`> and i got some responses from non core and new-to-this people
03:45:25 <jmiranda> when i first read your email i was a little confused about what you were looking for and figured paul & burke would respond to the concept dictionary / EAV
03:45:38 <jmiranda> extensibility is a pretty large topic to cover
03:46:09 <jmiranda> so it might be helpful to ask more specific questions or narrow the research topic down a bit
03:46:24 <jmiranda> when i think of extensibility in openmrs, i think of the module framework
03:46:29 *** nribeka has quit IRC
03:47:12 * robbyoconnor throws his Quick Python book against the wall
03:47:48 <jmiranda> upul`, it might help if you create a google doc or wiki page
03:47:58 <robbyoconnor> UGH
03:48:10 <robbyoconnor> I wanna fucking run right now
03:48:13 <robbyoconnor> er
03:48:15 <robbyoconnor> sorry language
03:48:16 <robbyoconnor> :(
03:48:23 <jmiranda> and that way people could see where you're going and we could contribute to the topic as we see fit
03:49:29 <upul`> jmiranda, reason i sent directly to individuals is that otherwise ben will answer that and rest will ignore it
03:50:05 <jmiranda> upul`, i know the scheduler service was one of those things that we put a lot of thought into (with respect to extensibility) and then after designing the perfect scheduler, we decided to take burke's advice and build something crappy that we could throw away in due time
03:51:18 <jmiranda> upul`, oh, i thought that email was sent to the broader developer list
03:51:28 <jmiranda> now i see that you sent it to an undisclosed list
03:53:32 <jmiranda> upul`, i could spend some time discussing this with you over IRC or skype
03:54:33 <upul`> jmiranda, you can just jot up pointer that comes to your mind
03:55:08 *** fixl has joined #openmrs
03:55:11 <jmiranda> that's the problem :)
03:55:15 <jmiranda> nothing came to my mind
03:55:25 <jmiranda> that's why i didn't write back
03:55:55 <upul`> jmiranda, what i'm looking things like when designing the module system what were the issues you thought of what decisions you took to overcome them
03:56:00 <jmiranda> so if you're going to get anything from me, i'll need to either see some ideas fleshed out that i can contribute to
03:56:14 <jmiranda> or we can chat casually about the early days
03:56:37 <jmiranda> yeah, i think that was all ben
03:57:27 <jmiranda> my only contribution to the "module" discussion was "please research OSGi before building your own proprietary system"
03:57:54 <jmiranda> and then a few weeks later ben had built his proprietary module framework :)
03:58:26 <jmiranda> upul`, i'll try to think of some other examples
03:58:29 <upul`> jmiranda, can you give some pointers on schduler design, what were the reasons it was designed that way,
03:58:54 <jmiranda> sure
03:59:03 <upul`> jmiranda, thanks
03:59:10 <upul`> jmiranda, are you busy these days?
03:59:23 <jmiranda> http://openmrs.org/wiki/Technical_Discussion
04:00:13 <jmiranda> check out that wiki page
04:00:33 <jmiranda> a lot of the early discussions happened there
04:01:18 *** fixl has quit IRC
04:01:24 <upul`> thanks jmiranda
04:01:45 *** harsha has left #openmrs
04:01:51 *** Mkop1 has quit IRC
04:09:56 *** firzhan has quit IRC
04:24:46 *** openmrs_web662 has quit IRC
05:06:58 *** jmiranda has quit IRC
05:09:26 *** openmrs_web285 has joined #openmrs
05:09:34 *** openmrs_web285 is now known as Suneeth
05:40:18 *** Suneeth has quit IRC
06:01:44 <upul`> hey Shazin
06:01:54 <Shazin> hi Upul
06:02:23 <upul`> Shazin, did you get a mail from Ben about commits
06:03:00 <Shazin> upul`, You mean commit conventions?
06:03:26 *** openmrs_web145 has joined #openmrs
06:03:34 *** openmrs_web145 is now known as Suneeth
06:04:07 <Shazin> upul`, why am I doing anything wrong :S
06:04:23 <upul`> i'm looking up the mail
06:04:36 <upul`> Shazin, are you in the dev list
06:04:48 <Shazin> upul`, Yes
06:05:17 <upul`> it was about single file commits, if you didn't get it i'll forward it
06:05:46 <Shazin> upul`, no I didn't get anything like that
06:06:52 <upul`> sent to your yahoo account
06:06:56 <upul`> Shazin,
06:07:15 <Shazin> upul`, Ok I will check
06:08:44 <Shazin> upul`, Thanks alot
06:08:53 <Shazin> upul`, I must have missed that mail
06:09:38 <Shazin> upul`, the mail you forwarded was also in the spam box
06:10:06 <upul`> :-)
06:14:53 <Shazin> upul`, Thanks alot
06:15:56 *** ChanServ sets mode: +v Shazin
06:16:02 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13487]: moduleadmin branch: Adding upgradeModule function <http://dev.openmrs.org/changeset/13487> || OpenMRS Changesets: Changeset [13486]: moduleadmin branch: Upgrade related modifications <http://dev.openmrs.org/changeset/13486> || OpenMRS Changesets: Changeset [13485]: moduleadmin branch: Adding upgrade related messages <http://dev.openmrs.org/changeset/13485>
06:23:37 *** pascal` has joined #openmrs
06:25:03 *** downeym has joined #openmrs
06:25:03 *** ChanServ sets mode: +o downeym
06:29:12 *** pascal` has quit IRC
06:33:22 *** pbrandt has joined #openmrs
06:33:43 *** ChanServ sets mode: +v pbrandt
07:19:41 *** downeym has quit IRC
07:26:12 *** ruwan has joined #openmrs
07:26:26 *** ChanServ sets mode: +v ruwan
07:42:33 *** umashanthi has joined #openmrs
07:42:33 *** ChanServ sets mode: +v umashanthi
07:42:51 <umashanthi> hi all
07:43:10 <umashanthi> Do we get mails for our commits?
07:45:03 *** openmrs_web891 has joined #openmrs
07:45:23 <robbyoconnor> umashanthi: if you subscribe
07:46:08 <robbyoconnor> http://openmrs.org/wiki/Community
07:46:48 <umashanthi> robbyoconnor: to svn@openmrs.org?
07:47:33 <robbyoconnor> yup!
07:49:33 <umashanthi> robbyoconnor: thanks
07:55:37 <Shazin> robbyoconnor, Hi
08:08:38 <robbyoconnor> Shazin: hey!
08:08:50 <robbyoconnor> you don't wanna commit *TOO* often ;)
08:08:54 <robbyoconnor> I got a rep for that one!
08:08:56 <robbyoconnor> :)
08:08:57 <robbyoconnor> :D
08:09:04 <Shazin> robbyoconnor, is it?
08:09:10 <Shazin> robbyoconnor, :)
08:09:36 <robbyoconnor> Shazin: too often would be "fixed a typo", "fixed another type" "addad a variable"
08:09:37 <robbyoconnor> :)
08:09:45 <robbyoconnor> I didn't do it to that extreme but it was a lot.
08:09:58 <robbyoconnor> I have a lot of LOC in the system :)
08:11:08 <Shazin> robbyoconnor, Well I thought it would be more verbose if each file was committed seperately
08:11:14 <Shazin> robbyoconnor, seems not the case
08:11:22 <Shazin> robbyoconnor, won't happen again
08:11:37 <Shazin> robbyoconnor, it is going to be bulk commits from here on
08:12:01 <robbyoconnor> heh I dont mind :)
08:12:22 <robbyoconnor> it is verbose if you commit each file separately :)
08:12:37 <robbyoconnor> way I'm doing it: when I have something thet works, i commit :)
08:23:36 <Echidna> if you commit one file at a time, many of those revisions prolly wont even compile
08:26:25 *** wyclif has quit IRC
08:40:37 *** openmrs_web735 has joined #openmrs
08:40:42 *** openmrs_web735 is now known as saimanohar
08:59:16 *** robbyoconnor has quit IRC
09:03:23 *** robbyoconnor has joined #openmrs
09:03:23 *** ChanServ sets mode: +v robbyoconnor
09:15:01 <saimanohar> hi pa
09:15:10 <saimanohar> pbrandt:
09:15:22 <pbrandt> hey saimanohar
09:15:36 <saimanohar> I was trying to to add a tab in the patient dashboard
09:15:42 <saimanohar> through my module
09:15:53 <saimanohar> n have a clone button in there
09:16:07 <saimanohar> so that the patient data can be exported
09:16:23 <saimanohar> but some how i got lost into the patient dashboard
09:16:50 <saimanohar> i have created the button but when i click on it i am trying to see where would the control go
09:17:06 *** Shazin has quit IRC
09:17:13 <saimanohar> how should i link the service or the controller to that button
09:17:44 *** Shazin has joined #openmrs
09:17:48 <saimanohar> whom should i talkj to regarding the patient dashboard do you have any idea
09:17:51 <saimanohar> pbrandt:
09:18:02 <pbrandt> saimanohar, see private chat
09:20:13 *** downeym has joined #openmrs
09:20:13 *** ChanServ sets mode: +o downeym
09:24:50 <downeym> hi all
09:26:49 <pbrandt> hi downeym
09:27:06 <downeym> hey pbrandt :) do i know you? lol
09:28:28 *** pbrandt is now known as pascal`
09:50:27 *** downeym has quit IRC
09:56:27 *** kennymac has joined #openmrs
09:56:27 *** ChanServ sets mode: +v kennymac
09:56:41 <kennymac> hi all
09:57:54 <pascal`> hi kennymac
10:07:22 *** downeym|mobile has joined #openmrs
10:07:22 *** ChanServ sets mode: +o downeym|mobile
10:27:46 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13488]: Share project "opdModule" into … <http://dev.openmrs.org/changeset/13488>
10:35:16 *** downeym has joined #openmrs
10:35:16 *** ChanServ sets mode: +o downeym
10:36:31 <saimanohar> hi pascal`
10:36:35 <saimanohar> u there
10:37:12 <pascal`> yes saimanohar, see private chat
10:41:58 *** saimanohar has quit IRC
10:45:40 *** openmrs_web891 is now known as saimanohar
10:46:44 <saimanohar> hi pascal`
10:46:52 <pascal`> hi saimanohar
10:59:50 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13489]: Share project "opdModule" into … <http://dev.openmrs.org/changeset/13489>
11:00:46 *** saimanohar has quit IRC
11:12:20 *** ruwan has quit IRC
11:16:27 *** pascal` has quit IRC
11:17:44 *** james_regen has joined #openmrs
11:17:44 *** ChanServ sets mode: +v james_regen
11:19:01 *** wyclif has joined #openmrs
11:19:47 *** pascal` has joined #openmrs
11:20:18 *** pascal` has quit IRC
11:24:26 *** jkeiper has joined #openmrs
11:24:26 *** ChanServ sets mode: +v jkeiper
11:24:34 <downeym> hi wyclif / james_regen / jkeiper
11:24:59 <james_regen> hi downeym
11:26:27 *** pascal` has joined #openmrs
11:28:28 *** ChanServ sets mode: +v pascal`
11:32:43 *** upul` has quit IRC
11:33:31 *** pascal` has quit IRC
11:42:51 *** downeym|mobile has quit IRC
11:43:08 *** firzhan has joined #openmrs
11:43:10 *** jkeiper has quit IRC
11:43:19 <downeym> hi firzhan
11:43:34 <firzhan> hi
11:49:58 *** downeym has quit IRC
12:05:21 <kennymac> hi firzhan
12:05:39 <firzhan> kennymac: Hi
12:30:19 *** wyclif has quit IRC
12:33:13 *** jkeiper has joined #openmrs
12:33:13 *** ChanServ sets mode: +v jkeiper
12:33:17 *** umashanthi has quit IRC
12:35:00 *** jkeiper is now known as chopin
12:39:55 *** pascal` has joined #openmrs
12:40:41 *** ChanServ sets mode: +v pascal`
12:41:07 *** Suneeth has quit IRC
12:42:16 *** wyclif has joined #openmrs
12:49:38 *** jmiranda has joined #openmrs
12:49:38 *** ChanServ sets mode: +o jmiranda
12:54:26 *** mkulumadzi has joined #openmrs
12:54:52 *** ChanServ sets mode: +v mkulumadzi
12:57:36 *** fixl has joined #openmrs
12:57:54 *** wluyima has joined #openmrs
13:00:05 *** wyclif has quit IRC
13:01:34 *** chopin has quit IRC
13:02:26 *** chopin has joined #openmrs
13:02:26 *** ChanServ sets mode: +v chopin
13:05:26 *** pascal` has quit IRC
13:10:45 *** astelmashenko has joined #openmrs
13:10:54 <astelmashenko> hi all
13:11:13 *** muthah has joined #openmrs
13:17:29 *** nribeka has joined #openmrs
13:17:29 *** ChanServ sets mode: +v nribeka
13:18:09 *** bwolfe has joined #openmrs
13:18:09 *** ChanServ sets mode: +o bwolfe
13:20:44 *** ChanServ sets mode: +v Shazin
13:20:50 <Shazin> bwolfe, Hi
13:20:58 <bwolfe> hi Shazin
13:21:13 <Shazin> bwolfe, Thanks for the mail about single file commit
13:21:37 <Shazin> bwolfe, otherwise I would have continued doing that
13:21:59 <Shazin> bwolfe, I have some questions
13:22:56 <bwolfe> Shazin: thanks for listening. :-) some people read my emails about committing and ignore them *cough* robbyoconnor *cough* ;-)
13:23:09 <bwolfe> Shazin: ok
13:23:20 <Shazin> bwolfe, about the API related to Module Administration
13:23:51 *** Hazamonzo has joined #openmrs
13:24:37 <Shazin> bwolfe, Is that API suppose to work Concurretly?
13:25:20 <bwolfe> concurrently to what Shazin ?
13:25:21 <Shazin> bwolfe, I mean I see alot of static variables and Methods in ModuleFactory, ModuleUtil etc
13:25:47 <bwolfe> Shazin: are you asking if its threadsafe?
13:25:50 <Shazin> bwolfe, Can 2 users (Admin users) Concurrently upload 2 different modules
13:26:03 <Shazin> bwolfe, Yes
13:27:10 <bwolfe> I don't know that I've tested it.
13:28:01 <Shazin> bwolfe, Ok
13:29:20 <Shazin> bwolfe, Ok my other question is in a deployed site of openmrs will there be more than 1 Admin?
13:29:51 <bwolfe> Shazin: yes, there could be. but module uploading/installing is usually only done by one person. and it should be done infrequently
13:30:22 <Shazin> bwolfe, So concurrent usage is highly unlikely right?
13:30:51 <bwolfe> right
13:31:02 <Shazin> bwolfe, ok
13:33:28 <Shazin> bwolfe, and one more thing
13:34:01 <Shazin> bwolfe, Currently are there any wiki pages that are related to Module Administration which I need to modify?
13:34:26 <bwolfe> Shazin: probably
13:34:38 <bwolfe> Shazin: use the wiki search for module administration :-)
13:36:00 <Shazin> bwolfe, I did it showed only my Project
13:36:02 *** pascal` has joined #openmrs
13:36:26 <bwolfe> then just look at pages linked to the from Modules wiki page
13:36:28 <bwolfe> !modules
13:36:28 <OpenMRSBot> bwolfe: "modules" --- http://openmrs.org/wiki/Modules
13:37:52 <Shazin> bwolfe, Thanks
13:38:06 <Shazin> bwolfe, sorry for the bother if I was
13:39:07 <bwolfe> Shazin: no worries
13:39:11 <bwolfe> questions are always welcome
13:39:19 <bwolfe> until you get to the 10th question. that one is unwelcome
13:39:20 <bwolfe> ;-)
13:39:42 <Shazin> bwolfe, :)
13:41:51 *** ChanServ sets mode: +v pascal`
13:42:51 *** upul` has joined #openmrs
13:42:51 *** ChanServ sets mode: +v upul`
13:44:17 *** pascal` has quit IRC
13:46:43 *** jmiranda has quit IRC
13:54:41 *** pascal` has joined #openmrs
13:54:44 *** pascal` has quit IRC
13:57:31 *** sgrannis has joined #openmrs
13:57:31 *** ChanServ sets mode: +v sgrannis
13:59:39 *** umashanthi has joined #openmrs
13:59:39 *** ChanServ sets mode: +v umashanthi
14:08:06 *** upul`` has joined #openmrs
14:08:06 *** ChanServ sets mode: +v upul``
14:08:50 *** mkulumadzi has quit IRC
14:12:06 *** upul` has quit IRC
14:14:50 *** MalteF has joined #openmrs
14:14:50 *** ChanServ sets mode: +v MalteF
14:18:02 *** muthah has quit IRC
14:19:10 *** muthah has joined #openmrs
14:22:49 *** upul`` is now known as upul`
14:23:17 *** mkulumadzi has joined #openmrs
14:26:09 *** chopin has quit IRC
14:26:10 *** jmiranda has joined #openmrs
14:26:10 *** ChanServ sets mode: +o jmiranda
14:38:26 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13490]: Fixed # 311 - Editing a mapped Indicator doesn't delete the pevious … <http://dev.openmrs.org/changeset/13490>
14:41:26 *** chopin has joined #openmrs
14:41:26 *** ChanServ sets mode: +v chopin
14:50:43 *** firzhan has quit IRC
14:55:39 *** fixl has quit IRC
14:55:42 <nribeka> hi all
14:55:52 <nribeka> i have a question
14:56:32 <nribeka> if we want to process uploaded file, would it be better to read the stream right away or create a temp file and then process the temp file?
14:56:39 <nribeka> which approach is better?
14:56:53 *** wluyima has quit IRC
14:56:53 <nribeka> bwolfe, chopin or anyone else?
14:57:54 *** wluyima has joined #openmrs
14:59:48 *** downeym|mobile has joined #openmrs
14:59:48 *** ChanServ sets mode: +o downeym|mobile
15:02:50 <upul`> nribeka, do you get a direct stream?
15:03:24 <upul`> i thought html upload always saves a temp file
15:03:31 <downeym|mobile> hi all
15:04:07 <upul`> hi downeym|mobile
15:04:29 <bwolfe> downeym|mobile: burke needs the sms's on pingdom turned off
15:07:08 *** AndChat| has joined #openmrs
15:07:08 *** ChanServ sets mode: +o AndChat|
15:07:33 <AndChat|> bwolfe he shouldn't be getting any
15:07:53 <AndChat|> without a registered number
15:07:55 *** downeym|mobile has quit IRC
15:08:26 *** AndChat| is now known as downeym
15:09:13 <bwolfe> downeym: but he is. he is now over his quota due to openmrs.org smss
15:09:46 <nribeka> upul`, yes, i can get the direct stream
15:10:16 <upul`> nribeka, how, what do you use?
15:10:56 <downeym> bwolfe interesting. his quota must be like 15 :-)
15:11:14 <downeym> bwolfe are you getting any?
15:11:17 <nribeka> inside the controller, you can always get the direct stream upul`
15:11:24 <bwolfe> downeym: no. not even emails
15:11:28 *** downeym is now known as downeym|mobile
15:11:40 <bwolfe> downeym: he says he's getting 7 per downage...which is multiple times a day
15:11:58 <downeym|mobile> ...
15:12:03 <nribeka> @RequestParam(required = true, value = "someFile") MultipartFile someFile
15:12:58 <downeym|mobile> bwolfe i wonder if its actually from jira
15:13:34 <downeym|mobile> bwolfe when i get to a computer i'll do some research
15:16:37 <upul`> nribeka, i think html upload always save the file to temp before it's given to you
15:17:28 <upul`> The file contents are either stored in memory or temporarily on disk. In either case, the user is responsible for copying file contents to a session-level or persistent store as and if desired. The temporary storages will be cleared at the end of request processing.
15:18:43 <nribeka> hmm thanks upul`. so i guess processing the multipart file is better then. since it means one less write process as long as we can keep the session long enough
15:20:29 *** downeym|mobile has quit IRC
15:40:32 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13491]: mdrtb: bug fix to configuratin of dashboard tabs <http://dev.openmrs.org/changeset/13491>
15:42:11 *** mkulumadzi has quit IRC
15:51:57 *** umashanthi has left #openmrs
15:59:31 <upul`> German makers of knapsacks refer to them as "Body Bags". http://www.i18nguy.com/translations.html
16:01:25 *** firzhan has joined #openmrs
16:01:36 *** muthah has quit IRC
16:06:31 *** chopin has quit IRC
16:09:07 *** umashanthi has joined #openmrs
16:09:07 *** ChanServ sets mode: +v umashanthi
16:09:41 *** upul` has quit IRC
16:47:36 *** Mkop has joined #openmrs
16:47:36 *** ChanServ sets mode: +v Mkop
16:48:16 *** sgrannis has left #openmrs
16:50:38 *** umashanthi has left #openmrs
17:01:15 *** wluyima1 has joined #openmrs
17:04:44 *** wluyima has quit IRC
17:07:06 *** harsha has joined #openmrs
17:15:48 *** jmiranda has quit IRC
17:15:55 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13492]: logic-cache branch: adding "extends Serializable" to some … <http://dev.openmrs.org/changeset/13492>
17:19:56 *** pascal` has joined #openmrs
17:33:51 *** ChanServ sets mode: +v pascal`
17:37:33 <pascal`> Know what might be causing this: org.hibernate.HibernateException: A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance?
17:41:36 <bwolfe> it means someone did person.setPersonAddresses(null); person.addAddress(new PersonAddress());
17:41:53 <bwolfe> should use person.getPersonAddresses().clear(); instead of setting it to null
17:43:24 <bwolfe> or overwriting the current list using person.setAddresses(new Vector<PersonAddress>(someaddresses));
17:46:44 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13494]: remotedatatransfer: adding work with SpringMVC to create webform to test … <http://dev.openmrs.org/changeset/13494> || OpenMRS Changesets: Changeset [13493]: logic-cache branch: adding testing disk cache <http://dev.openmrs.org/changeset/13493>
17:47:46 <pascal`> bwolfe, I think it's happening when I'm converting a Cohort to a List<Patient>
17:48:36 <bwolfe> how are you doing it?
17:49:55 <pascal`> for (Integer pId : cohort.getMemberIds()) {pList.add(ps.getPatient(pId)}
17:50:18 <pascal`> (try/catch omitted)
17:51:45 <pascal`> bwolfe ^
17:52:44 <bwolfe> pascal`: odd. not sure why that would do it
17:53:18 <bwolfe> pascal`: do you have debugging set up? Can you just put a breakpoint on setPersonAddresses() and check the stacktrace to see when its called (other than by hibernate)
17:53:25 <pascal`> bwolfe, seems to only happen with a specific cohort too..
17:53:59 <pascal`> bwolfe, yeah I could try that I guess... let's see...
17:57:46 <pascal`> bwolfe, are you sure that's the method name?
17:58:29 <pascal`> bwolfe, Person.setAddresses()?
17:58:59 <bwolfe> Person.setPersonAddresses() I think
17:59:10 * bwolfe goes ot look
17:59:37 <bwolfe> hmm, yes, it is Person.setAddresses
18:01:19 <pascal`> bwolfe, how do you filter out calls by hibernate?
18:02:38 <bwolfe> not sure you can. just hit f8 and it will continue on again
18:03:24 <pascal`> bwolfe, I'm running a report, with a relatively large cohort it's got to build up... hmmm...
18:03:35 <bwolfe> pascal`: oh, that sucks
18:03:58 *** jmiranda has joined #openmrs
18:03:59 *** ChanServ sets mode: +o jmiranda
18:03:59 <pascal`> bwolfe, it's fine, i'm disabling the breakpoint until the cohort is built up
18:04:00 <bwolfe> then maybe you should put a log.error() into setAddresses and print the person_id
18:04:18 <pascal`> bwolfe, I'm got another breakpoint after that... then I'll reenable the first breakpoint and continue
18:04:20 <bwolfe> then you could create a cohort with just htat person in it
18:04:36 <bwolfe> pascal`: that is also a good solution :-)
18:11:32 <kennymac> bwolfe, what debugging are you refering to there? just thinking it would speed me up a bit if I could debug from within eclipse
18:11:58 <nribeka> eclipse debugging kennymac
18:12:44 <bwolfe> http://openmrs.org/wiki/Developer_How-To_Use_Eclipse_Guide
18:12:45 <OpenMRSBot> <http://ln-s.net/5A2a> (at openmrs.org)
18:12:57 <bwolfe> kennymac: set a breakpoitn in the code and the webapp stops at the point
18:13:11 <bwolfe> kennymac: using unit tests to debug is also faster
18:13:23 <bwolfe> kennymac: you just have the pain of getting unit tests working the first time :-p
18:14:02 <kennymac> i didn't realise you could debugg webapps from within eclipse
18:14:20 <kennymac> that link has it all it seems, cheers :)
18:18:36 <pascal`> bwolfe, it's just being called as I'm converting the cohort to a patient list
18:18:42 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13497]: branch for holding patient summary updates while it's a wip... this branch … <http://dev.openmrs.org/changeset/13497> || OpenMRS Changesets: Changeset [13496]: metadata-localization branch: Modify the serialization format for … <http://dev.openmrs.org/changeset/13496> || OpenMRS Changesets: Changeset [13495]: mdrtb: removed references to new summary tab <http://dev.openmrs.org/changeset/13495>
18:18:57 <pascal`> bwolfe, but I'm getting a bunch of other patient/user exception as I go along... and then at the end I get /that/ exception
18:19:37 <bwolfe> "define patient/user exceptions"
18:19:41 <pascal`> bwolfe, I think it's related... but I can't be sure
18:20:39 <pascal`> bwolfe, http://pastie.org/978503
18:21:10 *** tinashe has joined #openmrs
18:22:27 *** tinashe has quit IRC
18:23:02 <bwolfe> pascal`: yep, thats def a user/patient issue :-) are you running 1.4 or 1.5?
18:24:02 <pascal`> bwolfe, 1.5
18:24:45 *** chopin has joined #openmrs
18:24:45 *** ChanServ sets mode: +v chopin
18:25:07 <bwolfe> pascal`: theres a page in admin-->maintenance that tells you which patients are users (and maybe how to fix it)
18:25:31 <pascal`> bwolfe, just checking it out, thanks
18:25:46 <pascal`> bwolfe, all it says is "This may cause problems." (=
18:28:06 <bwolfe> and apparently it does
18:28:31 * pascal` tries to delete a user but... Could not execute JDBC batch update; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
18:29:28 <bwolfe> the user probably created some data
18:32:46 <pascal`> bwolfe, will it resolve the problem if I just void the User, do you think?
18:33:05 <bwolfe> pascal`: doubtful
18:33:26 <bwolfe> pascal`: its a problem at the hibernate layer. it sees that user_id == patient_id and so gets the user (for some reason)
18:33:40 * pascal` sobs
18:34:45 <bwolfe> I think darius wrote something to the dev list about it
18:34:51 <bwolfe> no idea what to search on...
18:36:06 <pascal`> It doesn't really help using work arounds that can't be applied in production anyway
18:37:17 *** Mkop1 has joined #openmrs
18:37:17 *** ChanServ sets mode: +v Mkop1
18:40:10 *** Shazin has quit IRC
18:40:24 *** Mkop has quit IRC
18:48:53 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2358 (task created): Only record modified properties with sync <http://dev.openmrs.org/ticket/2358> || OpenMRS Changesets: Changeset [13498]: mdrtb: removed all patient summary elements (they have been moved to … <http://dev.openmrs.org/changeset/13498>
18:54:36 *** kennymac has quit IRC
18:55:45 *** pascal` has quit IRC
18:55:48 *** harsha has quit IRC
19:07:21 *** Hazamonzo has quit IRC
19:09:58 *** firzhan has quit IRC
19:22:36 <robbyoconnor> bwolfe: now now
19:22:45 <robbyoconnor> we dont want him turning into robbyoconnor 2.0 :)
19:35:52 *** kennymac has joined #openmrs
19:35:52 *** ChanServ sets mode: +v kennymac
19:52:58 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13499]: Fixing script on database update page (removed undefined/unused variable) <http://dev.openmrs.org/changeset/13499>
20:01:46 *** Mkop1 has quit IRC
20:11:57 *** james_regen has quit IRC
20:19:54 *** astelmashenko has quit IRC
20:23:09 *** Mkop has joined #openmrs
20:23:09 *** ChanServ sets mode: +v Mkop
20:23:15 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1816 (task closed): Link to 'Observation Management' from 'Most Recent Observation' section on patient dashboard <http://dev.openmrs.org/ticket/1816#comment:7> || OpenMRS Changesets: Changeset [13503]: #1816 Link to 'Observation Management' from 'Most Recent Observation' … <http://dev.openmrs.org/changeset/13503> || OpenMRS Changesets: Changeset [13502]: Minor fix to messages.properties file to not have a reserved js character <http://dev.openmrs.org/changeset/13502> || OpenMRS Changesets: Changeset [13501]: Followup fix to AOP services being duplicated - #2174 <http://dev.openmrs.org/changeset/13501> || OpenMRS Tickets: Ticket #2165 (defect closed): Editing the name of a PersonAttributeType does not change related global properties <http://dev.openmrs.org/ticket/2165#comment:12> || OpenMRS Tickets: Ticket #227 (task closed): Add role.role_id and privilege.privilege_id as autonumber primary keys <http://dev.openmrs.org/ticket/227#comment:33> || OpenMRS Changesets: Changeset [13500]: #227 Add role.role_id and privilege.privilege_id as autonumber primary … <http://dev.openmrs.org/changeset/13500>
20:31:59 *** nribeka has quit IRC
20:34:56 *** astelmashenko has joined #openmrs
20:34:59 <kennymac> bwolfe, i am having problems getting started with debugging modules, once things are configured as described on that page you linked how do you actually start debugging?
20:36:55 *** chopin has quit IRC
20:37:58 <bwolfe> click the "debug" button
20:38:04 <bwolfe> and put a breakpoint somewhere
20:38:17 <bwolfe> then force the code you have that bp on to execute
20:40:02 <kennymac> bwolfe, so eclipse will deploy your changes into tomcat for you automatically? You don't need to reinstall the module?
20:40:46 <bwolfe> kennymac: for small things, yes
20:41:17 <bwolfe> kennymac: you can change a method and eclipse will force that section to reexecute. you'll see the "current location" change when you save a file while debugging
20:43:17 <kennymac> bwolfe, i must have configured tomcat incorrectly because i just get an error message when I hit debug... will keep working on it
20:44:20 <bwolfe> are you debugging already maybe?
20:44:24 <bwolfe> check the debug perspective
20:45:25 <kennymac> nope, the error is "Failed to connect to remote VM. Connection refused.
20:45:25 <kennymac> Connection refused: connect
20:45:25 <kennymac> "
20:45:44 <bwolfe> could be its already connected
20:45:54 <bwolfe> or that tomcat isn't using the right debug port as what you defined in eclipse
20:48:28 <kennymac> it could be that it isn't using the right port because it didn't accept the startup parameters, think they are different from the ones on the site for this version of tomcat
20:54:27 <bwolfe> tomcat or eclipse's default is 8000 I think. I always use 5000...
20:54:31 <bwolfe> (not sure why)
20:54:33 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13504]: reverting 227 (trunk commit 13500) <http://dev.openmrs.org/changeset/13504>
20:54:42 <bwolfe> (@ kennymac)
20:59:22 <kennymac> 5000 is what i am going with on both ends
21:07:15 *** Mkop has quit IRC
21:08:07 *** Mkop has joined #openmrs
21:08:07 *** ChanServ sets mode: +v Mkop
21:25:06 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13506]: pearlgrlz - Add document describing the current functionality and future … <http://dev.openmrs.org/changeset/13506> || OpenMRS Changesets: Changeset [13505]: mdrtb-1.5.x: Add ability to query the MdrtbActivator as to whether it has … <http://dev.openmrs.org/changeset/13505>
21:35:56 *** kennymac has quit IRC
21:57:11 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13507]: branching off for Google Summer of Code 2010 project work <http://dev.openmrs.org/changeset/13507>
22:02:15 *** bwolfe has quit IRC
22:12:01 *** MalteF has quit IRC
22:29:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13509]: Followup fix for Removing ConceptSet Manipulation from API - #1921 <http://dev.openmrs.org/changeset/13509> || OpenMRS Tickets: Ticket #1921 (enhancement closed): Remove Need for ConceptSet Manipulation from API <http://dev.openmrs.org/ticket/1921#comment:27> || OpenMRS Changesets: Changeset [13508]: Remove Need for ConceptSet Manipulation from API - #1921 Author: zabilcm <http://dev.openmrs.org/changeset/13508>
22:29:37 *** kennymac has joined #openmrs
22:29:37 *** ChanServ sets mode: +v kennymac
22:53:28 *** Mkop has quit IRC
23:01:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13510]: pearlgrlz - Update several MLM rules and files. <http://dev.openmrs.org/changeset/13510> || OpenMRS Tickets: Ticket #67 (task reopened): Switch all boolean concepts/observations to coded TRUE/FALSE. <http://dev.openmrs.org/ticket/67#comment:41>
23:22:17 *** astelmashenko has quit IRC
23:33:15 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13512]: logic-cache branch: playing wuth diskstore config <http://dev.openmrs.org/changeset/13512> || OpenMRS Changesets: Changeset [13511]: mdrtb: patient summary, work in progress <http://dev.openmrs.org/changeset/13511>
23:55:00 *** wluyima1 has quit IRC