| 00:29:51 | *** fixl has joined #openmrs |
| 01:27:52 | *** fixl has quit IRC |
| 01:56:25 | *** fixl has joined #openmrs |
| 02:00:21 | *** misha680 has joined #openmrs |
| 02:03:26 | *** abbas has joined #openmrs |
| 02:04:07 | <abbas> Hi all, i have a question concerning validation (http://tickets.openmrs.org/browse/TRUNK-1864) |
| 02:04:28 | <abbas> this is my first openmrs ticket, so bare with me plz :) |
| 02:05:08 | <abbas> i am currently aware that validation occurs on the server-side and that normally, the validation occurs in the service |
| 02:05:52 | <abbas> i was thinking of resolving this ticket by creating a ConceptDrugValidator implementing Validator, and use it in the service methog (before actually saving). |
| 02:06:42 | <abbas> the only problem is that the exception occurs in the controller, before calling the service method: ConceptDrugFormController: |
| 02:06:48 | <abbas> drug.setConcept(conceptService.getConcept(Integer.valueOf(request.getParameter("conceptId"))); |
| 02:07:12 | <abbas> am i thinking in the wrong direction here? |
| 02:07:47 | *** bwolfe has joined #openmrs |
| 02:07:47 | *** ChanServ sets mode: +o bwolfe |
| 02:09:36 | <abbas> shouldn't validation occur on the service level? |
| 02:10:04 | <abbas> if that is the case, implementing it on the service level will not be enough since the exception occurs in the controller before calling the saveDrug |
| 02:14:38 | <abbas> Hi Wolfe, what's the process once i'm done with an introductory ticket? |
| 02:23:05 | *** mathiaslin has joined #openmrs |
| 02:26:05 | *** chopin has joined #openmrs |
| 02:26:05 | *** ChanServ sets mode: +v chopin |
| 02:28:09 | <bwolfe> abbas: upload a patch and mark it as need review |
| 02:29:44 | <abbas> ok, on jira right? |
| 02:29:50 | <bwolfe> yeah |
| 02:29:56 | <bwolfe> !patch |
| 02:29:56 | <OpenMRSBot> bwolfe: Error: "patch" is not a valid command. |
| 02:30:01 | <bwolfe> !patches |
| 02:30:01 | <OpenMRSBot> bwolfe: "patches" --- http://openmrs.org/wiki/Patches |
| 02:30:09 | <abbas> great |
| 03:31:24 | *** bwolfe has quit IRC |
| 03:43:46 | *** misha680 has quit IRC |
| 03:44:46 | *** misha680 has joined #openmrs |
| 04:19:29 | *** diptanuc has joined #openmrs |
| 04:35:28 | *** chopin has quit IRC |
| 05:05:16 | <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS trunk #16733: [Wyclif Luyima] Added ability to maintain the original ordering of hits received from the server in the search widget - TRUNK-1652 <http://feedproxy.google.com/~r/OMRStrunk/~3/HghjECjpbxg/> |
| 05:05:34 | *** muthah has joined #openmrs |
| 05:28:11 | *** diptanuc has quit IRC |
| 05:35:07 | *** mathiaslin has quit IRC |
| 05:36:16 | *** mathiaslin has joined #openmrs |
| 05:36:45 | *** mathiaslin has quit IRC |
| 05:43:31 | *** diptanuc has joined #openmrs |
| 05:52:45 | *** abbas has quit IRC |
| 06:25:20 | *** robota has joined #openmrs |
| 06:38:48 | *** pascal` has joined #openmrs |
| 07:29:22 | *** diptanuc has quit IRC |
| 07:48:08 | *** robota_ has joined #openmrs |
| 07:48:49 | *** robota has quit IRC |
| 07:52:24 | *** robota_ has quit IRC |
| 07:54:25 | *** robota_ has joined #openmrs |
| 08:03:25 | *** robota_ has quit IRC |
| 08:36:59 | *** diptanuc has joined #openmrs |
| 08:39:14 | *** Hazamonzo has joined #openmrs |
| 08:47:23 | *** muthah has quit IRC |
| 08:52:04 | *** muthah has joined #openmrs |
| 11:56:37 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: How to add an encounter <http://forum.openmrs.org/viewtopic.php?f=11&t=718#p2704> |
| 13:02:46 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Home page <http://forum.openmrs.org/viewtopic.php?f=22&t=719#p2705> |
| 13:16:41 | *** robbyoconnor has quit IRC |
| 13:29:42 | *** fixl has quit IRC |
| 13:59:30 | *** bwolfe has joined #openmrs |
| 13:59:30 | *** ChanServ sets mode: +o bwolfe |
| 14:09:05 | *** diptanuc has quit IRC |
| 14:29:15 | *** zeshan has joined #openmrs |
| 14:29:18 | *** ChanServ sets mode: +v zeshan |
| 14:33:04 | *** pascal` has quit IRC |
| 15:23:24 | *** pascal` has joined #openmrs |
| 15:33:40 | *** pascal` has quit IRC |
| 15:39:40 | *** wyclif has joined #openmrs |
| 15:39:48 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: problem on adding modules to the openmrs <http://forum.openmrs.org/viewtopic.php?f=8&t=716#p2711> || OpenMRS Forum: Re: problem on adding modules to the openmrs <http://forum.openmrs.org/viewtopic.php?f=8&t=716#p2710> || OpenMRS Forum: Re: problem on adding modules to the openmrs <http://forum.openmrs.org/viewtopic.php?f=8&t=716#p2709> || OpenMRS Forum: Re: problem on adding modules to the openmrs <http://forum.openmrs.org/viewtopic.php?f=8&t=716#p2708> || OpenMRS Forum: Re: How to add an encounter <http://forum.openmrs.org/viewtopic.php?f=11&t=718#p2707> || OpenMRS Forum: Re: Home page <http://forum.openmrs.org/viewtopic.php?f=22&t=719#p2706> |
| 15:53:46 | *** pascal` has joined #openmrs |
| 15:59:25 | *** gbastien has joined #openmrs |
| 16:00:49 | *** chopin has joined #openmrs |
| 16:00:49 | *** ChanServ sets mode: +v chopin |
| 16:13:23 | *** diptanuc has joined #openmrs |
| 16:36:44 | *** misha680 has quit IRC |
| 16:41:35 | *** zeshan has left #openmrs |
| 17:12:12 | *** lh has joined #openmrs |
| 17:27:22 | *** aja has joined #openmrs |
| 17:41:28 | *** misha680 has joined #openmrs |
| 17:53:00 | *** diptanuc has quit IRC |
| 18:12:33 | *** diptanuc has joined #openmrs |
| 18:29:14 | *** bwolfe has quit IRC |
| 18:35:16 | *** bwolfe has joined #openmrs |
| 18:35:16 | *** ChanServ sets mode: +o bwolfe |
| 19:05:22 | *** robbyoconnor has joined #openmrs |
| 19:05:22 | *** ChanServ sets mode: +v robbyoconnor |
| 19:18:09 | *** aja has quit IRC |
| 19:18:17 | <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS trunk #16736: [Wyclif Luyima] Added methods to the API to support batch look up for locations - TRUNK-1663 <http://feedproxy.google.com/~r/OMRStrunk/~3/JGZiqcw2BXY/> || OpenMRS Modules: Patient Flags 1.2.8 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=patientflags&version=&1.2.8> |
| 19:31:09 | *** robbyoconnor has quit IRC |
| 19:37:49 | <deadpool> bwolfe i am still getting the same error i was talking to you about yesturday and i can't seem to find where in the application context file it is reading it from |
| 19:53:07 | <bwolfe> deadpool: no moduleApplicationContext or webModuleApplicationContext xml files in your metadata dir? |
| 19:55:10 | <deadpool> bwolfe: there is a moduleApplicationContext.xml but it is the standard one i got when i downloaded the basic module. I didn't touch it at all |
| 19:55:37 | <bwolfe> pastebin.com your two files |
| 19:55:43 | <bwolfe> the two xml files |
| 20:01:23 | <deadpool> http://pastebin.com/VcaR83jB moduleApplicationContext.xml http://pastebin.com/kYqYCAHD config.xml |
| 20:15:40 | *** pascal` has quit IRC |
| 20:18:16 | *** diptanuc has quit IRC |
| 20:20:54 | *** pascal` has joined #openmrs |
| 20:21:03 | <OpenMRSBot> Recent updates in the world of openmrs: Glen McCallum: OpenMRS Spotlight Update <http://blog.glenmccallum.com/2010/11/30/openmrs-spotlight-update/> |
| 20:37:15 | <deadpool> bwolfe: can you see where i made the mistake? |
| 20:49:34 | *** pascal` has quit IRC |
| 21:13:09 | <bwolfe> deadpool: no other xml files in the metadata folder? |
| 21:13:20 | <bwolfe> deadpool: must be an annotation thing. what do you have as annotations on your java files? |
| 21:14:56 | <deadpool> bwolfe: no other xml files i didn't change any annotations |
| 21:15:48 | <bwolfe> deadpool: whats the controller file look like? |
| 21:15:59 | <bwolfe> and what other modules do you have installed in openmrs when you try to load yours? |
| 21:17:32 | <deadpool> the htmlformentry |
| 21:35:47 | <bwolfe> hmm, must be something duplicated in your controller |
| 21:35:52 | <bwolfe> pastebin your controller file deadpool |
| 21:36:48 | <deadpool> bwolfe: here it is http://pastebin.com/prdQPVFp |
| 21:37:55 | <bwolfe> deadpool: no other controllers? that one shouldn't even be working because you don't have the @controller annotation on it... |
| 21:39:18 | <deadpool> really |
| 21:39:25 | <deadpool> that is the only controller i have |
| 21:39:46 | <deadpool> should i put the @controller in there i got rid of it cause i didn't know what it did |
| 21:53:06 | <bwolfe> yes, leave it in |
| 21:53:37 | <bwolfe> ok, what other files do you have that have annotations? |
| 21:53:48 | <bwolfe> or maybe you just need to do a clean build? perhaps some files are being left behind |
| 21:56:59 | <deadpool> bwolfe: how do i run as a clean build in eclipse i can't seem to find that option only run as an ant build |
| 21:58:46 | <bwolfe> ant clean |
| 21:58:49 | <bwolfe> ant package-web |
| 21:58:53 | <bwolfe> or ant clean package-web |
| 21:58:58 | <bwolfe> in the build.xml file |
| 22:02:17 | <deadpool> bwolfe: it worked thanks cleaning it was the solution thanks a bunch |
| 22:02:59 | <bwolfe> woot! I knew it had to be something strange! |
| 22:07:55 | *** robbyoconnor has joined #openmrs |
| 22:07:55 | *** ChanServ sets mode: +v robbyoconnor |
| 22:10:15 | *** bwolfe has quit IRC |
| 22:13:36 | *** bwolfe has joined #openmrs |
| 22:13:36 | *** ChanServ sets mode: +o bwolfe |
| 23:27:01 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Restrict By Role 1.1 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=restrictbyrole&version=&1.1> |
| 23:32:45 | *** gbastien has quit IRC |
| 23:53:35 | *** misha680 has quit IRC |