00:00:44
|
*** dkayiwa has quit IRC
|
00:10:03
|
*** harsz89 has joined #openmrs
|
00:10:04
|
*** ChanServ sets mode: +v harsz89
|
00:52:13
|
*** bhashitha has quit IRC
|
01:02:10
|
*** Mkop has quit IRC
|
01:09:25
|
*** harsz89 has quit IRC
|
02:09:58
|
*** rday has joined #openmrs
|
02:13:38
|
*** harshadura has joined #openmrs
|
02:13:38
|
*** ChanServ sets mode: +v harshadura
|
02:19:43
|
*** harshadura has quit IRC
|
02:22:40
|
*** rday has quit IRC
|
02:37:31
|
*** djazayeri has joined #openmrs
|
02:37:31
|
*** ChanServ sets mode: +o djazayeri
|
02:40:04
|
*** djazayeri1 has quit IRC
|
02:45:30
|
*** rday has joined #openmrs
|
02:45:35
|
*** breeze has joined #openmrs
|
03:08:19
|
*** wyclif has quit IRC
|
03:12:19
|
*** r_day has joined #openmrs
|
03:14:55
|
*** rday has quit IRC
|
03:29:52
|
*** r_day has quit IRC
|
04:14:10
|
*** breeze has quit IRC
|
04:17:00
|
*** mareias has joined #openmrs
|
04:18:14
|
*** maninc has joined #openmrs
|
04:27:23
|
*** NameFILIP has joined #openmrs
|
04:27:23
|
*** ChanServ sets mode: +v NameFILIP
|
04:31:41
|
*** NameFILIP has quit IRC
|
04:38:06
|
*** evmw has quit IRC
|
05:28:05
|
*** NameFILIP has joined #openmrs
|
05:28:05
|
*** ChanServ sets mode: +v NameFILIP
|
05:32:24
|
*** NameFILIP has quit IRC
|
06:45:47
|
*** LeeBreisacher1 has left #openmrs
|
06:52:59
|
*** rcrichton has joined #openmrs
|
06:59:07
|
*** NameFILIP has joined #openmrs
|
06:59:07
|
*** ChanServ sets mode: +v NameFILIP
|
07:03:42
|
*** NameFILIP has quit IRC
|
07:12:10
|
*** upul has quit IRC
|
07:24:33
|
*** NameFILIP has joined #openmrs
|
07:24:33
|
*** ChanServ sets mode: +v NameFILIP
|
07:26:06
|
*** dmulindwa has joined #openmrs
|
07:30:51
|
*** dmulindwa has quit IRC
|
07:35:25
|
*** k-joseph has joined #openmrs
|
07:48:20
|
*** dmulindwa has joined #openmrs
|
07:51:02
|
*** robbyoconnor has quit IRC
|
07:53:41
|
*** dmulindwa has quit IRC
|
07:54:08
|
*** dmulindwa has joined #openmrs
|
09:16:43
|
*** harsz89 has joined #openmrs
|
09:16:43
|
*** ChanServ sets mode: +v harsz89
|
09:32:30
|
*** dkayiwa has joined #openmrs
|
09:43:35
|
*** dmulindwa_ has joined #openmrs
|
09:43:45
|
*** dmulindwa has quit IRC
|
09:47:09
|
*** dmulindwa_ has quit IRC
|
09:47:18
|
*** dmulindwa has joined #openmrs
|
10:00:51
|
*** isaac_ has joined #openmrs
|
10:01:46
|
*** mareias has quit IRC
|
10:08:10
|
*** mareias has joined #openmrs
|
10:25:50
|
*** rcrichton has quit IRC
|
10:26:47
|
<k-joseph> dkayiwa: hi
|
10:27:00
|
<dkayiwa> k-joseph: hi
|
10:28:42
|
*** rcrichton has joined #openmrs
|
10:31:10
|
<k-joseph> dkayiwa: am adding a testcase inside EncounterServiceTest, i wanted to use a dataset file to set my gp to true, and i thought of using my previously created dataset that is not under the api project but under the web project, and so i tried using some thing like executeDataSet("../../../../../../../web/src/test/resources/org/openmrs/web/encounter/include/EncounterTypeFormControllerTest.xml"); to do this, but the junit engine is complaining that it can't find
|
10:31:10
|
<k-joseph> the file, what can i do, or i create anew dataset file inside api project to set like <global_property property="EncounterType.encounterTypes.locked" property_value="true" uuid="49fa3a80-14be-4e80-b5fd-096b03ebe41d"/> ?
|
10:31:46
|
<dkayiwa> k-joseph: can you ask on the ticket and then just point me to it?
|
10:32:02
|
<k-joseph> ok
|
10:35:16
|
<k-joseph> dkayiwa: added the question at https://tickets.openmrs.org/secure/EditComment!default.jspa?id=73028&commentId=200944
|
10:35:22
|
<dkayiwa> k-joseph: ok
|
10:36:07
|
<k-joseph> dkayiwa: sorry, it is at https://tickets.openmrs.org/browse/TRUNK-4033?focusedCommentId=200944&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-200944
|
10:36:46
|
<dkayiwa> k-joseph: ok
|
10:47:22
|
<dkayiwa> k-joseph: hi
|
10:47:34
|
<dkayiwa> k-joseph: can you pastebin your unit test?
|
10:47:34
|
<k-joseph> dkayiwa: hi
|
10:47:49
|
*** harshadura has joined #openmrs
|
10:47:49
|
*** ChanServ sets mode: +v harshadura
|
10:50:46
|
<k-joseph> dkayiwa: here is my test case that i have added to the current openmrs EncounterServiceTest file http://pastebin.com/vxEbE0gQ
|
10:52:11
|
<dkayiwa> k-joseph: can u also pastebin the erro stack
|
10:53:30
|
*** harshadura has quit IRC
|
10:55:06
|
<k-joseph> dkayiwa: stack trace is http://pastebin.com/fZihbWr8
|
10:55:15
|
<dkayiwa> ok
|
10:58:52
|
*** isaac_ has quit IRC
|
11:00:58
|
*** rcrichton has quit IRC
|
11:04:00
|
*** rcrichton has joined #openmrs
|
11:09:38
|
<dkayiwa> k-joseph: hi
|
11:18:29
|
<k-joseph> dkayiwa: hi
|
11:19:24
|
<dkayiwa> k-joseph: the error in your stack trace is different from what you are reporting :)
|
11:20:34
|
<k-joseph> dkayiwa: !!!
|
11:20:57
|
<k-joseph> dkayiwa: focusing at the part of the trace that is
|
11:21:08
|
<k-joseph> Caused by: java.io.FileNotFoundException: Unable to find '../../../../../../..org/openmrs/web/encounter/include/EncounterTypeFormControllerTest.xml' in the classpath
|
11:22:32
|
<k-joseph> dkayiwa: i tried editing my gp under EncounterServiceTest-initial*.xml file and it passed the test, however some were failing, which made me think to use the dataset i added my self
|
11:23:07
|
<dkayiwa> k-joseph: do you understand the error message in your stack trace?
|
11:23:36
|
<k-joseph> dkayiwa: yes i do,
|
11:23:47
|
<dkayiwa> k-joseph: is it the same and what you reported?
|
11:24:38
|
<k-joseph> dkayiwa: i think it is similar issue
|
11:25:17
|
<dkayiwa> k-joseph: ok let me look at it again :)
|
11:25:59
|
<k-joseph> dkayiwa: i have pasted it afresh, it is http://pastebin.com/gX2sjcrF
|
11:26:13
|
<dkayiwa> k-joseph: have you looked at other unit tests and where they put their dataset files?
|
11:26:37
|
<k-joseph> dkayiwa: checking
|
11:28:38
|
<k-joseph> dkayiwa: i see two dataset files used, forexample org/openmrs/api/include/EncounterServiceTest-initialData.xml , i also did add my code to set my gp to true there but oviously this some already available tests fail!!!
|
11:29:08
|
<dkayiwa> k-joseph: is their location pattern similar to yours?
|
11:29:41
|
<k-joseph> dkayiwa: i need some further clarification there
|
11:30:15
|
<dkayiwa> k-joseph: do they access the test dataset file the same way as yours?
|
11:30:40
|
*** robbyoconnor has joined #openmrs
|
11:30:44
|
*** robbyoconnor has joined #openmrs
|
11:30:44
|
*** ChanServ sets mode: +v robbyoconnor
|
11:33:18
|
<k-joseph> dkayiwa: no, they craete fields for them before accessing them, am trying this way also
|
11:33:45
|
<dkayiwa> k-joseph: the field does not matter. i mean the file path
|
11:34:39
|
<k-joseph> dkayiwa: ok, was actually seeing that as well, they use dataset files that are inside the same folder as they
|
11:35:05
|
<dkayiwa> k-joseph: and are you doing the same?
|
11:35:56
|
<k-joseph> dkayiwa: i can do the same only is i create a new dataset file under the same project as they that is api
|
11:35:57
|
<k-joseph> !1
|
11:35:58
|
<OpenMRSBot> k-joseph: Error: "1" is not a valid command.
|
11:36:37
|
<dkayiwa> k-joseph: why would you want to do it differently from the already existing? :)
|
11:37:21
|
<k-joseph> dkayiwa: is it not possible for me to use the already created file, i created that is now inside the web project
|
11:37:23
|
<k-joseph> ?
|
11:38:44
|
<dkayiwa> k-joseph: can you start by doing how the existing unit tests do it? Then later on, you are free to explore whatever you want. :)
|
11:40:27
|
*** rfriedman has joined #openmrs
|
11:41:08
|
<k-joseph> dkayiwa: ok, then am planning in response to doing it this way to create a new dataset file that am calling EncounterServiceTest-LockEncounterTypes.xml i know this will solve the issue, but will it be a standard way of doing this in openmrs?
|
11:41:54
|
<dkayiwa> k-joseph: look at existing unit test and whatever they do, do so likewise :)
|
11:44:42
|
*** maninc has quit IRC
|
11:58:05
|
*** maninc has joined #openmrs
|
12:11:52
|
*** maninc has quit IRC
|
12:18:37
|
*** k-joseph has quit IRC
|
12:23:45
|
*** mareias has quit IRC
|
12:24:15
|
<rfriedman> rafa, sorry I will not be able to attend SDK beta tomorrow, will try to look at recording or video
|
12:25:06
|
<rafa> rfriedman: I've just e-mailed that SDK beta is not yet out and we will postpone the topic to Sept, 4th.
|
12:25:43
|
<rfriedman> rafa, sorry i wasted h3's time chatting last night :)
|
12:26:06
|
<rafa> rfriedman: haha
|
12:26:24
|
<rafa> rfriedman: yes, let's put all the blame on you :P
|
12:26:43
|
<rfriedman> git blame roger
|
12:40:42
|
*** dkayiwa_ has joined #openmrs
|
12:42:30
|
*** dkayiwa has quit IRC
|
12:42:30
|
*** dkayiwa_ is now known as dkayiwa
|
12:51:21
|
*** mareias has joined #openmrs
|
12:57:16
|
*** dkayiwa has quit IRC
|
13:00:18
|
*** dkayiwa has joined #openmrs
|
13:00:55
|
<rfriedman> rafa, could you help me with a quick question?
|
13:01:03
|
<rafa> rfriedman: sure
|
13:01:27
|
<rfriedman> rafa, in a module can we do simple ioc dependency injection or do we have to follow the service pattern?
|
13:02:17
|
<rafa> rfriedman: you don't have to use the service pattern
|
13:02:51
|
<rafa> rfriedman: dependency injection just works
|
13:03:18
|
<rfriedman> rafa, <bean><property><bean></property></bean> doesn't seem to work
|
13:03:58
|
<rafa> rfriedman: it's <someProperty ref="beanId" />
|
13:05:53
|
<rfriedman> rafa, this is what I have:
|
13:05:55
|
<rfriedman> <bean id="DhisXmlUtils" class="org.openmrs.module.integration.api.impl.DhisXmlUtils">
|
13:05:55
|
<rfriedman> <property name="dao">
|
13:05:55
|
<rfriedman> <ref bean="org.openmrs.module.integration.api.db.hibernate.HibernateDhisDAO"/>
|
13:05:55
|
<rfriedman> </property>
|
13:05:55
|
<rfriedman> </bean>
|
13:08:00
|
<rafa> rfriedman: right, it should work
|
13:08:02
|
<rfriedman> rafa, when I try to do a Context.getService() I get a "Context is null, new context created" message which I take to mean an error in module application context
|
13:09:12
|
<rafa> rfriedman: maybe code snippet?
|
13:09:31
|
<rafa> rfriedman: is it in a test?
|
13:09:35
|
<rfriedman> rafa, happens immediately on debug as junit
|
13:09:36
|
<rafa> rfriedman: that you get an error
|
13:10:18
|
<rafa> rfriedman: does your test extend ...ContextSensitiveTest?
|
13:10:52
|
<rfriedman> base module context sensitive test
|
13:12:29
|
<rafa> rfriedman: is there any error or just Context is null?
|
13:12:57
|
<rfriedman> rafa, just context is null ... there are compile errors in the omod, let me fix them and try again
|
13:32:38
|
<djazayeri> dkayiwa, cpower: standup
|
13:44:52
|
*** mareias has quit IRC
|
13:44:53
|
*** dkayiwa_ has joined #openmrs
|
13:45:33
|
<rfriedman> rafa, can you look at this?
|
13:46:23
|
*** dkayiwa has quit IRC
|
13:46:23
|
*** dkayiwa_ is now known as dkayiwa
|
13:47:03
|
<rfriedman> rafa, never mind, i will come back later
|
13:47:58
|
*** wyclif has joined #openmrs
|
13:48:59
|
*** pusakat has joined #openmrs
|
13:54:07
|
*** pusakat has joined #openmrs
|
14:09:01
|
*** Mkop has joined #openmrs
|
14:10:19
|
<cpower> yes sorry double meetings this morning
|
14:10:31
|
<cpower> !scrumon cpower
|
14:10:31
|
* 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.
|
14:11:19
|
<cpower> Order: djazayeri , rafa , dkayiwa , wyclif , suranga
|
14:12:02
|
<djazayeri> Recently & Today
|
14:12:02
|
<djazayeri> * Emailing with Andy about RefApp diagnosis lists
|
14:12:03
|
<djazayeri> * Organizing tickets and sprint board
|
14:12:03
|
<djazayeri> * Started: RA-151 - Allow actions from the CFPD
|
14:12:03
|
<djazayeri> * Call with Mirebalais pharmacy team about dispensing
|
14:12:04
|
<djazayeri> no blockers
|
14:12:17
|
<rafa> Today:
|
14:12:17
|
<rafa> * Committed further fixes for RA-146
|
14:12:17
|
<rafa> Include diagnoses on the patient dashboard
|
14:12:17
|
<rafa> https://tickets.openmrs.org/browse/RA-146
|
14:12:17
|
<rafa> * Working on RA-188
|
14:12:17
|
<rafa> End Visit from DEPD
|
14:12:17
|
<rafa> https://tickets.openmrs.org/browse/RA-188
|
14:12:18
|
<rafa> No blockers.
|
14:12:26
|
<dkayiwa> Did a commit for: Include vitals on the patient dashboard - RA-147
|
14:12:27
|
<dkayiwa> Now responding to review comments for: Create a cyclical Capture Vital Signs App - RA-173
|
14:12:27
|
<dkayiwa> No Blockers
|
14:12:35
|
<wyclif> Monday:
|
14:12:36
|
<wyclif> - Reviewed and applied follow commit to TRUNK-4011 - Display a confirmation box if stopping a module will automatically shut down other dependent modules
|
14:12:37
|
<wyclif> - design call
|
14:12:39
|
<wyclif> - Turned on patient header for devtest01 as part of RA-145 - Modify the header of the patient dashboard
|
14:12:40
|
<wyclif> - Played around with setting up a vagrantbox
|
14:12:42
|
<wyclif> Tuesday:
|
14:12:43
|
<wyclif> - Fix the vitals page bug when rendering the patient header
|
14:12:45
|
<wyclif> - Review and apply pull request
|
14:12:46
|
<wyclif> - Pick another RA task
|
14:12:46
|
<wyclif> Blockers: None
|
14:13:16
|
*** evmw has joined #openmrs
|
14:13:16
|
*** ChanServ sets mode: +v evmw
|
14:13:21
|
<cpower> Ok anyone else?
|
14:14:12
|
<cpower> Thank you everyone
|
14:14:14
|
<cpower> !scrumoff
|
14:14:14
|
* OpenMRSBot says the DAILY SCRUM MEETING has ENDED. This channel is now returned to normal hacking operations. Post-scrum meeting follow-up conversations may now begin.
|
14:16:18
|
<djazayeri> dkayiwa: you're set then? you've got that issue figured out?
|
14:16:40
|
<dkayiwa> djazayeri: yes thanks for the pointer :)
|
14:16:54
|
<dkayiwa> djazayeri: the display does not look nice though :)
|
14:17:05
|
*** evmw has quit IRC
|
14:17:59
|
<h3llborn> damn just missed it
|
14:18:20
|
<h3llborn> rafa: morning!
|
14:18:27
|
<rafa> h3llborn: hi
|
14:18:31
|
<djazayeri> dkayiwa: is it up on devtest01/2 yet?
|
14:18:38
|
<h3llborn> rafa: I trust you got my email ?
|
14:18:39
|
<dkayiwa> djazayeri: checking....
|
14:18:58
|
<rafa> h3llborn: yes
|
14:19:12
|
<h3llborn> rafa: ok, it should be done within an hour or two :)
|
14:19:25
|
<h3llborn> rafa: I was just tooo exhausted lastnight at 10:45
|
14:20:02
|
<rafa> h3llborn: cool, send me installers to test when ready
|
14:20:26
|
<h3llborn> rafa: sounds good! Im gonna go ahead and fix up the code a bit so it looks better :P
|
14:23:17
|
<dkayiwa> djazayeri: http://devtest01.openmrs.org:8080/openmrs/coreapps/clinicianfacing/patient.page?patientId=7
|
14:23:55
|
<djazayeri> dkayiwa: yeah, that's ugly. :-)
|
14:24:01
|
<djazayeri> dkayiwa: let me see how we did it in Mirebalais
|
14:24:17
|
<dkayiwa> djazayeri: ok :)
|
14:27:30
|
*** dmulindwa has quit IRC
|
14:30:57
|
<djazayeri> dkayiwa: so, take a look at the old patient dashboard for that patient, and look at the vitals encounter in their third visit: http://devtest01.openmrs.org:8080/openmrs/coreapps/patientdashboard/patientDashboard.page?patientId=7&#visits
|
14:31:04
|
<djazayeri> dkayiwa: it's displayed right there
|
14:31:12
|
<dkayiwa> djazayeri: ok
|
14:31:31
|
<djazayeri> dkayiwa: and the reason is that there's a quite a bit of CSS in patientDashboard.scss to make it look right
|
14:31:41
|
<dkayiwa> djazayeri: ok
|
14:33:06
|
<djazayeri> dkayiwa: I think we're going to want to bring over _some_ of that scss, but only parts of it.
|
14:33:15
|
<dkayiwa> djazayeri: ok
|
14:34:01
|
<djazayeri> dkayiwa: I see that currently the CFPD doesn't seem to be including any css
|
14:34:11
|
<dkayiwa> djazayeri: ok
|
14:36:53
|
<djazayeri> So, I think you should (1) create an scss file for this page
|
14:37:21
|
<dkayiwa> djazayeri: ok
|
14:37:25
|
<djazayeri> dkayiwa: (2) add a class like "view-simpleui-form"
|
14:37:32
|
<dkayiwa> djazayeri: ok
|
14:38:21
|
<djazayeri> dkayiwa: and (3) add the minimum number of css rules underneath that class to make things display correctly, taking a few of them from the .collapse section of patientDashboard.scss
|
14:38:36
|
<dkayiwa> djazayeri: ok
|
14:38:58
|
<djazayeri> dkayiwa: e.g. get rid of the border/paddding/margin on fieldset, and set legend to display:none
|
14:39:05
|
<djazayeri> dkayiwa: does that make sense?
|
14:39:09
|
<dkayiwa> djazayeri: yes
|
14:42:51
|
<djazayeri> dkayiwa: cool, let me know if you have any questions/problems
|
14:43:12
|
<dkayiwa> djazayeri: ok
|
14:57:45
|
*** dkayiwa has quit IRC
|
14:58:53
|
*** gschiltz has joined #openmrs
|
14:59:05
|
*** evmw has joined #openmrs
|
14:59:05
|
*** ChanServ sets mode: +v evmw
|
15:04:56
|
*** cospih has joined #openmrs
|
15:05:55
|
*** cospih_ has quit IRC
|
15:05:57
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: KenyaCore 0.8 uploaded to OpenMRS Module Repository <https://modules.openmrs.org/modules/view.jsp?module=kenyacore&version=&0.8>
|
15:10:56
|
*** gschiltz has quit IRC
|
15:13:03
|
*** evmw has quit IRC
|
15:13:34
|
*** rcrichton has quit IRC
|
15:16:58
|
*** GitHub57 has joined #openmrs
|
15:16:58
|
<GitHub57> [openmrs-core] NameFILIP opened pull request #393: TRUNK-4034: Obsolete namespaces for the Hibernate dtd files (master...TRUNK-4034) http://git.io/IMlqDA
|
15:16:58
|
*** GitHub57 has left #openmrs
|
15:17:36
|
*** mareias has joined #openmrs
|
15:26:45
|
*** pusakat has quit IRC
|
15:28:28
|
<rfriedman> mseaton, you really there?
|
15:28:43
|
<mseaton> rfriedman: indeed
|
15:28:55
|
<rfriedman> hey mike, got a minute for a question?
|
15:29:15
|
<rfriedman> mseaton
|
15:29:25
|
<mseaton> rfriedman: in a meeting. you can ask, i'll answer when i can
|
15:29:47
|
<rfriedman> ok, we are trying to use the reporting api to get all cohort definitions
|
15:30:07
|
<rfriedman> when we make the call, we get an error that it can't find ReportSerializer.class
|
15:30:33
|
<rfriedman> the cohort definition web page seems to work
|
15:31:08
|
<rfriedman> the code is :
|
15:32:04
|
<rfriedman> CohortDefinitionService cds = Context.getService(CohortDefinitionService.class);
|
15:32:57
|
<rfriedman> List<CohortDefinition> cohortList = cds.getAllDefinitions(false);
|
15:33:11
|
<rfriedman> and it fails on the 2nd line
|
15:37:37
|
*** breeze has joined #openmrs
|
15:43:38
|
<rfriedman> mseaton (just to make sure you knew I had put my question up)
|
15:50:00
|
*** k-joseph has joined #openmrs
|
15:50:49
|
<mseaton> rfriedman: odd. perhaps you have a module that is including reporting jars, not as provided?
|
15:51:09
|
<rfriedman> mseaton, no, the poms all say provided
|
15:52:02
|
<mseaton> rfriedman: what module are you making these calls from?
|
15:52:24
|
<rfriedman> mseaton, dhis integration module -- gsoc project
|
15:52:42
|
<mseaton> rfriedman: does this module list reporting as a required module in it's config.xml?
|
15:52:55
|
<rfriedman> mseaton, yes
|
15:58:06
|
<rfriedman> wyclif, you there?
|
15:58:20
|
<wyclif> hi rfriedman
|
15:58:46
|
<rfriedman> hi wyclif, do you know of a module that uses a portlet that would make a good model?
|
15:59:21
|
<wyclif> am aware of smart container but that is in the svn repo
|
15:59:56
|
<rfriedman> wyclif, have we gotten away from portlets?
|
16:01:19
|
<wyclif> nope
|
16:01:57
|
<rfriedman> ok, wyclif tks
|
16:02:37
|
<wyclif> welcome
|
16:04:03
|
*** wyclif has quit IRC
|
16:08:06
|
<rfriedman> mseaton, i need to restart my pc, brb or chat with maurya
|
16:08:10
|
*** rfriedman has quit IRC
|
16:08:16
|
*** maurya has joined #openmrs
|
16:15:11
|
*** rfriedman has joined #openmrs
|
16:15:24
|
<rfriedman> mseaton, back
|
16:17:42
|
*** bhashitha has joined #openmrs
|
16:19:24
|
*** breeze has quit IRC
|
16:19:45
|
<rfriedman> rafa, my earlier problem has become a worse one, do you have some time to help me?
|
16:27:39
|
<mseaton> rfriedman: my guess is it is a classloading issue, and you have two conflicting reporting jars on your classpath...
|
16:30:47
|
<rfriedman> mseaton, so how would that be corrected?
|
16:31:25
|
<mseaton> double check your poms for starters. try to reproduce this in another module
|
16:31:45
|
<mseaton> rfriedman: can you share a link to the source
|
16:32:00
|
<rfriedman> mseaton, would a <version> with multiple options have that effect?
|
16:32:24
|
<mseaton> rfriedman: can you show me?
|
16:32:27
|
<rfriedman> https://github.com/maurya/openmrs-module-integration
|
16:32:31
|
<OpenMRSBot> <http://ln-s.net/-qkr> (at github.com)
|
16:33:45
|
<rfriedman> mseaton, here it is:
|
16:33:46
|
<rfriedman> <dependency>
|
16:33:47
|
<rfriedman> <groupId>org.openmrs.module</groupId>
|
16:33:47
|
<rfriedman> <artifactId>reporting-api</artifactId>
|
16:33:47
|
<rfriedman> <version>[0.7,),[0.7.8-SNAPSHOT],[0.8-SNAPSHOT]</version>
|
16:33:47
|
<rfriedman> <scope>provided</scope>
|
16:33:47
|
<rfriedman> </dependency>
|
16:34:20
|
<mseaton> rfriedman: i've never seen anyone do that before. yes, i think that is wrong.
|
16:34:37
|
<mseaton> rfriedman: just add the single version (minimum version) required.
|
16:34:55
|
<mseaton> rfriedman: and set the version in config.xml to match this.
|
16:35:10
|
<rfriedman> mseaton, ok
|
16:35:25
|
*** cospih has quit IRC
|
16:38:19
|
<rfriedman> mseaton, that's what we had before when it was failing, we just changed the pom to see if that was the problem
|
16:38:32
|
<maurya> mseaton: about the problem Roger had been discussing, I've had the same version in both and yet the problem existed
|
16:38:55
|
<mseaton> maurya: what other modules are you running?
|
16:39:33
|
<maurya> serialization.xstream, calculation, html widgets apart from the reporting module
|
16:39:59
|
<rfriedman> mseaton, logic, right maurya?
|
16:40:36
|
<mseaton> maurya: rfriedman so just the basic modules that reporting requires nothing else?
|
16:40:54
|
<rfriedman> yes, mseaton
|
16:41:02
|
<maurya> mseaton: yes
|
16:41:57
|
<rfriedman> mseaton, could they be being started in the wrong order?
|
16:43:24
|
<mseaton> rfriedman: maurya: try including the serialization.xstream stuff in the pom as well
|
16:43:38
|
<rfriedman> mseaton, it's already there per darius
|
16:43:44
|
<rfriedman> calculation also
|
16:43:51
|
<mseaton> rfriedman: maurya: not in the version i'm looking at
|
16:44:11
|
<maurya> mseaton: yes, we were trying different options right now
|
16:44:14
|
<rfriedman> mseaton, you're right, we just put it in maurya's branch this morning
|
16:44:31
|
<rfriedman> i've had it in mine for a while
|
16:44:51
|
<mseaton> rfriedman: maurya: try getting rid of the dependencyManagement section of the parent pom, just adding all of your dependencies there directly, and getting rid of dependencies in the child poms (aside from parent)
|
16:45:30
|
<mseaton> rfriedman: maurya might not make any difference
|
16:46:13
|
<rfriedman> maurya, you may have to hijack openmrs university tomorrow :)
|
16:46:41
|
*** cospih has joined #openmrs
|
16:47:08
|
<maurya> rfriedman: haha, yes. I will raise the question there as well
|
16:57:59
|
*** harshadura has joined #openmrs
|
16:57:59
|
*** ChanServ sets mode: +v harshadura
|
16:59:39
|
<rfriedman> djazayeri, can you help me with a problem?
|
16:59:53
|
<djazayeri> rfriedman: on a call, but maybe
|
17:00:52
|
<rfriedman> djazayeri, as soon as i start a junit test, i get
|
17:00:53
|
<rfriedman> ERROR - Context.getServiceContext(255) |2013-08-27 12:56:35,063| serviceContext is null. Creating new ServiceContext()
|
17:02:42
|
<rfriedman> djazayeri, let me work on my pom a bit, this may be a problem with reporting versions
|
17:04:38
|
*** harshadura has quit IRC
|
17:05:22
|
<h3llborn> rfriedman: this is the article I was talkin about http://www.telegraph.co.uk/news/worldnews/northamerica/usa/9806921/Computer-programmer-outsourced-job-to-China.html
|
17:21:05
|
*** harshadura has joined #openmrs
|
17:21:05
|
*** ChanServ sets mode: +v harshadura
|
17:29:19
|
*** bhashitha has quit IRC
|
17:32:48
|
*** LeeBreisacher has joined #openmrs
|
17:37:15
|
*** wyclif has joined #openmrs
|
17:40:09
|
<rfriedman> h3llborn, thanks
|
17:48:09
|
*** evmw has joined #openmrs
|
17:48:09
|
*** ChanServ sets mode: +v evmw
|
17:49:15
|
<h3llborn> rfriedman: no problem ahha
|
17:56:47
|
*** evmw has quit IRC
|
18:03:53
|
<rfriedman> h3llborn, told r a f a it was my fault you weren't ready for tomorrow, said we'd spent too much time chatting :)
|
18:04:17
|
<rfriedman> djazayeri, ok, here is the problem --
|
18:04:35
|
<rfriedman> i do maven clean install with tests and the tests execute
|
18:05:20
|
<rfriedman> i do a junit test on one of the test classes and before it even starts up i get ERROR - Context.getServiceContext(255) |2013-08-27 14:02:57,168| serviceContext is null. Creating new ServiceContext()
|
18:10:43
|
<rfriedman> djazayeri, and here is some stack trace:
|
18:10:45
|
<rfriedman> org.openmrs.api.APIException: Service not found: interface org.openmrs.messagesource.MessageSourceService
|
18:10:45
|
<rfriedman> at org.openmrs.api.context.ServiceContext.getService(ServiceContext.java:717)
|
18:10:45
|
<rfriedman> at org.openmrs.api.context.ServiceContext.getMessageSourceService(ServiceContext.java:525)
|
18:10:45
|
<rfriedman> at org.openmrs.api.context.Context.getMessageSourceService(Context.java:501)
|
18:10:45
|
<rfriedman> at org.openmrs.module.integration.api.impl.DhisXmlUtils.<init>(DhisXmlUtils.java:54)
|
18:10:47
|
<rfriedman> at org.openmrs.module.integration.api.impl.DhisXmlUtilsTest.<init>(DhisXmlUtilsTest.java:24)
|
18:11:19
|
<djazayeri> rfriedman: in eclipse?
|
18:11:35
|
<rfriedman> yes ... trace is from junit
|
18:14:06
|
*** harshadura has quit IRC
|
18:17:35
|
<h3llborn> rfriedman: aha too kind :)
|
18:28:17
|
*** mareias has quit IRC
|
18:35:08
|
*** k-joseph has quit IRC
|
18:39:01
|
<cpower> djazayeri: are we talking RA-146,134, and 174 tomorrow for the design call or something else?
|
18:43:02
|
<djazayeri> cpower: nope
|
18:43:13
|
<djazayeri> cpower: maybe RA-200 and RA-134
|
18:43:21
|
<djazayeri> cpower: and maybe discuss the "release plan"
|
18:44:20
|
<cpower> djazayeri: Ok so more discussion on 200 and 134, then if we have time the release plan or are we timeboxing the two tickets so that we get to the release plan discussion?
|
18:44:36
|
<djazayeri> cpower: release plan discussion is more important, and RA-200
|
18:44:44
|
<cpower> djazayeri: Then do you want to send an email out to the Dev list or shall I?
|
18:45:21
|
<cpower> djazayeri: How much time do you think the release plan needs?
|
18:45:33
|
<rfriedman> what's left of 200 after last 2 calls?
|
18:45:45
|
<cpower> djazayeri: Big discussion or little discussion
|
18:46:55
|
<djazayeri> rfriedman: discussing RA-200 means reviewing the story now that Kiran put it in the right template/format, and making sure we agree with the ACs.
|
18:47:00
|
*** breeze has joined #openmrs
|
18:47:02
|
<rfriedman> can someone look at installation wizard beforehand and see what mods are necessary
|
18:47:19
|
*** harshadura has joined #openmrs
|
18:47:19
|
*** ChanServ sets mode: +v harshadura
|
18:47:24
|
<djazayeri> rfriedman: don't understand the question/comment
|
18:47:45
|
<djazayeri> cpower: that discussion will be a bit of prep-work for thursday's dev call.
|
18:48:06
|
<rfriedman> clearly we want people to be able to install RA from wizard, question is how much does the flow have to/can change
|
18:48:45
|
<cpower> djazayeri: Ok I'll send something out to that effect and you can adjust the message as you see fit
|
18:49:20
|
<cpower> djazayeri: I just want to get our communication working again instead of it being kind of after the fact
|
18:49:42
|
<djazayeri> cpower: yup, agreed
|
18:49:43
|
* cpower which I completely blame myself for
|
18:51:36
|
* cpower wonders if we could get a volunteer to be a communications person. Gets the word out on meetings, hot topics on twitter, etc..
|
18:54:50
|
*** GitHub126 has joined #openmrs
|
18:54:50
|
<GitHub126> [openmrs-core] NameFILIP opened pull request #394: TRUNK-4029: Hibernate config in parent pom.xml is outdated (master...TRUNK-4029) http://git.io/YAZWJg
|
18:54:50
|
*** GitHub126 has left #openmrs
|
18:56:28
|
*** snoppy has joined #openmrs
|
18:56:33
|
<rfriedman> djazayeri, do you have any clue as to what I can do with my problem? or should I just go to the gym and work out my frustrations?
|
18:57:26
|
*** breeze has quit IRC
|
18:57:36
|
<djazayeri> rfriedman: offhand, this probably means that your eclipse setup somehow has the wrong classpath
|
18:57:58
|
<djazayeri> rfriedman: do you have updated code for all the modules you have checked out in the workspace?
|
18:57:59
|
<rfriedman> djazayeri, probably true ... how to find and correct it?
|
19:03:47
|
*** maurya has quit IRC
|
19:04:50
|
*** snoppy has left #openmrs
|
19:04:51
|
<rfriedman> djazayeri, i think so ... at least versions on which we rely in config.xml and pom
|
19:05:14
|
<djazayeri> rfriedman: I don't really remember where to look for something like this in Eclipse, unfortunately.
|
19:05:28
|
*** harshadura has quit IRC
|
19:05:38
|
<rfriedman> djazayeri, i found a stack overflow which suggests starting in debug mode and looking at the properties, but I don't even get started
|
19:13:12
|
<rfriedman> djazayeri, ok, off to the gym ... could be i need to upgrade omrs from 1.9.0
|
19:13:42
|
<djazayeri> rfriedman: enjoy the treadmill/punching bag/track/whatever
|
19:14:21
|
<rfriedman> djazayeri, recumbent bicycle, weight machines :)
|
19:14:33
|
*** rfriedman has quit IRC
|
19:15:28
|
*** k-joseph has joined #openmrs
|
19:16:04
|
*** lbeier has joined #openmrs
|
19:20:30
|
*** harsz89 has quit IRC
|
19:20:51
|
*** wyclif has quit IRC
|
19:30:20
|
*** breeze has joined #openmrs
|
19:31:49
|
*** harsz89 has joined #openmrs
|
19:31:49
|
*** ChanServ sets mode: +v harsz89
|
19:34:43
|
*** k-joseph has quit IRC
|
19:38:47
|
*** k-joseph has joined #openmrs
|
19:39:04
|
*** breeze has quit IRC
|
19:41:15
|
*** dkayiwa has joined #openmrs
|
19:46:18
|
*** lbeier has left #openmrs
|
20:01:35
|
*** cospih_ has joined #openmrs
|
20:02:52
|
*** cospih has quit IRC
|
20:05:24
|
*** GitHub143 has joined #openmrs
|
20:05:24
|
<GitHub143> [openmrs-core] k-joseph synchronize pull request #390: Trunk 4033 (master...TRUNK-4033) http://git.io/SZwUiQ
|
20:05:24
|
*** GitHub143 has left #openmrs
|
20:27:42
|
*** breeze has joined #openmrs
|
20:32:44
|
*** k-joseph has quit IRC
|
20:35:32
|
*** rday has joined #openmrs
|
20:46:35
|
*** rday has quit IRC
|
20:52:06
|
*** cospih_ has quit IRC
|
20:52:42
|
*** cospih has joined #openmrs
|
20:53:26
|
*** wyclif has joined #openmrs
|
21:08:06
|
*** rday has joined #openmrs
|
21:13:54
|
*** dkayiwa has quit IRC
|
21:19:18
|
*** NameFILIP has quit IRC
|
21:19:46
|
*** NameFILIP has joined #openmrs
|
21:19:46
|
*** ChanServ sets mode: +v NameFILIP
|
21:23:51
|
*** NameFILIP has quit IRC
|
21:49:46
|
*** NameFILIP has joined #openmrs
|
21:49:46
|
*** ChanServ sets mode: +v NameFILIP
|
21:55:18
|
*** rday has quit IRC
|
21:57:55
|
*** NameFILIP has quit IRC
|
22:42:02
|
*** rday has joined #openmrs
|
22:54:47
|
*** NameFILIP has joined #openmrs
|
22:54:47
|
*** ChanServ sets mode: +v NameFILIP
|
22:59:10
|
*** NameFILIP has quit IRC
|
23:02:05
|
*** cjbriese has joined #openmrs
|
23:03:45
|
*** breeze has quit IRC
|
23:05:49
|
*** LeeBreisacher has left #openmrs
|
23:15:28
|
<wyclif> hi djazayeri
|
23:17:02
|
*** cjbriese has quit IRC
|
23:55:17
|
*** NameFILIP has joined #openmrs
|
23:55:17
|
*** ChanServ sets mode: +v NameFILIP
|
23:59:43
|
*** NameFILIP has quit IRC
|