IRC Chat : 2013-01-03 - OpenMRS

00:52:44 *** wyclif has joined #openmrs
01:01:27 *** lh has quit IRC
01:44:25 *** lh has joined #openmrs
02:58:40 *** lh has quit IRC
05:11:39 *** kishoreyekkanti has joined #openmrs
07:34:12 *** applecool has joined #openmrs
07:34:12 *** ChanServ sets mode: +v applecool
07:48:48 *** djazayeri has quit IRC
08:11:09 *** kt has joined #openmrs
08:11:30 <kt> yuuuuuuuuuuu
08:13:12 *** kt has left #openmrs
08:13:43 *** applecool has quit IRC
08:54:06 *** kavuri has joined #openmrs
09:12:59 <kavuri> Hello
09:18:42 *** lh has joined #openmrs
09:18:42 *** lh has joined #openmrs
09:20:57 *** kishoreyekkanti has quit IRC
09:22:00 *** kishoreyekkanti has joined #openmrs
09:49:29 *** dkayiwa has joined #openmrs
10:08:18 *** applecool has joined #openmrs
10:08:18 *** ChanServ sets mode: +v applecool
10:10:33 <applecool> hey dkayiwa
10:10:39 <dkayiwa> applecool: hey
10:10:48 <applecool> the day before
10:10:57 <applecool> when you said to drop the db
10:11:02 <applecool> and build it again
10:11:13 <applecool> its not working at all
10:11:32 *** rkorytkowski has joined #openmrs
10:11:32 *** ChanServ sets mode: +v rkorytkowski
10:11:40 <applecool> rkorytkowski: hey
10:11:49 *** rkorytkowski is now known as rafa
10:11:53 <rafa> applecool: hi
10:13:09 <applecool> dkayiwa, rafa I actually completed every step on the step by step installation and ran the pom.xml from the Openmrs
10:13:18 <applecool> mvn clean install
10:13:20 <dkayiwa> applecool: did you delete the runtime properties file?
10:13:35 <applecool> i dont have that file dkayiwa i couldnt find it at all
10:13:55 <applecool> the stack trace says "Unable to find the /openmrs-runtime.properties file"
10:14:14 <rafa> applecool: pastebin the whole thing
10:14:32 <rafa> applecool: are you trying mvn jetty:run?
10:14:41 <applecool> hmm yes
10:15:53 <applecool> i tried the same procedure on the windows box of my friends ! ran the pom.xml and then openmrs-webapp -> pom.xml -> maven build.. -> jetty:run
10:16:15 <rafa> applecool: just give us the full stack trace
10:16:27 <applecool> okay
10:17:58 <applecool> http://pastebin.com/tBxUKvcV
10:18:08 <applecool> db is not getting created
10:18:50 <applecool> the first time i created ran ! it got created but later when i dropped the db to build it again, its not at all creating the openmrs db in mysql
10:19:21 <rafa> applecool: you need to drop openmrs-runtime.properties after you delete a db
10:19:40 <applecool> i couldnt find the openmrs-runtime.properties
10:20:02 <rafa> applecool: try harder, OpenMRS finds it ;)
10:20:32 <applecool> okay :)
10:23:39 <rafa> applecool: your best bet is in {user_home}/.OpenMRS
10:24:17 <applecool> oh god! Its a hidden file
10:25:08 <applecool> yes found it :) dkayiwa gave me this link https://wiki.openmrs.org/display/docs/Overriding+OpenMRS+Default+Runtime+Properties
10:25:09 <OpenMRSBot> <http://ln-s.net/8c91> (at wiki.openmrs.org)
10:25:11 <applecool> rafa: thanks
10:25:22 <applecool> rafa: i need to delete that?
10:25:41 <rafa> applecool: yes, just delete to see the installation wizard again
10:26:36 <applecool> rafa: need to run the jetty again right?
10:26:42 <rafa> applecool: right
10:29:27 <applecool> rafa: awesome :D
10:29:40 <applecool> rafa: simple or advanced?
10:30:16 <rafa> applecool: I always choose advanced, but it's up to you
10:31:11 <applecool> hmm. rafa you are confusing me now ;)
10:34:53 <applecool> i went with the simple, is it advisable to go with the demo data right? or no?
11:03:17 *** lh has quit IRC
11:05:42 <kavuri> dkayiwa: hi
11:05:57 <dkayiwa> kavuri: hi
11:06:36 <kavuri> dkayiwa: question about using Event module feature..I am trying to listen for updates in concepts, so I followed the mechanism AtomFeed module was written
11:06:55 <kavuri> dkayiwa: I registered to listen for Patient.class, Concept.class
11:07:36 <kavuri> dkayiwa: but whenever I create a Concept, I never get a notification in my onMessage() method, but I always get the onMessage() method invoked for Patient creation
11:08:07 <kavuri> dkayiwa: any idea on where it could be going wrong?
11:10:39 <dkayiwa> kavuri: can you create a unit test for it?
11:11:14 <kavuri> dkayiwa: there are unit testcases in the event module for the same and they seem to pass
11:11:37 <dkayiwa> kavuri: for the exact same objects?
11:11:54 <kavuri> dkayiwa: not the exact same object
11:12:21 <dkayiwa> kavuri: can you create one for the exact same object? just in case there is a bug with that object?
11:14:24 <kavuri> dkayiwa: ok, will check
11:14:36 <kavuri> dkayiwa: the error message I see in the server log is:
11:14:46 <kavuri> 16:42:35,649 ERROR [org.apache.activemq.ActiveMQMessageConsumer] (ActiveMQ Session Task) ID:Lenovo-G570-60524-1357205082934-2:1:11:1 Exception while processing message: ID:Lenovo-G570-60524-1357205082934-2:1:103:2:1: java.lang.ClassCastException: org.apache.activemq.command.ActiveMQMapMessage cannot be cast to javax.jms.MapMessage
11:15:17 <dkayiwa> kavuri: ok
11:21:56 <kavuri> dkayiwa: found the problem. Whenever numeric concepts are created, there is no message received. But if I create TEXT or N/A concepts, then message is received
11:22:07 <applecool> rafa the setup was fine, but at the end while opening the openmrs/index.htm , permgen space occured! so i added the arguments and restarted the eclipse, and now i am getting this following error followed by permgen
11:22:10 <dkayiwa> kavuri: ok
11:22:15 <applecool> here is the stack trace : http://pastebin.com/svdXGEfF
11:24:51 <applecool> dkayiwa, rafa any help
11:25:53 <rafa> applecool: try removing omods from .OpenMRS
11:26:08 <rafa> applecool: you have some broken module
11:26:36 <applecool> all omods rafa?
11:26:47 <rafa> .OpenMRS/modules
11:27:09 <rafa> applecool: or the one that is failing
11:27:26 <rafa> applecool: but I don't know which one
11:27:51 <applecool> Javassist Enhancement failed: org.openmrs.module.htmlformentry.HtmlForm
11:27:56 <applecool> i guess its htmlformentry
11:28:01 <rafa> applecool: no
11:28:04 <rafa> applecool: that's ok
11:28:14 <rafa> applecool: this one: WARN - ModuleFactory.startModuleInternal(670) |2013-01-03 16:51:58,996| Error while trying to start module: restrictbyenctype
11:28:30 <applecool> okay
11:34:39 <dkayiwa> kavuri: can you create a unit test to reproduce that?
11:34:50 <kavuri> dkayiwa: will do
11:35:01 <dkayiwa> kavuri: ok thanks
11:35:49 <applecool> rafa: in general , how much memory should be given as the arguments to avoid permgen space?
11:36:28 <rafa> applecool: I have -Xmx2048m -XX:MaxPermSize=1024m
11:36:36 <rafa> applecool: but it's way too much
11:36:42 <applecool> http://pastebin.com/tyrDNDZW
11:36:44 <rafa> applecool: 512 should be enough
11:36:56 <applecool> i used 512
11:37:10 <applecool> but it seems its not at all enough
11:37:17 <rafa> applecool: you need to set it for jetty and not eclipse
11:37:38 <applecool> oh! where can i do that rafa?
11:38:01 <applecool> that is y i have been getting permgen space error for every page load ;)
11:38:05 <rafa> applecool: the way I do it is I got to Windows -> Preferences -> Java -> Installed JREs -> Edit... -> Default VM arguments: -Xmx2048m -XX:MaxPermSize=1024m
11:38:34 <applecool> okay i will try it :)
11:38:41 <rafa> applecool: set it for all JREs you have there
11:41:50 <applecool> rafa: http://snag.gy/FCBlP.jpg
11:42:04 <applecool> this is the only one i have
11:44:13 <applecool> http://snag.gy/ooVlm.jpg
11:50:37 <applecool> rafa: thanks a lot :)
11:50:44 <applecool> its working great
11:50:45 <applecool> :)
11:51:03 <rafa> applecool: np
11:51:43 <kavuri> dkayiwa: unit testcase passes...
11:51:47 <kavuri> dkayiwa: :(
11:52:14 <dkayiwa> kavuri: of same concept type as you reported
11:52:15 <dkayiwa> ?
11:52:15 <kavuri> dkayiwa: but when I create a concept from openmrs web console, I do not get the event triggered incase of numeric concept
11:52:33 <kavuri> dkayiwa: I am assuming the id for NUMERIC concept is 1
11:52:47 <dkayiwa> kavuri: have you confirmed it to be so?
11:53:11 <kavuri> dkayiwa: I am not sure. It is weird that one has to provide a numeric value for the concept data type
11:53:32 <kavuri> dkayiwa: from the database, I assumed that the id for NUMERIC datatype is 1 and so am using it
11:53:38 <dkayiwa> kavuri: you need to confirm
11:53:45 <kavuri> dkayiwa: any pointers?
11:53:50 <dkayiwa> kavuri: for?
11:54:00 <kavuri> dkayiwa: how to confirm if 1 is for NUMERIC
11:54:21 <dkayiwa> kavuri: use the api to get concept data type
12:06:15 <kavuri> dkayiwa: okay, was able to reproduce the problem using unit testcase
12:06:22 <kavuri> dkayiwa: will raise a bug report and attach the diff to the report
12:06:30 <kavuri> dkayiwa: do you want me to postit?
12:07:02 <dkayiwa> kavuri: yes create a ticket and attache the diff
12:07:06 <kavuri> dkayiwa: ok
12:13:04 <kavuri> dkayiwa: https://tickets.openmrs.org/browse/EVNT-26
12:13:09 <kavuri> dkayiwa: added you as a watcher
12:13:17 <dkayiwa> kavuri: ok thanks :)
12:13:41 <applecool> thanks once again rafa and dkayiwa
12:14:01 *** applecool has quit IRC
12:32:27 *** Mkop has quit IRC
12:32:44 *** Mkop has joined #openmrs
12:32:44 *** ChanServ sets mode: +v Mkop
12:37:06 *** Mkop has quit IRC
12:48:19 *** Mkop has joined #openmrs
12:48:19 *** ChanServ sets mode: +v Mkop
13:23:27 *** kishoreyekkanti has quit IRC
13:28:33 *** jkeiper has joined #openmrs
13:28:33 *** ChanServ sets mode: +v jkeiper
13:34:26 *** wyclif has quit IRC
13:59:28 *** kavuri has quit IRC
14:07:52 *** rafa has quit IRC
14:34:01 *** wyclif has joined #openmrs
14:38:10 *** rafa has joined #openmrs
14:38:10 *** ChanServ sets mode: +v rafa
15:04:47 *** jkeiper has quit IRC
15:06:42 *** wyclif has quit IRC
15:07:02 *** djazayeri has joined #openmrs
15:07:02 *** ChanServ sets mode: +o djazayeri
15:18:13 *** mseaton has joined #openmrs
15:18:13 *** ChanServ sets mode: +v mseaton
15:22:09 *** wyclif has joined #openmrs
15:28:55 *** lh has joined #openmrs
15:32:49 *** rkorytkowski has joined #openmrs
15:32:49 *** ChanServ sets mode: +v rkorytkowski
15:33:08 *** rafa is now known as Guest8003
15:33:22 *** rkorytkowski is now known as rafa
15:34:18 *** Guest8003 has quit IRC
15:38:20 *** rkorytkowski has joined #openmrs
15:38:20 *** ChanServ sets mode: +v rkorytkowski
15:38:32 *** rafa is now known as Guest17223
15:38:46 *** rkorytkowski is now known as rafa
15:38:53 *** mseaton has quit IRC
15:40:58 *** k-joseph has joined #openmrs
15:41:24 *** Guest17223 has quit IRC
15:42:03 *** mseaton has joined #openmrs
15:42:03 *** ChanServ sets mode: +v mseaton
15:44:44 *** kavuri has joined #openmrs
16:00:53 *** kavuri has quit IRC
16:01:01 *** wyclif has quit IRC
16:03:05 *** wyclif has joined #openmrs
16:06:11 *** Anuruddha has joined #openmrs
16:13:41 *** wyclif has quit IRC
16:23:28 *** supun has joined #openmrs
16:30:30 *** kavuri has joined #openmrs
16:32:03 *** bhashitha has joined #openmrs
16:32:14 <bhashitha> Hi
16:33:44 <bhashitha> I'm new bee and trying to submit the code to my forked repository following this link https://wiki.openmrs.org/display/docs/Using+Git#UsingGit-Submitthecode
16:35:50 <bhashitha> Do I need to follow 2nd step only if I have several commits ?
16:36:03 <bhashitha> can anyone guide me
16:45:57 <dkayiwa> hi k-joseph
16:46:02 <dkayiwa> hi kavuri
16:46:09 <kavuri> dkayiwa: hi
16:46:14 *** supun_ has joined #openmrs
16:46:28 <dkayiwa> kavuri: do i need to load any other module apart from the event module?
16:46:35 <dkayiwa> hi bhashitha
16:46:44 <kavuri> dkayiwa: just event module is good enough
16:47:06 <kavuri> dkayiwa: if you want to test using webconsole, then you can load atom feed module
16:47:21 <dkayiwa> kavuri: so how do you reproduce the error from the end user's perspective?
16:47:34 <bhashitha> dkayiwa: hi
16:47:46 <dkayiwa> bhashitha: did you solve your problem?
16:47:46 *** supun__ has joined #openmrs
16:48:09 <kavuri> dkayiwa: load event module, load atom feed module, configure atom feed module from web console, create a numeric concept
16:48:20 <dkayiwa> kavuri: ok
16:48:22 <bhashitha> dkayiwa: I think it is okay now
16:48:24 <kavuri> dkayiwa: there would not be any event triggered
16:48:31 <kavuri> dkayiwa: the other way is to run the unit testcase
16:48:38 <dkayiwa> bhashitha: ok great!!!
16:48:44 *** supun has quit IRC
16:48:44 *** supun__ is now known as supun
16:49:00 <dkayiwa> kavuri: i now how to make the unit test pass :)
16:49:27 <dkayiwa> kavuri: in the unit test change from this: Event.subscribe(Concept.class, Action.CREATED.toString(), listener);
16:49:35 <dkayiwa> kavuri: to this: Event.subscribe(ConceptNumeric.class, Action.CREATED.toString(), listener);
16:49:43 <dkayiwa> kavuri: then it should pass
16:49:51 <dkayiwa> kavuri: does it make sense?
16:50:11 <kavuri> dkayiwa: but a user would be creating only concepts..
16:50:24 *** bhashitha has quit IRC
16:50:55 *** supun_ has quit IRC
16:51:17 <kavuri> dkayiwa: so if there a new concept type, then a listener has to be created for that new type?
16:51:24 <kavuri> dkayiwa: that does not sound so good..
16:54:33 *** bhashitha has joined #openmrs
16:57:36 <dkayiwa> kavuri: how would you like it to be?
16:58:16 <kavuri> dkayiwa: that I set a listener for concept class and I receive the events related to any concept creation/updation/deletion
16:58:29 <dkayiwa> kavuri: makes sense
16:58:44 <dkayiwa> kavuri: at the moment how do you set the listener for concept?
16:58:55 <dkayiwa> kavuri: from the end user's perspective?
16:58:56 <kavuri> dkayiwa: like Concept.class
17:01:34 <k-joseph> dkayiwa: hi
17:02:13 *** bhashitha has quit IRC
17:03:31 *** wyclif has joined #openmrs
17:04:22 <k-joseph> dkayiwa:
17:06:04 <dkayiwa> k-joseph: did u see my comments
17:06:19 <k-joseph> dkayiwa: i did
17:06:30 <dkayiwa> k-joseph: working on them?
17:06:35 <k-joseph> dkayiwa: i have been working them
17:06:46 <k-joseph> dkayiwa: please, can you help me am having a problem on my Relationship Type Form, when i try saving it, the error http://pastebin.com/X1P0y2w5 logs up
17:07:34 <dkayiwa> k-joseph: restart openmrs
17:07:55 <dkayiwa> hi kavuri
17:08:07 <kavuri> dkayiwa: hi
17:08:17 <k-joseph> dkayiwa: let me do that another time otherwise i had don ethat before
17:08:26 <dkayiwa> kavuri: how do you sent the listener as an end user?
17:09:09 <dkayiwa> kavuri: sent = set
17:09:36 <kavuri> dkayiwa: in the subscribeToObjects() method
17:09:43 <kavuri> dkayiwa: like
17:09:44 <kavuri> List<Class<? extends OpenmrsObject>> objectList = new ArrayList<Class<? extends OpenmrsObject>>();
17:09:44 <kavuri> objectList.add(Concept.class);
17:09:53 *** kishoreyekkanti has joined #openmrs
17:10:08 <kavuri> dkayiwa: similar to what is provided in atom feed module
17:10:22 <dkayiwa> kavuri: where do i do that from as an end user?
17:10:32 <kavuri> dkayiwa: in ones own module
17:10:50 <dkayiwa> kavuri: so you too did that in your module?
17:10:53 <kavuri> dkayiwa: not as a end user..but a developer of the event module
17:10:56 <kavuri> dkayiwa: yes
17:11:11 <kavuri> dkayiwa: *as a developer of own module
17:12:18 <dkayiwa> kavuri: which module is that where you set that?
17:12:26 <kavuri> dkayiwa: atom feed module
17:12:45 <dkayiwa> kavuri: whats the url for the module?
17:13:00 <dkayiwa> kavuri: i wanna check it out
17:13:15 <kavuri> dkayiwa: http://www.google.co.in/url?sa=t&rct=j&q=openmrs%20atom%20feed%20module&source=web&cd=1&cad=rja&ved=0CDQQFjAA&url=https%3A%2F%2Fwiki.openmrs.org%2Fdisplay%2Fdocs%2FAtom%2BFeed%2BModule&ei=IrzlUKjlOMLTkwWmsYDAAg&usg=AFQjCNFWOoC28Ne9Vy_iv2AIkr5uxkNi0A&bvm=bv.1355325884,d.dGI
17:13:17 <OpenMRSBot> <http://ln-s.net/+Ony> (at www.google.co.in)
17:13:24 <kavuri> dkayiwa: sorry! https://wiki.openmrs.org/display/docs/Atom+Feed+Module
17:13:26 <dkayiwa> kavuri: :D
17:14:33 <kavuri> dkayiwa: code is at: http://svn.openmrs.org/openmrs-modules/atomfeed/trunk
17:17:02 <dkayiwa> kavuri: ok
17:30:13 <kavuri> dkayiwa: If I want to just write a bean to store and retrieve values and expose these methods as webservices API, do I need to write a openmrs service?
17:31:18 <dkayiwa> kavuri: ideally yes
17:35:52 *** kishoreyekkanti has quit IRC
17:48:08 *** kishoreyekkanti has joined #openmrs
18:15:06 <dkayiwa> hi k-joseph
18:15:37 <k-joseph> dkayiwa: hi
18:15:38 *** Anuruddha has quit IRC
18:16:06 <dkayiwa> k-joseph: do you have the RelationshipTypeValidator class?
18:16:20 <k-joseph> dkayiwa: not yet nw
18:16:37 <dkayiwa> k-joseph: so thats why i told you to first back it up
18:16:44 <k-joseph> dkayiwa: i just have a backup
18:16:54 <dkayiwa> k-joseph: so you need to add it again
18:17:03 <k-joseph> dkayiwa:ok
18:17:09 <dkayiwa> k-joseph: that why are you are getting that error message
18:17:38 <dkayiwa> k-joseph: it simply means that file does not exist
18:18:07 <k-joseph> dkayiwa: but befor e i created it it was running!!!
18:18:24 <dkayiwa> k-joseph: now you need to add it
18:18:37 <k-joseph> dkayiwa: yes please am doing that
18:22:14 <k-joseph> dkaiwa: i have added it and the problem is still insisting
18:22:52 <dkayiwa> k-joseph: when does the problem happen?
18:22:59 <dkayiwa> when you try run or compile?
18:23:14 <k-joseph> dkayiwa: when i forexaxmple try saving
18:23:39 <dkayiwa> k-joseph: do you have the unit test?
18:23:53 <dkayiwa> unit test class
18:24:02 <k-joseph> dkayiwa: validatortest?
18:24:14 <dkayiwa> k-joseph: yes
18:24:20 <k-joseph> dkayiwa: no
18:24:30 <dkayiwa> k-joseph: you need to add it too
18:24:36 <k-joseph> dkayiwa: ok
18:24:40 *** kavuri has quit IRC
18:24:47 <dkayiwa> k-joseph: and then make sure the tests pass
18:25:05 <k-joseph> dkayiwa: ys
18:25:15 <dkayiwa> k-joseph: never try run the browser app if the unit tests are not passing
18:39:37 <k-joseph> dkayiwa: hi
18:39:43 <dkayiwa> k-joseph: hi
18:39:46 <k-joseph> dkayiwa: am not able to run the junit test, when i do i get a message that there are errors in api, am not sure which errors?
18:40:18 <dkayiwa> k-joseph: pastebin the stack trace
18:45:14 *** k-joseph_ has joined #openmrs
18:46:25 *** k-joseph has quit IRC
18:47:12 <k-joseph_> dkayiwa: i have pasted the stack trace here http://pastebin.com/PuVaPfjc
18:48:23 <k-joseph_> dkayiwa: yet i have that class created alraedy: RelationsshipTypeValidatorTest.java
18:48:43 <dkayiwa> k-joseph_: when do you get this error?
18:49:05 <k-joseph_> dkayiwa: when i run that class as junit
18:49:16 <dkayiwa> k-joseph_: do an: mvn clean
18:49:20 <dkayiwa> k-joseph_: then try again
18:49:25 <k-joseph_> dkayiwa: ok
18:50:55 <k-joseph_> dkayiwa: i have run mvn clean and re run the junit test and am having that error again
18:51:46 <dkayiwa> k-joseph_: do an: mvn clean install
18:51:54 <k-joseph_> dkayiwa: ok
18:53:22 <k-joseph_> dkayiwa: BUILD FAILURE
18:53:33 <dkayiwa> k-joseph_: pastebin the trace
18:53:55 <k-joseph_> dkayiwa: from the command prompt?
18:54:03 <dkayiwa> k-joseph_: yes
18:54:06 <k-joseph_> dkayiwa: ok
18:58:30 <k-joseph_> dkayiwa: http://pastebin.com/NgE2SW7Z
18:59:50 <dkayiwa> k-joseph_: ok checking
19:02:30 *** suranga has joined #openmrs
19:02:30 *** ChanServ sets mode: +v suranga
19:02:44 *** hasintha has joined #openmrs
19:13:22 *** hasintha has quit IRC
19:13:44 <dkayiwa> k-joseph_: can you pastebin? RelationshipTypeValidatorTest.java?
19:13:58 <k-joseph_> dkayiwa: ok
19:14:53 <k-joseph_> dkayiwa: the paste link is http://pastebin.com/sDWuQxBC
19:16:15 <dkayiwa> k-joseph_: in which eclipse project did you put it?
19:16:33 <k-joseph_> dkayiwa: api
19:21:42 *** rafa has quit IRC
19:26:46 *** cpower has joined #openmrs
19:29:02 *** kishoreyekkanti has quit IRC
20:00:34 *** k-joseph_ is now known as k-joseph
20:03:25 *** andreap has joined #openmrs
20:03:25 *** supun has quit IRC
20:04:08 <andreap> cpower, u there?
20:04:52 <andreap> anyone here?
20:05:36 <andreap> djazayeri, u there?
20:07:46 *** andreap has quit IRC
20:08:06 <dkayiwa> hi cpower
20:08:22 *** andrea has joined #openmrs
20:08:27 <djazayeri> andrea: on a phone call
20:08:44 *** andrea is now known as Guest24965
20:08:49 <Guest24965> djazayeri, ok - isn't it scrum time?
20:09:01 <djazayeri> Guest24965: yes, probably
20:09:03 <dkayiwa> Guest24965: what a name????
20:09:05 <dkayiwa> :)
20:09:14 *** Guest24965 is now known as andrea__
20:09:42 <andrea__> dkayiwa, better?
20:09:51 <dkayiwa> andrea__: much better :)
20:10:24 <dkayiwa> i need to run a bit. here is my update.
20:10:27 <dkayiwa> Reviewed: Missing Validators for relationship_type - TRUNK-3814
20:10:27 <dkayiwa> Attempted to fix: Creating numeric concept does not fire a message - EVNT-26
20:10:27 <dkayiwa> Dev Call
20:10:28 <dkayiwa> Now working on: HL7 Processor loops through infinite attempts to process after JDBC rollback exception. - TRUNK-193
20:10:28 <dkayiwa> No Blockers
20:10:36 *** dkayiwa has quit IRC
20:11:57 <andrea__> cpower, who is next?
20:13:05 <cpower> whoops
20:13:10 <cpower> sorry got side tracked
20:13:17 <cpower> !scrumon cpower
20:13:17 * 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 cpower- you may begin when ready.
20:13:39 <cpower> Order : djazayeri, mseaton, suranga, andrea__, wyclif
20:13:48 <djazayeri> skip me I'm on the phone now
20:13:56 <cpower> k, next!
20:15:08 <cpower> ok suranga you have anything
20:15:17 <suranga> hi
20:15:19 <suranga> DID
20:15:19 <suranga> Trunk-3468
20:15:19 <suranga> Trunk-3773
20:15:19 <suranga> trunk-3769
20:15:19 <suranga> TO DO
20:15:20 <suranga> Address review comments
20:15:29 <suranga> #productive holidays
20:15:36 <suranga> NO blockers
20:15:55 <andrea__> Wednesday - Thursday morning
20:15:56 <andrea__> TRUNK-2768
20:15:56 <andrea__> Finished remaining JSPs
20:15:56 <andrea__> Test in UI
20:15:56 <andrea__> Thursday afternoon
20:15:56 <andrea__> TRUNK-2768
20:15:58 <andrea__> Find problem - deathdateEstimated still not getting set in Person table
20:16:00 <andrea__> Blocker
20:16:02 <andrea__> deathdateEstimated still not getting set in Person table
20:16:04 <andrea__> Want to finish this ticket!!
20:16:24 <cpower> wyclif, you are up
20:16:49 <wyclif> Wednesday:
20:16:49 <wyclif> reviewing, applying pull requests and closing related tickets
20:16:50 <wyclif> design call
20:16:50 <wyclif> REPORT-166 - Ensure that all date-based queries are appropriately handling boundary conditions
20:16:50 <wyclif> Thursday:
20:16:50 <wyclif> Dev call
20:16:52 <wyclif> complete other tests related to REPORT-166 - Ensure that all date-based queries are appropriately handling boundary conditions
20:16:55 <wyclif> TRUNK-2877 - Don't set password values in the UI in the installation wizard
20:16:57 <wyclif> review pull requests
20:16:59 <wyclif>
20:17:02 <wyclif> Blockers: None
20:17:38 <cpower> Ok, blockers eathdateEstimated still not getting set in Person table for Andrea
20:17:47 <cpower> How long have you been working on this ticket?
20:18:39 <andrea__> wyclif, you are real good with JSPs - if I don't find this problem this afternoon, will you skype me tomorrow?
20:19:06 <wyclif> andrea__, sure i can help
20:19:33 <andrea__> cpower, a long time but many changes required all through system
20:19:59 <andrea__> cpower, think problem is i n JSPs -
20:20:20 <andrea__> wyclif, thanks!!!
20:20:34 <wyclif> andrea__, let me know ehen you want to do this
20:21:03 <wyclif> andrea__, i believe deathdateEstimated should be the same way birthdateEstimated was done
20:21:14 <andrea__> wyclif, am working from home today - can't skype from home for some reason
20:21:30 <wyclif> andrea__, ok
20:21:54 <andrea__> wyclif, how about tomorrow like 1pm your time?
20:22:14 <wyclif> andrea__, sounds fine
20:22:51 <andrea__> wyclif, ok good! will keep working on it this afternoon
20:24:10 <andrea__> wyclif, am doing the same way as birthdateEstimated but something isn't working
20:24:48 <andrea__> wyclif, birthdateEstimated gets set to true if age is entered instead of dob
20:25:12 <andrea__> wyclif, deathdateEstimated is only set if user checks it
20:27:36 <wyclif> hmm.... deathDeatEstimated, are you commiting the code anywhere?
20:27:42 <wyclif> andrea__, hmm.... deathDeatEstimated, are you commiting the code anywhere?
20:28:03 <wyclif> andrea__, i can checkout the branch and probably look at it later today
20:28:41 <andrea__> wyclif, yes will do another commit now - TRUNK-2768
20:29:16 <wyclif> andrea__, i think you might be copying over some scripts or logic that doesnt really apply to death date but does to birth date\
20:30:21 <andrea__> wyclif, maybe - this is first time I've worked with Spring JSPs - I might be missing something - Thanks!
20:31:21 <wyclif> andrea__, checkboxes can be tricky when you are new to spring tags in jsps
20:32:25 <wyclif> andrea__, at times you might want to add some logic to the server side since checkbox values are not submitted to the server side by browsers if a checkbox is not checked
20:32:36 <andrea__> wyclif, yes they are
20:34:21 <andrea__> wyclif, I think you're right about the server side but ticket says no logic like birthdate - just set if if user checks it
20:34:24 <wyclif> andrea__, i.e if it it not checked, the browser send its parameter in the request sent to the server which means spring will think it is false by default if it cant find it
20:35:03 <wyclif> andrea__, i.e if it is not checked, the browser doesnt send its parameter in the request sent to the server which means spring will think it is false by default if it cant find it
20:35:11 <andrea__> wyclif, hmm - yes new to this part of system
20:35:33 *** suranga has quit IRC
20:36:12 <andrea__> wyclif, I get what you're saying - maybe I should make the default true and change if not checked - or something - will think about this
20:36:14 *** suranga has joined #openmrs
20:36:14 *** ChanServ sets mode: +v suranga
20:37:11 <suranga> f
20:37:55 <wyclif> so at times you want to include a hidden field to a checkbox with its name set to _${status.expression}, spring looks for this to know that it is s checkbox that was not checked
20:38:00 <wyclif> andrea__, so at times you want to include a hidden field to a checkbox with its name set to _${status.expression}, spring looks for this to know that it is s checkbox that was not checked
20:38:11 *** suranga has quit IRC
20:39:43 <wyclif> andrea__, look for conceptMapTypeForm.jsp, and find isHidden field, you will notice it has s hidden field with _${status.expression}
20:39:46 <andrea__> wyclif, ok thanks - I see the _${status.expression} -
20:40:15 <wyclif> andrea__, note that its value attribute is blank
20:41:09 <wyclif> andrea__, that is what tells spring that it there was an unchecked checkbox for that property but wasn't submitted by the browser and will associate appropriate value
20:41:59 <wyclif> andrea__, are you working on both the long and short patient forms? that fix needs to be applied to both
20:43:00 <andrea__> wyclif, yes - how do you get to the long patient forms in the UI? That's another problem I'm having
20:44:03 <wyclif> andrea__, go to the patient dashboard, select the demographics tab, you will see 2 links, one for the short form and the other for the long patient form
20:44:52 <andrea__> wyclif, ok thanks! Maybe I can figure it out - if not we'll look together tomorrow
20:45:20 <andrea__> wyclif, you gave me some really good tips - thanks!!
20:46:49 <wyclif> andrea__, np
20:47:07 <andrea__> wyclif, How exactly do you get to ParientDashboard in UI?
20:48:12 <wyclif> andrea__, click the find/create patient link on the gutter, search for the patient and select them from the list OR go to the admin page, select manage patient, search for a patient and select them from the results
20:49:02 <cpower> Hey wyclif, a Order Entry Wrap Up Sprint....what would be needed to put it together?
20:49:03 <andrea__> wyclif, ok cool! Will let you know if I still need your help tomorrow
20:50:19 <wyclif> cpower, we need to implement the new OrderTypes, and fix any pages in the UI that were not updated to work with the new design of the Order object, i know that there were some broken pages in the UI
20:50:50 <cpower> djazayeri you off your call yet?
20:51:21 <wyclif> cpower, this is the design page for the new order types https://wiki.openmrs.org/display/projects/Order+Types+(Design+Page)
20:51:25 <cpower> wyclif, do we have tickets created for these things yet?
20:51:57 <wyclif> cpower, i just need to get a go ahead that everyone agrees with the new design and then create them
20:52:31 <wyclif> cpower, Burke and i came up with that, probably Burke did 80% of the design
20:53:50 *** dkayiwa has joined #openmrs
20:54:00 <wyclif> cpower, i think we need to add it to the design forum for next week, i know some devs in people in the community might have views about this
20:54:00 <cpower> ok since Burke did 80% I figure he can agree with himself, maybe we can get Darius to double check it, and then get it moved into planning for a sprint later this month or next
20:54:13 <cpower> Sounds good, I'll do that
20:54:20 <wyclif> cpower, thanks
21:06:09 *** dkayiwa has quit IRC
21:08:20 <cpower> djazayeri you around?
21:08:24 *** nwilkie has joined #openmrs
21:08:30 <djazayeri> cpower: yes-ish
21:08:34 <cpower> lol
21:08:38 <djazayeri> eating lunch, so not good for typing
21:09:39 <cpower> Quick answer, what was the next sprint topic after Reporting, do we want it to be 2.0 or Patient Summary or more Reporting
21:10:06 <djazayeri> We need another one after reporting and before 2.0
21:10:15 <djazayeri> could be patient summary, could be more reporting
21:10:39 <djazayeri> another one I remembered that we should start planning out is the "external authentication, e.g. LDAP"
21:12:33 <cpower> Who would be a possible Product Owner?
21:13:06 <djazayeri> cpower: we should reach out. It could be someone from ITECH, but we shouldn't presume that.
21:13:31 <cpower> Ok
21:13:53 <cpower> Do we have a product owner for Patient Summary?
21:14:35 <djazayeri> cpower: none decided yet
21:16:07 <djazayeri> cpower: could be mike also; could be others too
21:17:29 <djazayeri> win, jeremy
21:17:30 <djazayeri> maybe me
21:17:46 <djazayeri> though I offer no advantage over mike
21:22:37 *** mseaton1 has joined #openmrs
21:22:39 *** mseaton has quit IRC
21:25:50 <cpower> Win is busy, he's pointing toward joaquin
21:26:20 <djazayeri> cpower: could be possible
21:47:44 *** rafa has joined #openmrs
21:47:44 *** ChanServ sets mode: +v rafa
21:50:39 *** lh has quit IRC
21:55:00 *** mseaton has joined #openmrs
21:55:00 *** ChanServ sets mode: +v mseaton
21:57:56 *** mseaton1 has quit IRC
21:59:49 *** rafa has quit IRC
22:08:13 *** fishandwalk has joined #openmrs
22:18:55 *** mseaton has left #openmrs
22:20:31 *** Alex___ has joined #openmrs
22:21:00 <Alex___> hey guys, I'm installing 1.9.2 and just accidentally dumped the openmrs database. Is there an easy way to recreate the default tables?
22:21:32 <djazayeri> Alex___: if you delete the runtime.properties file, it will take you through the setup wizard again
22:21:48 <djazayeri> Alex___: make sure you remember your db username and password, etc, before deleting it. :-)
22:22:47 <Alex___> thanks very much. Do I need to do anything else to the database before re-running the setup wizard?
22:23:08 <djazayeri> Alex___: nope.
22:23:53 <Alex___> I'm not very familiar with databases. I meant to back it up, but when I used the "dump database" function in a database app, it seemed to delete it
22:23:56 <Alex___> Can you clarify
22:24:15 *** lh has joined #openmrs
22:24:15 *** lh has joined #openmrs
22:24:17 <djazayeri> Alex___: that should in fact back it up
22:24:30 <djazayeri> Alex___: using mysql there's a command-line tool called something like mysqldump
22:24:52 <djazayeri> Alex___: if you typed "drop database" instead, that would have deleted it.
22:25:45 <Alex___> oh shoot, I must have seen "drop" and thought "dump"
22:26:19 <Alex___> I was following the instructions for installing the MVP dictionary, but thought the GUI app would be more convenient for backing up
22:26:34 <Alex___> I'll stick to the command line like you suggested
22:27:36 <Alex___> Offhand, on another identical netbook, I installed MVP and saw the performance fall tremendously, does that make sense?
22:28:00 <Alex___> It was a brand new installation but the hardware is probably 3 years old
22:30:44 *** lh has quit IRC
22:31:40 <djazayeri> Alex___: the MVP dictionary is big. Also, when you first install it, there's a one-time-only (but slow!) recreation of the concept search indices.
22:32:20 <djazayeri> Alex___: this gets rebuilt concept-by-concept, so for the 50k concepts, this could take over a day
22:33:30 <Alex___> wow
22:33:36 <Alex___> Really good to know
22:33:53 <djazayeri> Alex___: so the slowness might be transient. If you were to watch your log files, and note that it's no longer cycling through all the concepts and rebuilding concept_word, and it's still slow, then it must be something else...
22:34:00 <Alex___> So if I shut down the machine during this time what happens?
22:34:12 <djazayeri> Alex___: it picks up again after you restart
22:36:32 *** wyclif has quit IRC
22:36:35 <Alex___> #djazayeri Cool, thanks very much.
22:43:42 *** lh has joined #openmrs
22:43:42 *** lh has joined #openmrs
22:45:23 *** fishandwalk has quit IRC
23:15:12 *** Alex___ has quit IRC
23:15:12 *** Alex___ has joined #openmrs
23:48:38 *** mseaton has joined #openmrs
23:48:38 *** ChanServ sets mode: +v mseaton
23:48:41 *** mseaton has left #openmrs
23:55:03 *** Alex___ has quit IRC