Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

Q&A: Ask OpenMRS »
Discussion: OpenMRS Talk »
Real-Time: IRC Chat

IRC Logs

Child pages
  • 2009-02-25 - OpenMRS
Skip to end of metadata
Go to start of metadata
00:44:41 <Keelhaul> http://i43.tinypic.com/6nwkyf.gif
01:28:39 <r0bby> sigh
01:29:37 <r0bby> i <3 DWR
01:55:44 <r0bby> oh this is adorable
01:56:12 <r0bby> jfreechart was removed yet the ShowGraphServlet wants it
01:57:09 <Keelhaul> removed from where
01:57:15 <Keelhaul> showgraphservlet uses it
01:58:35 <r0bby> I'm well aware of this
01:58:39 <r0bby> it's not in svn anymore
01:58:53 <r0bby> bout ot see who screwed up
01:59:25 <Keelhaul> how so
01:59:27 <Keelhaul> since when
01:59:30 <r0bby> oh it's there
01:59:33 * r0bby hides
01:59:40 <Keelhaul> it was updated recently
01:59:40 <Keelhaul> but nto removed
02:01:55 <r0bby> I saw
02:02:01 * r0bby goofed i didnt touch anytrhing
02:03:05 <r0bby> ok fixed
02:03:11 <r0bby> I had to fix up my project
02:03:17 <r0bby> it's my fault for using IDEA
02:03:28 <r0bby> project and .classpath was not in sync
02:06:06 *** nribeka1 has joined #openmrs
02:23:32 *** nribeka has quit IRC
02:23:37 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6983]: patientsummary: * Added program(s) to header * Fixed lab test … <http://dev.openmrs.org/changeset/6983>
02:45:16 *** atomicturtle has joined #openmrs
02:45:48 *** atomicturtle has left #openmrs
03:44:48 <r0bby> bwolfe: ping
03:44:52 <r0bby> meh
03:49:34 <bwolfe> Keelhaul: to fix the "select configuration": right click on build.xml, choose run as --> external tools config...: then delete all extra ant build things in there...or just delete them all
03:49:39 <bwolfe> r0bby: whats up ?
03:50:13 <r0bby> <spring:bind> it doesn't change the data does it?
03:50:20 <r0bby> or does it just pull in the info?
03:51:13 * r0bby sighs
03:52:19 <r0bby> oh ok
03:52:37 <bwolfe> r0bby: did you answer your own question ?
03:52:45 <r0bby> sort of
03:52:49 <bwolfe> r0bby: it should just modify the formBackingObject
03:53:17 <nribeka1> bwolfe is still here ... :)
03:53:21 <r0bby> yeh that can't happen for one property (fom id)
03:53:23 <r0bby> form*
03:53:33 <r0bby> I intentionally declared it read-only
03:54:09 <r0bby> i rely on it for too many things for somebody to modify it, but i wanted to pull it in from the command object :(
03:54:29 <r0bby> ugh.. I could construct it easily
03:54:47 <r0bby> seriously
03:54:55 * r0bby adds another method to his utility class
03:55:04 <Keelhaul> bwolfe: thx
03:56:21 <r0bby> I hate not fully getting what half this shit is doing
03:58:49 <r0bby> spring
04:01:20 *** nribeka has joined #openmrs
04:02:29 <r0bby> wow
04:07:54 <r0bby> wow... form id remains static it's official
04:10:35 <r0bby> I designed this amazingly
04:16:56 *** nribeka1 has quit IRC
04:38:44 *** bwolfe has quit IRC
04:44:10 *** Keelhaul has quit IRC
07:57:20 *** jmiranda_ has joined #openmrs
08:01:22 *** jmiranda_ has quit IRC
10:20:18 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Blip.tv Videos: PharmacyExport Module <http://blip.tv/file/1813079>
11:36:13 *** nribeka1 has joined #openmrs
11:53:49 *** nribeka has quit IRC
12:36:16 *** james_regen has joined #openmrs
12:36:16 *** ChanServ sets mode: +v james_regen
13:16:55 *** bwolfe has joined #openmrs
13:16:55 *** ChanServ sets mode: +o bwolfe
14:02:08 *** nribeka has joined #openmrs
14:19:42 *** nribeka1 has quit IRC
14:23:11 *** atomicturtle has joined #openmrs
14:24:16 *** atomicturtle has left #openmrs
14:36:32 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1286 (enhancement created): Add all locales to "allowed_locales" global property <http://dev.openmrs.org/ticket/1286>
15:08:39 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1288 (enhancement closed): Move org.openmrs.gutter.tools extension point to the left of the Administration link <http://dev.openmrs.org/ticket/1288> || OpenMRS Changesets: Changeset [6985]: Fixed #1288: Move gutter extension point to the left of the Administration … <http://dev.openmrs.org/changeset/6985> || OpenMRS Tickets: Ticket #1288 (enhancement created): Move org.openmrs.gutter.tools extension point to the left of the Administration link <http://dev.openmrs.org/ticket/1288> || OpenMRS Tickets: Ticket #169 (enhancement closed): Hierarchy of Locations <http://dev.openmrs.org/ticket/169#comment:22> || OpenMRS Tickets: Ticket #1287 (task created): Add Location Hierarchy and Tag Editing to User Interface <http://dev.openmrs.org/ticket/1287> || OpenMRS Changesets: Changeset [6984]: Added API methods for location hierarchy and location tags - #169 Author: … <http://dev.openmrs.org/changeset/6984>
15:22:14 <r0bby> bwolfe: do you have any suggestions for form id
15:22:15 <r0bby> :-/
15:22:27 <r0bby> I'm really disliking the form name + version
15:23:26 <r0bby> once i write the tests it should be ok i think but :-/
15:28:53 <bwolfe> r0bby: what kind of suggestion are you looking for ?
15:29:15 <bwolfe> maybe one folder per form? The folder is named folderid and inside of it you keep all of the different versions ?
15:37:23 <r0bby> that's what i do
15:37:54 <r0bby> ex) form named foo with a version of 1.0 would have the form id: form1.0
15:38:01 <r0bby> ex) form named foo with a version of 1.0 would have the form id: form10
15:39:04 <r0bby> I wrote a beast of a regexp many moons ago which simplified down to something amazing
15:39:32 <r0bby> a friend of mine knows regexp pretty well i learned off of him how to do it and some pretty good practices: 1) be exact as possible 2) ALWAYS anchor it.
15:40:57 <r0bby> you've gotta be shitting me
15:41:16 <r0bby> my discrete math prof isn't here... she's sick :-/
15:42:11 <r0bby> sigh
15:44:11 <bwolfe> no class today then r0bby ?
15:44:51 <r0bby> apparently
15:44:59 <r0bby> Prolly sign it and leave
15:46:10 <r0bby> s/it/in/
16:10:47 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1289 (defect created): Investigate .fileTableLock (Permission denied) on initialization of BIRT <http://dev.openmrs.org/ticket/1289>
16:42:50 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6986]: Added tag to javadoc ant target to hide all warnings for the @should … <http://dev.openmrs.org/changeset/6986> || OpenMRS Changesets: Changeset [6962]: Added logic for longer name searches - #1261 Author: ewolodzko <http://dev.openmrs.org/changeset/6962>
17:31:46 *** nribeka has quit IRC
17:46:57 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1290 (task created): Change description of global property layout.name.format in next openmrs liquibase update <http://dev.openmrs.org/ticket/1290>
18:27:00 *** nribeka has joined #openmrs
19:47:52 *** openmrs_6273 has joined #openmrs
19:49:45 *** openmrs_6273 has quit IRC
19:55:05 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6987]: installer-nbi: JREPanel formatting <http://dev.openmrs.org/changeset/6987>
19:57:47 <nribeka> bwolfe
19:58:03 <bwolfe> nribeka
19:58:20 <nribeka> :D
19:58:42 <nribeka> how to test the patient user person that you did before?
19:59:29 <bwolfe> nribeka: which one is that ?
20:00:04 <nribeka> the one that you mention yesterday?
20:01:14 <bwolfe> hmm
20:01:21 <bwolfe> not entirely sure
20:01:28 <nribeka> lemme check the logs :P
20:01:30 <bwolfe> need to know if it hits the cache or not
20:01:39 <bwolfe> get a Person
20:01:41 <bwolfe> then get a Patient
20:01:51 <bwolfe> and need to know if hibernate used the cache or not
20:01:57 <bwolfe> not sure how to do that in a unit test
20:03:38 <nribeka> hmm
20:03:52 <nribeka> so we need to know if it's real patient or proxy?
20:04:03 <bwolfe> nribeka: maybe
20:06:45 <nribeka> ok bwolfe, lemme see :D
20:08:23 <bwolfe> maybe you just check if the returned object is truly a patient or is truly a person
20:16:42 <r0bby> o/
20:17:03 <r0bby> why are concerning if it's cached or not (curious)
20:17:08 <r0bby> concerned*
20:17:08 <nribeka> by the string name probably bwolfe
20:18:09 <nribeka> you can check the ticket logs rob. maybe you can give me some hints? :)
20:18:32 <r0bby> which ticket?
20:18:45 <r0bby> I will NEVER forget what a Multiplexor is lol
20:19:01 <nribeka> 725 i think
20:23:47 <bwolfe> r0bby: hibernate caches database data. this is good until it mistakes a Patient object for User object because both are Person objects. this is what nribeka is trying to fix
20:25:03 <r0bby> ahh
20:25:10 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1280 (enhancement closed): Move org.openmrs.gutter.tools extension point to the left of the Administration tab <http://dev.openmrs.org/ticket/1280#comment:2> || OpenMRS Changesets: Changeset [6988]: installer-nbi: MySQLPanel writes temporary properties <http://dev.openmrs.org/changeset/6988>
20:25:16 <nribeka> so r0bby, any hints? :)
20:25:25 <r0bby> too lazy to read right now
20:26:17 <r0bby> this reminds me, groovy added a method to sanitize stack traces
20:26:22 <r0bby> this is needed
20:26:33 <r0bby> currently stack traces are a bitch :/
20:26:53 <r0bby> and since i do some voodoo magic behind the scenes of adding imports
20:27:09 <r0bby> I may just manipulate the AST direct as to keep line numbers consistent
20:27:29 <r0bby> weee
20:29:58 <r0bby> yeh i dont understand hibernate
20:30:02 <r0bby> I've avoided it
20:30:03 <r0bby> :>
20:48:17 <bwolfe> r0bby: hibernate is your friend
20:57:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6989]: trunk. fixed three errors in Location.hbm.xml and LocationTag.hbm.xml. <http://dev.openmrs.org/changeset/6989>
21:01:05 *** james_regen has quit IRC
21:17:50 *** [mharrison] has quit IRC
21:29:49 <nribeka> bwolfe, i have a question non openmrs related :D
21:30:12 <bwolfe> nribeka: no problem
21:30:44 <nribeka> is it possible for me to create chat room like #openmrs? and is there any docs for it?
21:31:16 <nribeka> sorry for the noob q
21:31:16 <nribeka> :D
21:31:25 <bwolfe> nribeka: yep
21:31:41 <bwolfe> just do /join #nribekaisthecoolestnicknameever
21:32:24 <nribeka> ow ... and then the channel will be mine forever? :P
21:34:37 <bwolfe> nribeka: until you leave
21:34:58 <bwolfe> nribeka: you have to register with freenode somehow to get a channel to be yours forever
21:35:47 <nribeka> ooo ic ic
21:35:50 <nribeka> :D
22:01:19 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1291 (task created): Fix Person/Patient/User Name searches to include other columns <http://dev.openmrs.org/ticket/1291> || OpenMRS Changesets: Changeset [6991]: 1.4.x branch: Backported fix for person name searches of more than 4 names … <http://dev.openmrs.org/changeset/6991> || OpenMRS Changesets: Changeset [6990]: trunk. adding liquibase changeSet to change location_tag.retired_reason … <http://dev.openmrs.org/changeset/6990>
22:05:13 <r0bby> nribeka: you fail as a geek, hand over your card.
22:05:57 <nribeka> sorry rob :)
22:05:59 <nribeka> xixi
22:06:40 <nribeka> do you read http://www.geekherocomic.com/ r0bby?
22:30:26 <Echidna> bwolfe: 6990 wont start in tomcat
22:30:27 <Echidna> Reason: liquibase.exception.JDBCException: Error executing SQL ALTER TABLE `location` ADD `parent_location` int(11):
22:30:27 <Echidna> Caused By: Error executing SQL ALTER TABLE `location` ADD `parent_location` int(11):
22:30:27 <Echidna> Caused By: Duplicate column name 'parent_location'
22:31:06 <Echidna> i'm pretty sure i didnt make the changes to my local db previously
22:33:21 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6992]: Fixed location dbunit file for unit tests to work with new location table … <http://dev.openmrs.org/changeset/6992>
22:33:44 <bwolfe> Echidna: hmm, well, it looks like you did :-p
22:34:08 <bwolfe> Echidna: do you have the location_tags tabel ?
22:34:43 <Echidna> yea actually
22:34:45 <Echidna> weird
22:35:09 <Echidna> can i just delete all of those new tables
22:35:12 <Echidna> and fields
22:35:16 <Echidna> and keys
22:35:19 <Echidna> and try to load it again
22:37:21 <bwolfe> Echidna: and you'll probably need to modify the liquibasechangelog table
22:37:44 <Echidna> dammit
22:37:45 <Echidna> where is it
22:37:48 <Echidna> nm
22:38:47 <nribeka> bwolfe, using entityName always fails :(
22:39:06 <bwolfe> nribeka: fails where ?
22:39:20 <Echidna> bwolfe: hmm why is there a location.parent_location and location.parent_location_id
22:39:39 <bwolfe> Echidna: because you called it parent_location_id
22:39:53 <Echidna> is that wrong?
22:40:12 <Echidna> encounter calls it location_id
22:40:24 <nribeka> it always miss the cache
22:41:59 <bwolfe> nribeka: argh
22:42:08 <nribeka> :(
22:42:13 <bwolfe> nribeka: so now we're back to the idea that we need to change the mappping
22:42:28 <nribeka> using root it didn't fails though
22:42:33 <bwolfe> nribeka: when I was in there looking at it today I noticed that "identifier" is in the hashcode and equals
22:42:37 <bwolfe> perhaps we can modify that somehow
22:43:00 <bwolfe> I wonder if there is a way to make hibernate see the identfieir as "1-person" and "1-patient" instead of just "1" for both
22:43:18 <nribeka> in the hash code?
22:43:31 <nribeka> hmm 37 * result + identifierType.getHashCode( identifier, entityMode, factory )?
22:43:49 <Echidna> bwolfe: why is location_tag.retired a tinyint(4)
22:44:33 <bwolfe> Echidna: because thats the default for liquibase
22:44:47 <bwolfe> Echidna: all the bits are if you create your db or tables with liquibase
22:44:47 <Echidna> what a waste of space lol
22:45:09 <bwolfe> space is cheap ;-)
22:45:55 <bwolfe> gotta run. dinnertime.
22:47:08 <Echidna> me too
22:47:09 <Echidna> bai
22:47:27 <nribeka> cya bwolfe n Echidna
23:03:05 *** bwolfe has quit IRC
23:05:25 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6993]: formimportexport module. repaired problem for non-synchronization OpenMRS. … <http://dev.openmrs.org/changeset/6993> || OpenMRS Modules: Form Import Export 1.5.9 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=formimportexport&version=&1.5.9>
23:06:06 *** upul has joined #openmrs
23:31:44 *** bwolfe has joined #openmrs
23:31:44 *** ChanServ sets mode: +o bwolfe
23:36:47 *** bwolfe has quit IRC
23:39:45 *** bwolfe has joined #openmrs
23:39:45 *** ChanServ sets mode: +o bwolfe
23:41:26 <basic`> bwolfe: just FYI, copying the current database takes ~3 minutes, as long as we can figure out the theming issues, the upgrade should be pretty quick for 0.10->0.11
23:42:18 <bwolfe> basic`: sweet. thats great to hear!
23:42:37 <bwolfe> basic`: I'm getting pretty sick of our now-slower trac! I hope we can upgrade soon. :-)
23:43:12 <basic`> i hope so too :)
23:43:37 <basic`> im still aiming to have a semi-functioning copy by friday to play with
23:51:41 <bwolfe> awesome
  • No labels