| 00:55:23 | *** OpenMRSBot has joined #openmrs |
| 00:55:28 | *** ChanServ sets mode: +o OpenMRSBot |
| 00:55:46 | *** r0bby_ is now known as r0bby |
| 01:05:49 | *** r0bby has joined #openmrs |
| 01:05:49 | *** ChanServ sets mode: +v r0bby |
| 01:20:35 | *** atomicturtle has joined #openmrs |
| 01:21:21 | *** atomicturtle has left #openmrs |
| 01:43:24 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6675]: ClinicalSummaryModule: Testing summaries to show pending test orders. <http://dev.openmrs.org/changeset/6675> || OpenMRS Changesets: Changeset [6674]: ClinicalSummaryModule: include Change Dose (981) and Refilled (1406) for ⦠<http://dev.openmrs.org/changeset/6674> |
| 03:44:35 | *** nribeka has joined #openmrs |
| 04:17:57 | *** nribeka has quit IRC |
| 04:18:29 | *** nribeka has joined #openmrs |
| 04:29:19 | *** nribeka1 has joined #openmrs |
| 04:49:38 | *** nribeka has quit IRC |
| 08:21:02 | *** [mharrison] has joined #openmrs |
| 10:57:27 | *** upul has joined #openmrs |
| 11:40:12 | *** upul has quit IRC |
| 12:43:17 | *** james_regen has joined #openmrs |
| 12:43:17 | *** ChanServ sets mode: +v james_regen |
| 12:43:32 | <nribeka1> hi james_regen |
| 12:47:26 | *** Echidna has joined #openmrs |
| 13:04:47 | *** bwolfe has joined #openmrs |
| 13:04:47 | *** ChanServ sets mode: +o bwolfe |
| 13:10:55 | <nribeka1> bwolfe, i sent email |
| 13:11:01 | <nribeka1> #965 |
| 13:12:11 | <bwolfe> nribeka1: yep, getting to emails now :-) |
| 13:12:42 | <nribeka1> hehe :D |
| 13:26:27 | <Echidna> bwolfe: if i get "Please fix all errors and try again.", it's usually a binding error, isnt it |
| 13:27:13 | <bwolfe> or any error thrown from the controller using the "errors" object |
| 13:28:17 | <Echidna> hmm |
| 13:28:25 | <Echidna> it's an encounterformcontroller |
| 13:28:43 | <Echidna> i get the error if i pre-assing a patient to the object in formBackingObject |
| 13:28:49 | <Echidna> and then try to save |
| 13:28:57 | <Echidna> completely filled out, of course |
| 13:36:16 | <bwolfe> Echidna: interesting |
| 13:36:26 | <bwolfe> Echidna: is that a custom thing, or in core now ? |
| 13:38:21 | <Echidna> custom |
| 13:38:34 | <Echidna> it works fine if i dont pre-assign a patient |
| 13:38:43 | <Echidna> the patient gets displayed properly on the form too |
| 13:38:47 | <Echidna> just wont save |
| 13:40:32 | <bwolfe> Echidna: do you pass in the variable as patientId in the url perhaps ? |
| 13:41:35 | <Echidna> yes |
| 13:47:41 | <bwolfe> Echidna: thats the problem |
| 13:47:48 | <bwolfe> because that patientId gets submitted again |
| 13:47:58 | <bwolfe> along with the patientId that is inside the <form> tags in your page |
| 13:48:12 | <bwolfe> so the controller sees it again as a list of patientIds: [123, 123] |
| 13:48:25 | <bwolfe> so you have to either rename the url to pId |
| 13:49:00 | <bwolfe> or, what might work, though I've never tried it, is to explicitly set the "action" of the form to the url of the current page without the parameter |
| 13:49:46 | <Echidna> oh |
| 13:49:53 | <Echidna> hm |
| 13:50:07 | <Echidna> i forgot formBackingObject runs again |
| 13:50:13 | <Echidna> after i submit |
| 13:50:36 | <Echidna> bwolfe: btw, is there an openmrs date formatter that includes the time |
| 13:51:17 | <bwolfe> Echidna: isn't there a tag for that ? |
| 13:52:09 | <Echidna> thats what i meant |
| 13:52:17 | <Echidna> the normal one just displays the date |
| 13:52:18 | <Echidna> so hmm |
| 13:54:42 | <bwolfe> Echidna: using openmrs:dateFormat type="long" doesn't do it ? |
| 13:57:20 | <Echidna> oh i wasnt aware of the attribute |
| 13:59:50 | <Echidna> bwolfe: lol that's even longer than w/o formatting |
| 13:59:57 | <Echidna> but at least it doesnt display the ms |
| 14:00:22 | <bwolfe> Echidna: you can also just pass in a format string usnig the "format" attribute |
| 14:00:28 | <bwolfe> and you'll get exactly what you want |
| 14:01:23 | <Echidna> nah it's ok for now |
| 14:01:23 | <Echidna> thx |
| 14:15:17 | <Echidna> bwolfe: is there a date selection widget with time? |
| 14:15:31 | <bwolfe> Echidna: no |
| 14:15:40 | <bwolfe> we need one though |
| 14:15:57 | <Echidna> heh |
| 14:16:01 | <Echidna> i added one to my module |
| 14:16:14 | <Echidna> some third party free one |
| 14:16:29 | <Echidna> i think it's free to distribute as well |
| 14:20:30 | <Echidna> bwolfe: http://img88.imageshack.us/my.php?image=pickergb8.png |
| 14:20:32 | <OpenMRSBot> <http://ln-s.net/2kI3> (at img88.imageshack.us) |
| 14:21:05 | <bwolfe> Echidna: jquery probably has one |
| 14:21:18 | <Echidna> is it included |
| 14:21:28 | <bwolfe> jquery is in core now, yes |
| 14:26:16 | <Echidna> http://docs.jquery.com/UI/Datepicker |
| 14:27:11 | <Echidna> looks very elegant but i dont see a time option |
| 14:28:12 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1059 (task closed): Duplicating form sets wrong creator/changed_by info <http://dev.openmrs.org/ticket/1059#comment:5> || OpenMRS Changesets: Changeset [6676]: Fixed form creator/changedby attributes of duplicated form - #1059 Author: ⦠<http://dev.openmrs.org/changeset/6676> |
| 14:28:53 | <Echidna> yea, date only =/ |
| 14:35:26 | <bwolfe> Echidna: surely there is a separate time selector |
| 14:35:33 | <bwolfe> or timepicker |
| 14:35:35 | <bwolfe> or something |
| 14:38:25 | <Echidna> nope, you'll have to use text fields |
| 14:38:26 | <Echidna> lame |
| 14:40:06 | <bwolfe> jacobb: can you answer this? http://openmrs.org/wiki/Talk:Community |
| 14:45:01 | <Echidna> bwolfe: is the patient summary module customizable somehow? |
| 14:45:08 | <Echidna> like using other obs etc |
| 14:45:24 | <bwolfe> Echidna: I don't know |
| 14:57:39 | <Echidna> bwolfe: do you know how discharge letters are usually forwarded |
| 14:57:47 | <Echidna> in paper form or some electronic format |
| 14:58:03 | <bwolfe> Echidna: I don't know that either |
| 14:59:07 | <Echidna> heh |
| 14:59:11 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6677]: -- chica * fixed file rename in PSF and PWS web controllers * fixed error ⦠<http://dev.openmrs.org/changeset/6677> |
| 14:59:21 | <Echidna> i was thinking about putting an xml document into an observation |
| 14:59:34 | <Echidna> prolly not a good read lol |
| 15:20:26 | *** bwolfe_ has joined #openmrs |
| 15:20:29 | *** ChanServ sets mode: +o bwolfe_ |
| 15:20:39 | *** bwolfe has quit IRC |
| 15:20:44 | *** bwolfe_ is now known as bwolfe |
| 15:29:34 | <nribeka1> bwolfe, why do i get strange character in my name field? does it means my browser can't display it properly or what? |
| 15:29:38 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: openMRS Mirth Messaging module <http://forum.openmrs.org/viewtopic.php?f=8&t=418#p1459> || OpenMRS Changesets: Changeset [6678]: -- chica * updated installer <http://dev.openmrs.org/changeset/6678> |
| 15:30:17 | <bwolfe> nribeka1: it might mean its being encoded wrong. what do you mean by weird characters? |
| 15:30:58 | <nribeka1> Kadek�ba |
| 15:32:03 | <bwolfe> nribeka1: interesting |
| 15:32:09 | <bwolfe> and how is it stored in the db ? |
| 15:32:31 | <bwolfe> I'm not entirely sure where the problem could be |
| 15:32:45 | <bwolfe> I'm guessing its not firefox's problem |
| 15:33:18 | <nribeka1> Kadek�ba |
| 15:33:26 | <nribeka1> that's in the database |
| 15:33:44 | <nribeka1> Kadek�ba that's in the patient page |
| 15:33:46 | <nribeka1> lolz |
| 15:33:54 | <nribeka1> that's first name |
| 15:34:21 | <nribeka1> Ó© --> change to strange char |
| 15:34:51 | <nribeka1> Kadekөba --> Kadek�ba |
| 15:35:51 | <nribeka1> url is: http://localhost:8080/openmrs/admin/patients/newPatient.form?addName=Kadek%E9ba%20Adnyana&addBirthdate=&addAge=24&addGender=M |
| 15:37:43 | <bwolfe> nribeka1: so the strange character was changed |
| 15:37:46 | <bwolfe> and thats the problem |
| 15:37:55 | <bwolfe> if you store that strange character directly in the db via mysql, does it show up right ? |
| 15:39:06 | <nribeka1> so, it's suppose to store as KadekÓ©ba, right bwolfe? |
| 15:39:08 | <nribeka1> ok ok |
| 15:39:11 | <nribeka1> lemme check |
| 15:50:03 | <Echidna> [16:34:30] <nribeka1> Ó© --> change to strange char |
| 15:50:14 | <Echidna> as if the first one isnt strange enough =o |
| 16:03:50 | *** atomicturtle has joined #openmrs |
| 16:04:08 | *** atomicturtle has left #openmrs |
| 16:32:27 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6679]: -- chica * create temporary files directory if it does not exist <http://dev.openmrs.org/changeset/6679> |
| 16:56:49 | *** bwolfe has quit IRC |
| 17:04:27 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6681]: -- chica * updated installer <http://dev.openmrs.org/changeset/6681> || OpenMRS Changesets: Changeset [6680]: reporting-sprint: Committing first set of deliverables: * Implemented ⦠<http://dev.openmrs.org/changeset/6680> |
| 17:09:14 | *** bwolfe has joined #openmrs |
| 17:09:14 | *** ChanServ sets mode: +o bwolfe |
| 17:46:46 | *** nribeka1 has quit IRC |
| 18:07:57 | *** [mharrison] has quit IRC |
| 18:08:04 | *** [m_harrison] has joined #openmrs |
| 18:40:56 | *** nribeka has joined #openmrs |
| 18:44:27 | *** [m_harrison] is now known as [mharrison] |
| 18:47:30 | *** jacobb has quit IRC |
| 18:58:36 | *** Echidna has quit IRC |
| 18:58:42 | *** Echidna has joined #openmrs |
| 19:01:18 | *** jacobb has joined #openmrs |
| 19:01:58 | *** jacobb has quit IRC |
| 19:10:37 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6683]: -- atd * added a link to Edit Form after a new form is created <http://dev.openmrs.org/changeset/6683> || OpenMRS Changesets: Changeset [6682]: -- sockethl7listener * modified handling of attributes for matched ⦠<http://dev.openmrs.org/changeset/6682> |
| 19:17:23 | *** jacobb has joined #openmrs |
| 19:42:42 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6684]: -- chica * fixed privilege redirect in grease board <http://dev.openmrs.org/changeset/6684> |
| 20:14:43 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6685]: -- chica * fixed an error in javascript that was pointing to the wrong ⦠<http://dev.openmrs.org/changeset/6685> |
| 20:46:45 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6686]: chica_module: Increment version of omod due to bunch of fixes <http://dev.openmrs.org/changeset/6686> |
| 21:16:44 | <nribeka> bwolfe, |
| 21:17:53 | <bwolfe> yes? |
| 21:17:57 | <nribeka> ups |
| 21:18:02 | <nribeka> forgot to continue typing |
| 21:18:36 | <bwolfe> haha |
| 21:18:38 | <Echidna> um |
| 21:18:39 | <nribeka> the problem with the name is --> it's not encoded to UTF-8 |
| 21:18:42 | <bwolfe> I often forget that ;-) |
| 21:18:56 | <Echidna> another echidna |
| 21:18:59 | <Echidna> but i only have 1 window |
| 21:19:16 | <nribeka> getParametersForURL --> AddPersonController line 241 |
| 21:19:40 | *** Echidna_ has quit IRC |
| 21:20:25 | <bwolfe> nribeka: does changing that fix the problem ? |
| 21:21:10 | <bwolfe> nribeka: because I have no idea how to fix this problem...hence me assigning it to you |
| 21:21:21 | *** james_regen has quit IRC |
| 21:22:19 | <nribeka> this is what causing it: |
| 21:22:24 | <nribeka> ?addName=" + URLEncoder.encode(name, "UTF-8") + "&addBirthdate=" + birthdate + "&addAge=" + age + "&addGender=" + gender; |
| 21:22:39 | <nribeka> the url encoder is what i add |
| 21:22:46 | <nribeka> originally it's just name |
| 21:23:13 | <nribeka> but i'm not sure if this is the correct place to put the url encoder |
| 21:25:42 | <bwolfe> nribeka: looks right enough to me |
| 21:29:29 | <nribeka> brb bwolfe |
| 21:30:02 | <Echidna> ah heh |
| 21:30:09 | <Echidna> i had to use URLEncoder recently too |
| 21:32:20 | *** jacobb has quit IRC |
| 21:37:42 | *** jacobb has joined #openmrs |
| 22:16:43 | <nribeka> back |
| 22:24:27 | <nribeka> bwolfe, maybe we need to find generic way to do the URLEncode |
| 22:24:42 | <bwolfe> nribeka: how so ? |
| 22:24:46 | <nribeka> otherwise lots of URLEncode need to be performed |
| 22:24:58 | <nribeka> Address 2 --> gaegadégaga |
| 22:25:01 | <nribeka> lolz |
| 22:26:26 | <bwolfe> nribeka: is that not right ? |
| 22:26:47 | <bwolfe> the only text thats passed through the url is the name (when going from findPerson.form to newPatient.form) |
| 22:26:55 | <bwolfe> when is address2 passed through a url ? |
| 22:27:20 | <nribeka> that supposed to be --> gaegadÓ©gaga |
| 22:27:27 | <nribeka> :P |
| 22:27:49 | <bwolfe> ah, so its saving incorrectly ? |
| 22:28:03 | <nribeka> yeps |
| 22:28:21 | <nribeka> i'll trace it and see what i will got |
| 22:39:13 | <nribeka> i need to study .NET too |
| 22:39:14 | <nribeka> lolz |