IRC Chat : 2012-07-08 - OpenMRS

00:57:15 <djazayeri> bwolfe, wyclif: does one of you recall a recent bug where some data failed validation, and was showing an error message in the UI, but was being saved anyway?
00:58:03 <bwolfe> I vaguely remember it
00:58:23 <djazayeri> bwolfe: remember what domain object it was for? or what version?
00:59:15 <bwolfe> negative
00:59:19 <wyclif> djazayeri, i recall something else
01:00:07 <wyclif> djazayeri, what i recall was validation fails but some fields get saved to the database
01:00:46 <wyclif> djazayeri, this would happen when editing patients
01:01:07 <wyclif> djazayeri, from the both the long and short form
01:01:09 <djazayeri> wyclif: I just ran into the situation where editing an encounter's datetime (setting it before the encounter's visit's start dateime) failed validation and gave an error in the UI, but the new invalid encounterDatetime was written to the db anyway
01:01:35 <wyclif> djazayeri, i think that seems like more like too
01:01:50 <djazayeri> wyclif: any idea how I can find the ticket you're recalling?
01:02:02 <djazayeri> wyclif: possible search terms, fix version, file modified in the commit?
01:02:07 <wyclif> djazayeri, i think so
01:02:27 <wyclif> djazayeri, it is the ticket for validating when auto commit is turned off
01:03:38 <wyclif> djazayeri, i created TRUNK-3002 but i think work was done in another ticket too
01:04:39 <wyclif> djazayeri, see TRUNK-2393 too
01:04:53 <djazayeri> wyclif: I recall something reported by Ada in the last couple months too
01:05:49 <djazayeri> wyclif: i.e. there was a case where the new validation we added wasn't working right
01:06:00 <djazayeri> maybe I'll email ada and ask if she remembers
01:09:25 <wyclif> djazayeri, may be
01:13:20 <djazayeri> oh, I think I'm misremembering Ada's ticket
01:13:34 <djazayeri> I think I was thinking of TRUNK-3051, which isn't the same. Oh well.
03:14:28 *** bwolfe has quit IRC
03:52:15 *** goutham has joined #openmrs
03:55:33 *** goutham_ has joined #openmrs
03:58:45 *** goutham has quit IRC
04:06:19 * goutham_ goutham
04:06:28 *** goutham_ is now known as goutham
05:03:32 *** maurya has joined #openmrs
05:22:47 *** applecool has joined #openmrs
05:22:47 *** ChanServ sets mode: +v applecool
05:49:35 *** goutham has quit IRC
06:36:32 *** applecool has quit IRC
06:38:46 *** maurya has quit IRC
06:40:45 *** dkayiwa has joined #openmrs
06:42:47 *** applecool has joined #openmrs
06:42:47 *** ChanServ sets mode: +v applecool
06:53:37 *** suranga has joined #openmrs
06:53:37 *** ChanServ sets mode: +v suranga
07:32:25 *** lakkarau has joined #openmrs
07:38:13 *** applecoo_ has joined #openmrs
07:38:55 *** applecool has quit IRC
07:46:38 <applecoo_> quit
07:46:46 <applecoo_> oops
07:46:51 *** applecoo_ has quit IRC
07:54:41 *** lakkarau has quit IRC
07:57:06 *** suranga has quit IRC
09:25:02 *** snoppy has joined #openmrs
09:41:00 *** maurya has joined #openmrs
10:23:10 *** dkayiwa has quit IRC
11:01:30 *** rafa has joined #openmrs
11:01:30 *** ChanServ sets mode: +v rafa
11:10:22 *** rosesale has joined #openmrs
11:24:10 *** mvorobey has joined #openmrs
11:24:15 <mvorobey> hi all
11:29:38 *** rafa has quit IRC
11:49:05 *** dkayiwa has joined #openmrs
12:15:30 <rosesale> dkayiwa: hello daniel. :)
12:22:40 <dkayiwa> hey rosesale
12:22:49 <dkayiwa> :)
12:25:21 <rosesale> dkayiwa: I have not tried it yet (using xform for encounter forms). should I try it first? Im stuck with html form entry :(
12:41:58 *** mvorobey has quit IRC
12:51:11 <dkayiwa> hi rosesale
12:51:22 <dkayiwa> rosesale: sorry was attending to some visitors here
12:51:57 <rosesale> dkayiwa: no prob. I started following the https://wiki.openmrs.org/display/docs/XForms+Module+User+Guide
12:51:58 <OpenMRSBot> <http://ln-s.net/8afL> (at wiki.openmrs.org)
12:52:47 <dkayiwa> rosesale: ok. and how it it going?
12:58:47 <rosesale> dkayiwa: I'm confused. After duplicating the basic form, what's next? I opened the duplicate form then clicked the link above <xform design> and it downloaded an xml file. I though I have to upload it on the designer, but there's no way for that. So, what instruction did I miss? :)
12:59:22 <dkayiwa> rosesale: which version of java do you have installed on your computer?
13:01:17 <rosesale> dkayiwa: 1.6.0_31
13:01:54 <dkayiwa> rosesale: can you send me the screenshot of the page where you found the design xform link which you clicked?
13:04:05 <rosesale> dkayiwa: sent
13:04:29 <dkayiwa> rosesale: and which version of tomcat?
13:05:06 <dkayiwa> rosesale: can you also send me the screenshot of the page you get after clicking the design xform link?
13:06:01 <rosesale> dkayiwa: there's no page. It downloaded a file. An xml file. (should I enable something on my browser?)
13:06:43 <dkayiwa> rosesale: do you think you can upgrade to the latest version of java?
13:07:43 <rosesale> dkayiwa: to 1.7? tried that already. I failed upgrading my java. I am using a mac machine.
13:08:06 <dkayiwa> rosesale: and which version of the xforms module?
13:09:04 <rosesale> dkayiwa: 4.0.9.5
13:09:19 <dkayiwa> rosesale: and which version of openmrs?
13:09:41 <rosesale> dkayiwa: 1.9
13:10:36 <dkayiwa> rosesale: have you ever tried click that design xform link before? or was today your first time?
13:11:16 <rosesale> dkayiwa: first time today
13:12:35 <dkayiwa> rosesale: can you restart you computer and then try again?
13:14:38 <rosesale> dkayiwa: Ok. Will restart my computer.
13:14:43 <dkayiwa> ok
13:18:45 *** rosesale has quit IRC
13:21:14 *** rosesale has joined #openmrs
13:23:12 <rosesale> dkayiwa: done restarting my computer. tried the link again. It still downloads an xml file.
13:23:37 <dkayiwa> rosesale: oh thats strange? which version of mac os are you using?
13:24:32 <rosesale> dkayiwa: mac os x 10.6.8
13:24:56 <dkayiwa> ok
13:25:31 <dkayiwa> rosesale: can you try http://demo.openmrs.org and tell me if you experience the same?
13:26:24 <rosesale> dkayiwa: I just realized. I was exploring the one on our linode. not the one in my laptop. The OS in the linode is Ubuntu 11.10, I think the java installed is already 1.7
13:27:48 <dkayiwa> rosesale: now that makes lots of sense :)
13:28:11 <dkayiwa> rosesale: so that is a known problem and the solution is simply upgrade its java to the latest version
13:28:30 <dkayiwa> rosesale: the one on your laptop should work
13:29:27 *** rosesale_ has joined #openmrs
13:30:30 *** rosesale_ has quit IRC
13:30:50 *** rosesale has quit IRC
13:31:38 *** rosesale has joined #openmrs
13:32:37 <rosesale> dkayiwa: upon clicking the <design xform> in the demo site, a new page loaded. weird, why not in the site I am using?
13:33:00 <dkayiwa> rosesale: because yours uses java 1.7 which is buggy
13:33:13 <dkayiwa> rosesale: you need to upgrade to the latest java
13:33:35 <rosesale> dkayiwa: wasn't 1.7 the latest already?
13:33:57 <dkayiwa> rosesale: latest is something like 1.7.0.5
13:35:03 <rosesale> dkayiwa: I was not the one who set it up. So I guess I have to ask her. But since it was created just a few weeks back, I think It is the latest already.
13:35:29 <dkayiwa> rosesale: can you tell me its exact version?
13:38:43 <rosesale> dkayiwa: I'll ask her. :)
13:38:56 <dkayiwa> rosesale: ok :)
13:40:41 <rosesale> dkayiwa: I did not include the test files in the installation of OpenMRS instance. So I dont have a basic form. Is there a way to create an xform without working from the basic form?
13:40:42 *** dkayiwa has quit IRC
13:40:53 *** dkayiwa has joined #openmrs
13:44:40 <rosesale> dkayiwa: I did not include the test files in the installation of OpenMRS instance. So I dont have a basic form. Is there a way to create an xform without working from the basic form?
13:45:01 <dkayiwa> rosesale:
13:45:04 <dkayiwa> yes
13:45:18 <dkayiwa> rosesale: just create new form
13:47:33 <rosesale> dkayiwa: ok. i tried doing that. then click the link. still a problem. Maybe I should just try first with my localhost.
13:48:17 <dkayiwa> rosesale: java 7 has a problem
13:48:23 <dkayiwa> so yes'
13:49:43 <rosesale> dkayiwa: but it should work on java 1.7.0.5 (or something)?
13:49:55 <dkayiwa> rosesale: yes
13:50:55 <rosesale> dkayiwa: ok. I'll try it on my localhost first. Since I am working on 1.6 in my local machine.
13:51:10 <dkayiwa> ok
13:55:20 *** lakkarau has joined #openmrs
13:55:34 <rosesale> dkayiwa: Daniel, according to the one who installed java on our linode, she installed java 1.7.0_05
13:56:10 <dkayiwa> rosesale: can she confirm the version again
13:56:15 <dkayiwa> the exact one
14:01:33 <rosesale> dkayiwa: jre 1.7.0.5
14:03:34 <dkayiwa> can u tell her to use jdk1.7.0_u5
14:13:52 <lakkarau>
14:16:40 <rosesale> dkayiwa: do we need jdk for implementer site?
14:20:50 <dkayiwa> rosesale: no. just jre
14:21:55 <rosesale> dkayiwa: we already have the latest jre.
14:23:09 <dkayiwa> rosesale: now test on yo localhost
14:32:41 <rosesale> dkayiwa: the localhost loaded a design page.
14:32:58 <dkayiwa> rosesale: ok thats right
14:34:45 <rosesale> dkayiwa: why does the one in the linode with the latest java did not work? should I change it to java 6?
14:35:14 <dkayiwa> rosesale: still investigating
14:40:36 <dkayiwa> rosesale: yes change it to java 6. can you?
14:41:22 <rosesale> dkayiwa: I don't think I can change it now. I should talk to my team first.
14:41:37 <dkayiwa> rosesale: ok
14:46:24 <rosesale> dkayiwa: I'll talk to them tomorrow. Thank you daniel. :)
14:48:02 <dkayiwa> rosesale: yo welcome Rose :)
14:57:14 *** lakkarau has quit IRC
15:22:05 *** rosesale has quit IRC
15:41:23 *** lakkarau has joined #openmrs
16:11:18 *** dkayiwa has quit IRC
16:20:05 *** Mkop2 has joined #openmrs
16:20:05 *** ChanServ sets mode: +v Mkop2
16:24:14 *** mvorobey has joined #openmrs
16:33:14 *** suranga has joined #openmrs
16:33:14 *** ChanServ sets mode: +v suranga
16:42:14 *** lakkarau has quit IRC
17:10:57 *** mvorobey has quit IRC
17:11:30 *** djazayeri1 has joined #openmrs
17:12:54 *** djazayeri has quit IRC
17:27:07 *** maurya has quit IRC
17:41:06 *** maurya has joined #openmrs
17:53:56 *** maurya has quit IRC
18:07:07 *** maurya has joined #openmrs
18:08:49 *** rafa has joined #openmrs
18:08:49 *** ChanServ sets mode: +v rafa
18:18:35 *** rafa has quit IRC
18:23:14 *** bwolfe has joined #openmrs
18:23:14 *** ChanServ sets mode: +o bwolfe
18:23:57 *** maurya has quit IRC
18:50:27 *** dkayiwa has joined #openmrs
19:36:45 *** goutham has joined #openmrs
19:37:50 <goutham> Hi dkayiwa
19:37:59 <dkayiwa> hi goutham
19:38:20 <goutham> dkayiwa: how did your week end go ?
19:38:42 <dkayiwa> goutham: it was nice. and yours?
19:38:42 *** rfriedman has joined #openmrs
19:38:46 *** goutham_ has joined #openmrs
19:39:17 <goutham_> dkayiwa: mine was good too :)
19:39:31 <dkayiwa> goutham_: ok :)
19:39:42 <rfriedman> dkayiwa, do you have a wsrest19ext omod?
19:40:13 <dkayiwa> rfriedman: no
19:40:24 <rfriedman> dkayiwa, tks
19:40:39 <rfriedman> wyclif, do you have a wsrest19ext omod?
19:40:52 <goutham_> dkayiwa: Did you reviewed the code ? any comments and suggestions ?
19:40:52 <wyclif> rfriedman, no
19:41:01 <rfriedman> tks, wyclif
19:41:27 <rfriedman> bwolfe, do you have a wsrest19x omod?
19:42:30 *** goutham has quit IRC
19:42:38 *** goutham_ is now known as goutham
19:44:04 <rfriedman> djazayeri1, do you have a wsrest19x omod?
19:47:29 <dkayiwa> goutham: looks like we need more unit tests
19:47:36 <dkayiwa> goutham: for each filter type
19:50:14 <goutham> dkayiwa: Ya i will write them once i finished writing all filters
19:50:51 <dkayiwa> goutham: actually it would be better to write them now :)
19:50:59 <goutham> dkayiwa: do get chance to check both role and privilege filter
19:51:21 <goutham> dkayiwa: Ok i will write them :)
19:51:34 <goutham> dkayiwa: i want to ask details of cohort filter
19:51:49 <dkayiwa> goutham: let me get back in a few minutes :)
19:52:04 <goutham> dkayiwa: Ok :)
19:58:32 *** dkayiwa has quit IRC
20:12:52 <djazayeri1> rfriedman: I don't have the omod, no
20:13:57 *** rafa has joined #openmrs
20:13:57 *** ChanServ sets mode: +v rafa
20:13:58 *** suranga has quit IRC
20:25:46 *** dkayiwa has joined #openmrs
20:30:52 <dkayiwa> goutham: am back :)
20:31:03 <goutham> dkayiwa: :)
20:31:42 * goutham thinks what was i asking
20:31:46 <dkayiwa> goutham: do you think you will finish the unit tests by today :)
20:32:57 <goutham> dkayiwa: I dont know its 2Am for me ...im feeling sleepy. Will try to do it and sleep :)
20:33:22 <dkayiwa> goutham: oh sorry. you do not have to do them today. just do them tomorrow :)
20:33:51 *** snoppy has left #openmrs
20:34:08 <goutham> dkayiwa: Thanks :)
20:34:39 <dkayiwa> goutham: you too :D
20:34:51 <goutham> dkayiwa: any more things , i need to do ?
20:35:31 <dkayiwa> goutham: after the unit tests, you will finish the filter types
20:35:56 <bwolfe> rfriedman, are you asking personally, or does one exist for openmrs?
20:36:10 <bwolfe> rfriedman, the code exists, but I don't have it checked out
20:36:30 <goutham> dkayiwa: Hurrey :)
20:36:40 <goutham> dkayiwa: how about cohort?
20:36:52 <dkayiwa> goutham: yes that too :)
20:38:07 <goutham> dkayiwa: Only Cohort filter type is left to do
20:38:22 <dkayiwa> goutham: yes finish it up
20:38:47 <goutham> dkayiwa: want to ask about it actually
20:39:05 <dkayiwa> goutham: ok
20:39:12 <goutham> dkayiwa: i need to implement it in "Reporting Compatibility " Module right?
20:39:47 <dkayiwa> goutham: why?
20:40:18 * goutham goes to design page
20:41:16 <goutham> dkayiwa: I dint get what this actually meant
20:41:23 <goutham> dkayiwa:* Create a CohortFormFilter that is based on the patient being in the defined cohort – this should be added in by the ReportingCompatibility Module
20:42:23 <dkayiwa> goutham: let me think through it a bit more as you finish the unit tests :)
20:42:38 <goutham> dkayiwa: Ok :)
20:43:26 <dkayiwa> goutham: have a good night men. talk to you tomorrow :)
20:43:28 *** wyclif has quit IRC
20:44:33 <goutham> dkayiwa: Ok catch you tomorrow.. Good Night :)
20:45:56 *** dkayiwa has quit IRC
20:49:29 *** goutham has quit IRC
21:05:44 *** lakkarau has joined #openmrs
21:21:46 *** wyclif has joined #openmrs
21:41:47 <rfriedman> bwolfe, sorry, was briefly away
21:42:44 <rfriedman> bwolfe, when i try to compile it, i get complaints about unmatching versions of restws
21:43:17 <rfriedman> djazayeri1, see ^
21:45:45 <rfriedman> rafa, do you have a copy of restws19x omod?
21:53:02 *** rafa has quit IRC
23:04:21 *** bwolfe has quit IRC
23:13:03 <robbyoconnor> rfriedman: o/
23:19:18 *** Mkop2 has quit IRC
23:40:30 *** djazayeri1 is now known as djazayeri
23:40:30 *** ChanServ sets mode: +o djazayeri
23:40:47 <djazayeri> rfriedman: you're saying that a clean checkout of rewstws19ext fails to compile?