IRC Chat : 2009-08-02 - OpenMRS

00:00:52 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9620]: 1.5.x: Moved TestTypeFilter to right folder. Followup fix for #1527 <http://dev.openmrs.org/changeset/9620> || OpenMRS Changesets: Changeset [9619]: Moved TestTypeFilter to right folder. Followup fix for #1527 <http://dev.openmrs.org/changeset/9619>
00:11:20 <bwolfe> r0bby: did you upgrade that to a blocker without testing on the latest trunk?
00:22:33 <r0bby> should ir eber it?
00:22:46 <r0bby> let me upgrade :X
00:27:23 <r0bby> bwolfe: no changes to the services
00:27:33 <r0bby> hrm wait
00:27:46 <r0bby> i did a pull recently and didn't upgrade - so i'll tr
00:27:47 <r0bby> y
01:09:20 <r0bby> bwolfe: marked as duplicate
01:36:57 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1707 (defect closed): NonUniqueObjectException when editing users <http://dev.openmrs.org/ticket/1707#comment:4>
01:37:46 <bwolfe> r0bby: sweet, thanks for checking that out. :-)
01:42:48 <Echidna> hey bwolfe
01:42:56 <Echidna> i cant get 1.5 to run anymore
01:42:58 <Echidna> org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Type filter class not found: org.openmrs.util.TestTypeFilter; nested exception is java.lang.ClassNotFoundException: org.openmrs.util.TestTypeFilter
01:43:16 <Echidna> told me that after running that db update page
01:43:33 <bwolfe> Echidna: update again
01:43:47 <Echidna> it wont let me anymore
01:45:21 <bwolfe> Echidna: it won't let you update ??
01:45:37 <Echidna> it wont let me see the update page anymore
01:45:49 <Echidna> get the same exception
01:51:54 <r0bby> Echidna: add an ignore for dist/
01:52:08 <r0bby> :)
01:52:58 <Echidna> why
01:54:56 <r0bby> because dist/ contains stuff that's irrelevent to VCS
01:55:22 <r0bby> you don't need to track the generated jars/omods
01:55:47 <Echidna> it's a classpath folder though
01:55:55 <Echidna> for junit
01:56:17 <r0bby> which is generated when building
01:56:37 <Echidna> some other time
01:56:44 <Echidna> i'm not gonna commit just for that
01:58:37 <r0bby> i personally dont include it :)
01:58:45 <r0bby> it's just preference i guess
01:59:15 <Echidna> also, there was no need to write about it on the dev list
01:59:22 <r0bby> yeh
01:59:31 <r0bby> i regretted that after i hit send sorry bout that
01:59:57 <Echidna> doesnt it mark a project with errors if a classpath folder doesnt exist?
02:01:03 <r0bby> wouldn't know
02:01:08 <r0bby> I dont use eclipse :)
02:08:16 <Echidna> bwolfe: any idea what this could be?
02:08:16 <Echidna> http://pastie.org/568274
02:08:25 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9622]: facility data: add a hasPrivilege check before displaying the links -- … <http://dev.openmrs.org/changeset/9622> || OpenMRS Changesets: Changeset [9621]: facility data: change the required permission to "Enter Facility Data … <http://dev.openmrs.org/changeset/9621>
02:11:21 <bwolfe> Echidna: yes. I already told you. :-)
02:11:30 <bwolfe> Echidna: do an svn update on trunk
02:12:28 <Echidna> oh
02:12:37 <Echidna> that's what you meant by update
02:12:41 <Echidna> gotta be more precise =P
02:13:45 <r0bby> svn update && ant update
02:13:56 <r0bby> precise enough :D
02:14:03 <Echidna> ant update?
02:14:27 <Echidna> is that with auto deploy?
02:14:30 <r0bby> update is the target to update the openmrs install in tomcat.
02:14:55 <r0bby> it recompiles, packages, undeploys and redeploys the war :)
02:15:07 <Echidna> figured
02:15:14 <Echidna> my tomcat is on a different computer though
02:15:17 <Echidna> is it still possible
02:16:18 <r0bby> yeh just specify the url :)
02:19:00 *** atomicturtle has joined #openmrs
02:19:40 *** atomicturtle has left #openmrs
02:24:48 <Echidna> bwolfe: same error
02:26:26 <bwolfe> Echidna: hmm
02:27:10 <Echidna> could liquibase have ruined my db?
02:27:17 <bwolfe> Echidna: no
02:30:59 *** drlove has joined #openmrs
02:32:44 <bwolfe> Echidna: I committed a change a few hours ago that was supposed to fix this. make sure you do an ant clean and then package your war
02:33:19 <Echidna> i think i did
02:33:26 <Echidna> eclipse clean, then ant clean, then ant build
02:33:53 <Echidna> did you commit that fix into trunk or also 1.5?
02:33:57 <bwolfe> what version is your api in /dist ? (be sure to refresh the folder)
02:34:00 <bwolfe> both
02:34:23 <Echidna> openmrs-api-1.6.0.9598-dev
02:34:33 <Echidna> hm
02:34:39 <Echidna> why does it say 1.6.0 when it's 1.5
02:34:58 <Echidna> wrong folder
02:34:59 <Echidna> openmrs-api-1.5.0.9596-RC
02:35:28 <Echidna> hm
02:35:34 <Echidna> something must've gone wrong then
02:35:43 <Echidna> i see it's 9620 now or smt
02:37:33 <Echidna> oh and i also see what exactly went wrong
02:37:40 <Echidna> the second time i updated trunk instead of 1.5
02:37:46 <Echidna> but deployed 1.5..
02:46:26 <r0bby> ...cute
02:51:11 <r0bby> nevermind it makes sense
02:52:36 <Echidna> i have some eclipse questions
02:52:44 <Echidna> (bwolfe)
02:52:44 <Echidna> =)
02:53:01 <Echidna> how do i remove repositories from my subclipse
02:53:56 <Echidna> and how do i make it go to the synchronization perspective if i do team->synchronize (it asks the first time you do it but i said no back then)
02:57:50 <bwolfe> Echidna: to delete a repository, open the SVN Repositories view, right click on it and choose "discard"
02:58:43 <Echidna> oh thx
02:58:49 <bwolfe> Echidna: that option should be in the eclipse properties. use the search box on the properties screen
03:01:14 <Echidna> found it, thx
03:33:07 *** bwolfe has quit IRC
06:16:06 *** nribeka has quit IRC
08:07:04 *** pascal` has joined #openmrs
08:07:46 <pascal`> join #ubuntu-za
08:08:07 <pascal`> oops
08:31:21 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9623]: schedulerquartz: tooltips added in taskForm page <http://dev.openmrs.org/changeset/9623>
08:36:56 *** pascal` has quit IRC
09:58:31 *** drlove has quit IRC
14:22:08 *** pascal` has joined #openmrs
14:22:20 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9624]: schedulerquartz: menu tab style modified <http://dev.openmrs.org/changeset/9624>
16:12:20 *** pascal` has quit IRC
17:03:52 *** bwolfe has joined #openmrs
17:03:52 *** ChanServ sets mode: +o bwolfe
17:14:03 *** bwolfe has quit IRC
18:53:54 *** bwolfe has joined #openmrs
18:53:55 *** ChanServ sets mode: +o bwolfe
22:07:06 *** jmiranda has joined #openmrs
22:07:06 *** ChanServ sets mode: +o jmiranda
22:16:01 <r0bby> bwolfe: mind if i bounce ideas off of you? :X
22:16:25 <r0bby> been trying to figure out how to design an intuitive UI for designing the Form Schemas (The reports themselves)
22:16:40 <r0bby> specifically, how to specify the order of the sections :X
22:18:15 <r0bby> currently -- the insertion order to the list is how we order it :X
22:18:39 <r0bby> the schema has a List of Form Sections -- the form section has a Set of Form Questions
22:19:42 <r0bby> also the same problem arises w/ the ui for form sections -- but question number is how the questions are ordered (e.g., 1a,1b,etc.) so i suppose that problem goes away
22:20:02 <r0bby> i guess i'll think this over -- sorry for thinking outloud :X
22:20:11 <r0bby> just wanna get this right
22:20:12 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [9625]: htmlformentrydesigner: Added rendering of boolean and text concepts <http://dev.openmrs.org/changeset/9625> || Joao Portela: GSOC Weekly Blog Entry (2009-08-02) <http://agnor.wordpress.com/2009/08/02/gsoc-weekly-blog-entry-2009-08-02/>
22:29:43 <bwolfe> r0bby: I would say drag/drop of the sections for the order is the best ui. however, that can be done in the next round. for now, you could just put a little textbox in there for a "sortWeight" or "order number"
22:29:57 <r0bby> bwolfe: yeh
22:30:04 <r0bby> for now i dont wanna get distracted
22:30:10 <bwolfe> r0bby: or you can do a simple "move up" vs "move down" like what the Manage Data Export columns does
22:30:11 <r0bby> I *DID* add a few JS tricks
22:30:24 <r0bby> bwolfe: reporting module?
22:30:26 <bwolfe> r0bby: I agree that it would be a distraction
22:30:39 <bwolfe> r0bby: reportingcompatibility I think
22:30:44 <r0bby> hrm
22:30:51 <bwolfe> r0bby: even the move up/move down would be a distraction
22:31:02 <bwolfe> just put a textbox in there for the user to enter a new sort weight
22:31:11 <r0bby> for now XML Is gonna be the way it's done
22:31:15 <bwolfe> and have a sortWeight column that you order on
22:31:25 * r0bby sighs
22:31:41 <r0bby> I'm gonna make a field in section
22:31:44 <r0bby> called sectionNumber
22:32:12 <r0bby> then change it to a set and order on that similar to what we do for form questions
22:32:22 <r0bby> but.. that won't work :/
22:33:22 <r0bby> This is the UI that's gonna be tricky
22:34:10 <r0bby> I don't have much to go -- this actually the last piece :)
22:34:21 <r0bby> you can edit and save report data :)
22:34:38 <r0bby> -- monthly calendar view needs to be implemented but other than that we're done :)
22:35:40 <r0bby> analysis is useless right now
22:42:43 <r0bby> bwolfe: i see the reporting compatibility
22:42:51 <r0bby> im gonna pull the markup
22:43:38 <r0bby> thanks bwolfe for your input -- if i get anything out of this year's soc is intuitive UI Design skills :)
22:48:49 * r0bby sighs
23:01:15 <bwolfe> r0bby: I still thing the reportingcompat way to do it is more complicated than you need it. for now, just do the textboxes
23:01:20 <bwolfe> and add in the js if you have time at the end
23:10:23 <r0bby> I can steal most of it
23:10:33 <r0bby> bwolfe: i just looked at it -- it's complex but not impossible
23:10:56 <r0bby> shouldn't take me too long to do it
23:11:05 <r0bby> I can probably rip it
23:11:34 <r0bby> bwolfe: my issue and I'm thinking as a user right now: say I define a report
23:11:36 <r0bby> I get to the end
23:11:51 <r0bby> realize i ordered something wrong and have to go back to do it all over again
23:12:02 <r0bby> pain the ass -- i wanna make it intuitive and easy for the user
23:12:13 <r0bby> even if it's hell for me
23:12:22 <r0bby> in the end -- it's worth it
23:12:34 <r0bby> I'm *SLIGHTLY* behind but not too bad
23:12:46 <r0bby> i earmarked more than i could chew i think
23:13:17 <r0bby> I'll just push a lil bit of this monday's milestone into next week's
23:13:57 <bwolfe> r0bby: I agree they shouldn't have to redo it
23:14:20 <r0bby> I don't think this will be too bad i have a lot of code i can reuse from reportingcompatibility
23:14:23 <bwolfe> but if you're behind, you should do the easiest thing you can: a textbox. a user can reorder the form by changing all the numbers to be how they want
23:14:40 <bwolfe> it will take 10 seconds to do
23:14:44 <r0bby> yeh
23:14:57 <bwolfe> and if you have a few days at the end, do the fancy js thing with jquery drag/drop
23:15:19 <r0bby> eh i dont plan on ditching this
23:15:28 <r0bby> I have some stuff i did i dont want changed :X
23:15:51 <bwolfe> ditching what?
23:15:58 <r0bby> the project :)
23:16:06 <r0bby> i'm sticking around forever :)
23:16:24 <bwolfe> ok, then add the jquery after gsoc
23:16:30 <r0bby> yeh im gonna
23:16:40 <r0bby> after soc ends -- im gonna do a quick job for a friend
23:17:23 <r0bby> pay isn't much -- (i'd do it for free; but it's relatively easy; (parsing text with multiple delimiters and a GUI for it :/)
23:17:41 <r0bby> griffon ftw :D finally get to play with it :)
23:31:33 <r0bby> whoa
23:31:36 <r0bby> the DND isn't hard
23:31:41 <r0bby> http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/
23:31:47 <OpenMRSBot> <http://ln-s.net/3m2n> (at www.isocra.com)
23:32:17 <r0bby> it's re-calculating even/odd rows that's annoying :X
23:43:35 <r0bby> oh my god
23:43:36 <r0bby> http://www.dreamcss.com/2009/07/7-interesting-jquery-calendar-plugins.html
23:43:40 <OpenMRSBot> <http://ln-s.net/3m35> (at www.dreamcss.com)
23:49:18 <r0bby> bwolfe: is the MIT license and the OPL compatible?
23:49:33 <bwolfe> probably
23:49:44 <r0bby> I found a Jquery plugin that can be used -- but i need to tweak it -- it can replace the calendar taglib im using which is REALLY creappy
23:49:48 <r0bby> crappy*
23:50:18 <r0bby> because i need to tweak it and i dont want to run into legal issues
23:50:43 <r0bby> gonna happen post soc (since the tag is working as-is; just we need to ax it at some point
23:50:47 <r0bby> mike hates it