00:02:51
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: UI Library Module 1.2 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=uilibrary&version=&1.2>
|
00:09:59
|
*** kreddy has quit IRC
|
00:14:24
|
<venkaban> bwolfe, Hi
|
00:15:09
|
<venkaban> bwolfe, Do we have any Database details for local development or w=do we need to create our own data?
|
00:15:46
|
*** sgithens has joined #openmrs
|
00:32:07
|
*** wyclif has joined #openmrs
|
00:35:47
|
*** venkaban has quit IRC
|
00:36:19
|
*** jordank has quit IRC
|
00:39:29
|
*** jordank has joined #openmrs
|
00:59:32
|
*** harshadura has quit IRC
|
01:32:28
|
*** mseaton has joined #openmrs
|
01:32:28
|
*** ChanServ sets mode: +v mseaton
|
01:32:37
|
*** mseaton has left #openmrs
|
01:56:06
|
*** harshadura has joined #openmrs
|
03:06:22
|
*** r0bby has joined #openmrs
|
03:06:22
|
*** ChanServ sets mode: +v r0bby
|
03:22:26
|
*** Maurya_ has joined #openmrs
|
03:22:47
|
*** Maurya__ has joined #openmrs
|
03:26:59
|
*** Maurya_ has quit IRC
|
03:39:25
|
*** upul` has joined #openmrs
|
03:39:25
|
*** ChanServ sets mode: +v upul`
|
03:50:28
|
*** harshadura has quit IRC
|
05:08:47
|
*** sunbiz has joined #openmrs
|
05:08:47
|
*** ChanServ sets mode: +v sunbiz
|
05:17:06
|
*** goutham has joined #openmrs
|
05:27:33
|
*** robbyoconnor has quit IRC
|
05:28:39
|
*** robbyoconnor has joined #openmrs
|
05:28:39
|
*** ChanServ sets mode: +v robbyoconnor
|
06:00:33
|
*** mvorobey has joined #openmrs
|
06:04:30
|
*** bryq has joined #openmrs
|
06:04:30
|
*** ChanServ sets mode: +v bryq
|
06:14:19
|
*** dkayiwa has joined #openmrs
|
06:16:23
|
*** applecool has joined #openmrs
|
06:27:07
|
*** Maurya__ has quit IRC
|
06:27:39
|
*** maurya has joined #openmrs
|
06:27:52
|
*** bryq has quit IRC
|
06:28:05
|
*** magoo_ has joined #openmrs
|
06:28:13
|
*** pushkar has joined #openmrs
|
06:28:18
|
<pushkar> bwolfe,
|
06:28:20
|
<pushkar> hi
|
06:28:40
|
<dkayiwa> pushkar: he is probably sleeping :)
|
06:28:58
|
<goutham> dkayiwa: Good morning :)
|
06:29:09
|
<dkayiwa> good morning goutham :)
|
06:29:35
|
*** djazayeri has quit IRC
|
06:30:23
|
<pushkar> dkayiwa, okay
|
06:30:36
|
<goutham> dkayiwa: was sleepy yesterday.. so went early :P seems you went ofline soon
|
06:30:55
|
<dkayiwa> goutham: haahahaha, i fell asleep :)
|
06:30:56
|
*** djazayeri has joined #openmrs
|
06:30:56
|
*** ChanServ sets mode: +o djazayeri
|
06:32:12
|
<goutham> dkayiwa: :)
|
06:32:49
|
<goutham> dkayiwa: so any more notes*
|
06:33:19
|
<goutham> dkayiwa: tables name will be : 1) form_filter_property 2) form_filter
|
06:33:55
|
<dkayiwa> goutham: doesn't that break the convention of moduleid.tablename?
|
06:35:27
|
<goutham> dkayiwa: Yes it does... but yesterday u mentioned about '_' between form and filter
|
06:35:48
|
<dkayiwa> goutham: that is for the tablename part :)
|
06:36:23
|
<dkayiwa> goutham: so i meant something like: formfilter_form_filter :)
|
06:36:53
|
<dkayiwa> goutham: formfilter_form_filter_property
|
06:37:45
|
* goutham thinks its too long
|
06:37:56
|
<dkayiwa> goutham: i agree :)
|
06:38:14
|
<dkayiwa> goutham: and sounds funny :)
|
06:38:25
|
<goutham> dkayiwa: ya :D
|
06:38:47
|
<dkayiwa> goutham: so how about: formfilter_filter & formfilter_filter_property ?
|
06:39:16
|
<goutham> dkayiwa: sounds better :P
|
06:39:39
|
<dkayiwa> goutham: that way we shall not have broken the convention :)
|
06:40:16
|
<goutham> dkayiwa: Yes :) i am locking these names then
|
06:40:30
|
<dkayiwa> goutham: just go ahead d:)
|
06:41:09
|
<goutham> :)
|
06:41:14
|
<dkayiwa> goutham: another question, can you remind me why we have the form_id field in the formfilter_filter_property table?
|
06:42:52
|
<goutham> dkayiwa: i just thought to have one to many mappng , so that we can get all the properties and class names under one list of filter Object
|
06:44:41
|
<dkayiwa> goutham: not sure i understand you in respect to my question :)
|
06:48:05
|
<goutham> goutham: form_id was not there before.....it was one to one mapping between two tables
|
06:48:44
|
<dkayiwa> goutham: so why did we add it?
|
06:49:27
|
<goutham> dkayiwa: to make it one to many mapping....
|
06:50:02
|
<goutham> dkayiwa: so that one choosing a form id... respected all filter's are available at one shot
|
06:50:15
|
<goutham> one=on *
|
06:51:25
|
<dkayiwa> goutham: does that mean each filter_property row will reference a form?
|
06:53:18
|
<goutham> dkayiwa: yes
|
06:54:23
|
<dkayiwa> goutham: can you give just one example of just one filter_property?
|
06:57:36
|
<goutham> dkayiwa: filter_property(form_id :1 , class_name:AgeFormFilter , properties: ageMax=60&ageMin=18)
|
06:59:13
|
<dkayiwa> goutham: and what would be its corresponding row in the form_filter table?
|
07:02:13
|
<goutham> goutham: filter(form_filter_id:unique, form_id:1 , creator:1......)
|
07:03:14
|
<dkayiwa> goutham: what field links those two tables?
|
07:04:35
|
<goutham> form_id -=>form_id
|
07:05:45
|
<goutham> goutham: filter.form_id=> filter_property.form_id
|
07:06:39
|
*** magoo_ has quit IRC
|
07:08:37
|
<goutham> dkayiwa: guess.. i am considering things completely out of phase
|
07:08:48
|
<goutham> dkayiwa: can you give me an example ?
|
07:09:45
|
<dkayiwa> goutham: i thought the form_filter table has the association between a form and its filter
|
07:09:53
|
*** magoo_ has joined #openmrs
|
07:10:13
|
<dkayiwa> goutham: then the filter_property has the detailed properties for each given filter
|
07:11:42
|
<dkayiwa> goutham: any comments on that?
|
07:13:51
|
<goutham> dkayiwa: no comments
|
07:14:02
|
<dkayiwa> goutham: :D
|
07:14:57
|
<dkayiwa> goutham: you are free to engage me and suggest what you feel is better :)
|
07:15:30
|
<goutham> dkayiwa: can you give me in detail example by taking ageformfilter
|
07:15:58
|
<goutham> dkayiwa: please... i am bit confused now .. in wat columns take wat values
|
07:18:18
|
<dkayiwa> goutham: can we both look at this: https://wiki.openmrs.org/display/projects/Filtering+Forms+on+Dashboard+%28Design+Page%29
|
07:18:59
|
<goutham> dkayiwa: Im der :)
|
07:22:54
|
<dkayiwa> goutham: do you see the line which reads, "Create a table for the filters and their parameters: form_filter. form_filter_id, class_name, properties (a key/value pairing)"
|
07:24:35
|
<goutham> dkayiwa: yes
|
07:28:05
|
<dkayiwa> goutham: lets try this approach and then proceed
|
07:28:20
|
<dkayiwa> goutham: do you have an idea of how the user interface is going to be?
|
07:29:14
|
<goutham> dkayiwa: Above mentioned will become one to one association , between columns filter.form_filter_id and filter_property.form_filter_id
|
07:30:31
|
<dkayiwa> goutham: if its a one to one, why don't we simply have one table? :)
|
07:31:18
|
*** applecool has quit IRC
|
07:31:59
|
<goutham> dkayiwa: ahhh... so columns filter.form_filter_id and filter_property.form_filter_id will be one to many association
|
07:34:45
|
<dkayiwa> goutham: so form_filter is the association between a form and a filter
|
07:35:35
|
<dkayiwa> goutham: and filter_property is for the list of filters
|
07:36:27
|
<goutham> goutham: Ok ... got it :)
|
07:36:36
|
<dkayiwa> goutham: so filter_property has no reference to a form because it just has filters and their properties
|
07:36:57
|
<dkayiwa> goutham: then form_filter tells us which form references which one or more filters
|
07:37:14
|
<dkayiwa> goutham: does this bring more light? :)
|
07:38:42
|
<goutham> dkayiwa: yes
|
07:39:02
|
<dkayiwa> goutham: great!!!
|
07:39:36
|
<dkayiwa> goutham: am starting to think that we may also need to give names and descriptions to filters. what do you think?
|
07:40:05
|
<goutham> dkayiwa: Yes that would be great
|
07:40:13
|
<dkayiwa> ok
|
07:41:31
|
<goutham> dkayiwa: while defining filter parameters , two extra fields are needed for name and description.. am i correct?
|
07:42:04
|
<dkayiwa> goutham: yes
|
07:43:15
|
<dkayiwa> goutham: after our discussions, now i think we should remove the retire fields from the form_filter table and instead add them to the filter_property table
|
07:44:06
|
<goutham> dkayiwa: Those fields go under table filter_property table
|
07:44:18
|
<dkayiwa> goutham: correct!!!
|
07:44:20
|
<goutham> dkayiwa: Yes :)
|
07:44:52
|
<goutham> dkayiwa: will transport retire columns :)
|
07:45:34
|
<dkayiwa> goutham: make sure you put on seat belts as you move on. :D
|
07:46:17
|
<goutham> dkayiwa: :D
|
07:47:41
|
<dkayiwa> goutham: any other question?
|
07:48:52
|
<goutham> dkayiwa: nothing now :)
|
07:49:32
|
<dkayiwa> goutham: ok. any time you come up with one, feel free to engage me. it will help my brain to exercise :)
|
07:51:15
|
<goutham> dkayiwa: :P your brain will be SUPER FIT by end of gsoc then :D
|
07:52:11
|
<dkayiwa> goutham: hahahahaha. Hoping i will still have my hair by then :D
|
07:53:16
|
<goutham> ;)
|
07:54:25
|
<magoo_> dkayiwa do i need an account to participate in the openmrs sprints
|
07:56:01
|
<dkayiwa> magoo_: https://wiki.openmrs.org/display/RES/OpenMRS+ID
|
07:59:12
|
<magoo_> dkayiwa for example am seeing the Roles and Privileges Sprint can i participate in that sprint
|
07:59:41
|
<dkayiwa> magoo_: yes
|
08:01:51
|
<magoo_> dkayiwa TBD means to To Be Discussed or something else
|
08:02:27
|
<dkayiwa> magoo_: or To Be Done :)
|
08:03:12
|
<magoo_> okay
|
08:08:46
|
<magoo_> dkayiwa i have eclipse helios on my pc but i can see the wikis only talk about indigo eclipse is there any difference between the two environments
|
08:09:29
|
<dkayiwa> magoo_: i do not think it will matter that much
|
08:11:07
|
*** magoo_ has quit IRC
|
08:18:18
|
*** applecool has joined #openmrs
|
08:29:19
|
*** Zouzou has joined #openmrs
|
08:29:50
|
<Zouzou> Hi all, is someboy who has used the xformHelper module?
|
08:30:41
|
<dkayiwa> Zouzou: did you try send an email to Sam Mbugua?
|
08:31:27
|
<Zouzou> dkayiwa: No, why ? He is the creator of this module ?
|
08:31:36
|
<dkayiwa> Zouzou: yes :)
|
08:32:17
|
<Zouzou> dkayiwa: Because my question is very simple, I just want to add a new downloadable Xforms and I can't remember what are the steps to do that..
|
08:32:50
|
<dkayiwa> Zouzou: do you already have the xforms saved in openmrs?
|
08:34:21
|
*** goutham has left #openmrs
|
08:34:42
|
<Zouzou> dkayiwa: Yes, I saved my form. But if I do a Select * from the table xforms_xform
|
08:34:50
|
<Zouzou> I can't see it
|
08:35:03
|
<dkayiwa> Zouzou: can you try save it again?
|
08:35:14
|
<Zouzou> dkayiwa: I tried
|
08:35:33
|
<dkayiwa> Zouzou: how did you save it?
|
08:36:15
|
<Zouzou> dkayiwa: I gone to Manage Forms -> Click On the Form -> Save Button
|
08:36:43
|
<dkayiwa> Zouzou: what message did you get after saving?
|
08:36:57
|
<Zouzou> dkayiwa: Form saved
|
08:37:09
|
<dkayiwa> Zouzou: what is the formId?
|
08:37:44
|
<Zouzou> dkayiwa: 7
|
08:38:01
|
<dkayiwa> Zouzou: how many rows do you have in the xforms_xform table?
|
08:38:49
|
<Zouzou> dkayiwa : That's the weird things. I have just 2 rows (form_id = 0 and form_id = 6)
|
08:39:10
|
<dkayiwa> Zouzou: may be you are checking in a wrong database :)
|
08:40:32
|
<Zouzou> dkayiwa: Impossible, I make changed on the form with the id 6, and the date_changed field is equal to 2012-05-30 09:34:32
|
08:41:05
|
<dkayiwa> Zouzou: can you save another new form and tell me if the number of rows increase?
|
08:42:04
|
<Zouzou> dkayiwa: It doesn't increase
|
08:43:08
|
<dkayiwa> Zouzou: which form has id 6?
|
08:43:43
|
<Zouzou> dkayiwa: A form that I created extending the basic form
|
08:44:32
|
<dkayiwa> Zouzou: for the form that fails, can you go to the form designer, do a file save as, and then pastebin for me the file contents
|
08:47:40
|
<Zouzou> dkayiwa: http://pastebin.com/5c0ik0xN
|
08:49:07
|
<dkayiwa> Zouzou: does anything in the tomcat log show any failure anywhere?
|
08:51:53
|
<Zouzou> dkayiwa: The only pertinent error I get is ERROR - AbstractReportsTask.run(38) |2012-05-29 10:23:15,148| An error occurred while running scheduled reporting task org.openmrs.api.APIAuthenticationException: Privileges required: [View Concepts]
|
08:52:51
|
<dkayiwa> Zouzou: for the xform with id 6, do you think you can delete it?
|
08:53:29
|
<Zouzou> dkayiwa: Hmm, give 2 seconds
|
08:54:24
|
<Zouzou> dkayiwa: The thing I don't understant, is I have 8 XForms on the OpenMRS server and I can only see two in the database
|
08:54:54
|
<dkayiwa> Zouzou: go under manage forms, then select the form with id 6
|
08:55:04
|
<dkayiwa> and tell me if you see the "Delete Xform" llink
|
08:55:33
|
<Zouzou> dkayiwa: I have the button
|
08:56:02
|
<Zouzou> dkayiwa: Could not execute JDBC batch update; SQL [delete from form where form_id=?]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
|
08:56:27
|
<dkayiwa> Zouzou: what trigered that?
|
08:56:48
|
<Zouzou> dkayiwa: When I tried to delete the form
|
08:57:41
|
<dkayiwa> Zouzou: which versions of openmrs and xforms module
|
08:57:43
|
<Zouzou> dkayiwa: I've got my 8 forms in the form table, but only two in the xforms_xform table. Maybe there is a step to say, this form is an XForm
|
08:58:36
|
<Zouzou> dkayiwa: OpenMRS - 1.9.0 / XForms -4.0.9.4
|
08:59:02
|
<dkayiwa> Zouzou: where did you get that module from?
|
08:59:58
|
<Zouzou> dkayiwa: Ah :) I didn't changed my nickname
|
09:00:10
|
<Zouzou> dkayiwa: You sent me a new omod
|
09:00:20
|
<dkayiwa> Zouzou: who are you? :)
|
09:00:32
|
*** Zouzou is now known as Alexis_MSF
|
09:01:33
|
<Alexis_MSF> dkayiwa: The last discussion I had with you was about logic validation on my xform. Btw, I have no response about the moderator of ODK mailing list
|
09:01:38
|
<dkayiwa> Alexis_MSF: hahahahaha
|
09:02:42
|
<dkayiwa> Alexis_MSF: can you directly send an email to Yaw Anokwa?
|
09:03:03
|
<Alexis_MSF> dkayiwa: For odk ?
|
09:03:09
|
<dkayiwa> Alexis_MSF: yes
|
09:03:51
|
*** applecool is now known as androidcooler
|
09:06:10
|
*** dkayiwa has quit IRC
|
09:06:31
|
*** dkayiwa has joined #openmrs
|
09:07:29
|
*** androidcooler has quit IRC
|
09:08:15
|
<Alexis_MSF> dkawiya: I can't remember what was the exactly question..
|
09:08:41
|
<dkayiwa> Alexis_MSF: does your server have a public ip address?
|
09:09:13
|
<Alexis_MSF> dkayiwa: You want to connect on it ?
|
09:09:25
|
<dkayiwa> Alexis_MSF: if you do not mind :)
|
09:09:39
|
<Alexis_MSF> dkayiwa: Try http://10.0.41.87:8080/openmrs/index.htm
|
09:10:04
|
<Alexis_MSF> dkayiwa: The server always lost the password I don't know why.
|
09:10:19
|
<Alexis_MSF> dkayiwa: So the secret answer is the same as secret question
|
09:11:45
|
*** maurya has quit IRC
|
09:11:59
|
<Alexis_MSF> dkayiwa : Are you able to connect on it ?
|
09:12:04
|
*** suranga has joined #openmrs
|
09:12:04
|
*** ChanServ sets mode: +v suranga
|
09:12:23
|
<dkayiwa> Alexis_MSF: is that a public ip address?
|
09:13:25
|
*** rafa has joined #openmrs
|
09:13:26
|
<suranga> !last seen pulasthi7
|
09:13:26
|
<OpenMRSBot> suranga: (last [--{from,in,on,with,without,regexp} <value>] [--nolimit]) -- Returns the last message matching the given criteria. --from requires a nick from whom the message came; --in requires a channel the message was sent to; --on requires a network the message was sent on; --with requires some string that had to be in the message; --regexp requires a regular expression the message must match; --nolimit (1 more message)
|
09:13:35
|
*** ChanServ sets mode: +v rafa
|
09:13:43
|
<suranga> !seen pulasthi7
|
09:13:43
|
<OpenMRSBot> suranga: pulasthi7 was last seen in #openmrs 2 days, 3 hours, 24 minutes, and 6 seconds ago: <pulasthi7> in target folder?
|
09:17:00
|
<Alexis_MSF> dkayiwa: No, but you could access it from outside. I'm plugged in an adsl link, just before the firewall
|
09:17:52
|
<dkayiwa> Alexis_MSF: your problem is strange. i think you may need to ask Sam Mbugua just incase his xformshelper is a culprit
|
09:18:14
|
<Alexis_MSF> dkayiwa: Ok :)
|
09:20:08
|
<Alexis_MSF> dkayiwa : And one another question. I want to used the IdGEn module for generate an OpenMRS Identification Number automatically. So I set up xforms.autoGeneratePatientIdentifier : true and xforms.new_patient_identifier_type_id: 1
|
09:21:21
|
<Alexis_MSF> dkayiwa : If you're still on my server, I created a new Patient Identifier Source
|
09:21:58
|
<dkayiwa> Alexis_MSF: failed to access yo server
|
09:22:10
|
<Alexis_MSF> dkayiwa: Oh ok :(
|
09:22:44
|
<Alexis_MSF> dkayiwa: Is there an extra step before setting that ? Or when I create an xform, it get automatically this source?
|
09:23:42
|
<dkayiwa> Alexis_MSF: did you try it and it failed?
|
09:25:43
|
<Alexis_MSF> dkayiwa : Yep, If i entered nothing in the Medical Record Number Field I have "Expected patient identifier value". And if I enter an wrong value I have "'Patient#null' failed to validate with reason: Identifier ZU is not appropriate for validation scheme Luhn CheckDigit Validator"
|
09:26:11
|
<Alexis_MSF> dkayiwa: So I was wondering If I have to delete the Patient.Medical_Record_Number node in the XForm Schema
|
09:26:20
|
<dkayiwa> Alexis_MSF: choose a different patient identifier type
|
09:26:33
|
<dkayiwa> Alexis_MSF: one which does not do validation
|
09:27:38
|
<Alexis_MSF> dkayiwa : Is it important to use the Luhn algorithm for this identifier ?
|
09:28:01
|
<Alexis_MSF> dkayiwa : I want to mean that I certainly can choose an identifier who has no validation
|
09:28:23
|
<dkayiwa> Alexis_MSF: for that you may need to ask the implementers list :)
|
09:28:36
|
<Alexis_MSF> dkayiwa: But maybe it's important to register patient
|
09:29:49
|
<Alexis_MSF> dkayiwa : In your experience, did you know if many people are using this validator ? Or is it useless?
|
09:30:05
|
<dkayiwa> Alexis_MSF: i have no idea. :)
|
09:32:21
|
*** upul` has quit IRC
|
09:33:04
|
<Alexis_MSF> dkayiwa : Ok :)
|
09:35:18
|
*** bryq has joined #openmrs
|
09:35:18
|
*** ChanServ sets mode: +v bryq
|
09:39:29
|
<Alexis_MSF> dkayiwa : Thanks for you help:)
|
09:39:44
|
<dkayiwa> Alexis_MSF: you are welcome :)
|
09:58:06
|
*** applecool has joined #openmrs
|
09:58:17
|
<applecool> hi rafa
|
09:58:25
|
<rafa> applecool: hi!
|
09:58:33
|
<rafa> applecool: feeling better?
|
09:58:49
|
<applecool> hmm! yes! :) went to the doctor! and took medicine! :)
|
09:58:58
|
<rafa> good to hear
|
09:58:58
|
<applecool> and now i am back! :)
|
09:59:28
|
<rafa> applecool: did you make any commits?
|
09:59:33
|
<rafa> applecool: should I look at them?
|
09:59:44
|
<applecool> no rafa didnt do!
|
09:59:50
|
<rafa> applecool: ok
|
09:59:50
|
<applecool> u mean the UI part right?
|
09:59:53
|
<rafa> applecool: yes
|
10:00:05
|
<applecool> i will do them ! and i will commit the code by evening :)
|
10:00:52
|
<applecool> rafa: the call is tommorow right?
|
10:00:57
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: XForms 4.0.9.4 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=xforms&version=&4.0.9.4>
|
10:01:42
|
<rafa> applecool: don't spend too much time on the UI since we're slightly behind the schedule
|
10:01:55
|
<applecool> okay!
|
10:02:02
|
<rafa> applecool: you mean the university call?
|
10:02:15
|
<applecool> yes the university call
|
10:02:26
|
<rafa> applecool: it's today in 3 hours
|
10:02:39
|
<applecool> oh!
|
10:02:47
|
<applecool> ok i will join the call! :)
|
10:03:25
|
<rafa> applecool: please do as much as you can of the UI today and let's leave the rest for later
|
10:03:39
|
<applecool> sure! :)
|
10:04:08
|
<applecool> from tomorrow i will do the work of the back end!
|
10:04:09
|
<rafa> applecool: really it's only a matter of changing the logo and removing some appfuse related texts
|
10:04:17
|
<applecool> yeah
|
10:04:30
|
<applecool> i will start the rest of the two tasks by today itself
|
10:04:41
|
<rafa> applecool: great
|
10:04:42
|
<dkayiwa> rafa: did you make any changes to the privilege helper module. when i click the inspect link, i see duplicate privileges listed. Is that by design? :)
|
10:04:52
|
<applecool> actually i had a problem with the server ! i mean the tomcat
|
10:04:59
|
<applecool> was giving me trouble
|
10:05:04
|
<rafa> dkayiwa: no there shouldn't be duplicates there :/
|
10:05:06
|
<applecool> rafa: but i fixed it :)
|
10:05:27
|
<dkayiwa> rafa: should i take that as a bug?
|
10:05:52
|
<rafa> dkayiwa: yes, it's a bug, but I'm redesingning the page anyway
|
10:06:10
|
<dkayiwa> rafa: so when should i test again?
|
10:06:39
|
<rafa> dkayiwa: I expect to have it ready before the design call
|
10:07:02
|
<dkayiwa> rafa: ok. just tell me when you are done such that i can tests it :)
|
10:07:12
|
<rafa> dkayiwa: great thanks!
|
10:19:55
|
*** sunbiz1 has joined #openmrs
|
10:21:10
|
*** sunbiz has quit IRC
|
10:23:38
|
*** bwolfe has quit IRC
|
10:39:06
|
*** applecool has quit IRC
|
10:52:40
|
*** pushkar has left #openmrs
|
10:53:26
|
*** pushkar has joined #openmrs
|
11:31:07
|
*** pushkar has quit IRC
|
11:34:28
|
*** james_regen has joined #openmrs
|
11:34:28
|
*** ChanServ sets mode: +v james_regen
|
11:37:13
|
*** bwolfe has joined #openmrs
|
11:37:13
|
*** ChanServ sets mode: +o bwolfe
|
11:40:51
|
*** magoo_ has joined #openmrs
|
11:44:29
|
*** r_friedman has joined #openmrs
|
12:08:14
|
*** goutham has joined #openmrs
|
12:11:59
|
*** pushkar has joined #openmrs
|
12:12:16
|
<pushkar> bwolfe, hi
|
12:13:11
|
<bwolfe> hey pushkar
|
12:13:33
|
<pushkar> bwolfe, the saving part is working
|
12:13:48
|
<pushkar> I commited it in git
|
12:15:55
|
<bwolfe> very nice
|
12:15:58
|
<pushkar> now can we discuss about the next part ?
|
12:16:00
|
<bwolfe> saving as a complex obs?
|
12:16:33
|
<pushkar> no just as image
|
12:16:37
|
<bwolfe> oh ok
|
12:17:40
|
<bwolfe> so the next part is saving it to a patient
|
12:17:46
|
<pushkar> can you please explain the complex obs part
|
12:18:16
|
<bwolfe> sure
|
12:18:33
|
<bwolfe> this page has the docs: https://wiki.openmrs.org/display/docs/Complex+Obs+Support
|
12:18:34
|
<OpenMRSBot> <http://ln-s.net/9DRq> (at wiki.openmrs.org)
|
12:18:41
|
*** harshadura has joined #openmrs
|
12:18:54
|
<bwolfe> and suranga did something about complex obs last summer. did we ever merge that? is that relevant?
|
12:19:57
|
<pushkar> merge that in what?? i didnt get you
|
12:20:13
|
<bwolfe> but the general idea is: 1) there is data that si too large for a table. (like binary images) 2) so we just store a POINTER to the data in the obs table. obs.value_complex to be precise 3) the saving and fetching of the ACTUAL data is done via ComplexDataHandlers
|
12:20:21
|
*** goutham has left #openmrs
|
12:20:36
|
<bwolfe> pushkar, sorry, that was meant to be directed at suranga. his work was in a branch, I am not sure if it was merged to core openmrs yet or not
|
12:21:34
|
<bwolfe> so the ComplexDataHandler looks at the obs.value_complex string and knows where to fetch the full object.
|
12:22:01
|
<pushkar> this data handler should be in drawing module ?
|
12:22:16
|
<bwolfe> the full object in this case will probably be on the file system. so you will store a filesystem path or filesystem key in the obs.value_complex column
|
12:22:19
|
<bwolfe> yes
|
12:22:39
|
<pushkar> how do we link this with openmrs?
|
12:22:58
|
<bwolfe> I don't follow. can you rephrase that?
|
12:24:16
|
<pushkar> when we create a concept we will specify the handler for it using the drop down box
|
12:24:27
|
<pushkar> how does it find the handler
|
12:24:48
|
<pushkar> how do we link these two?
|
12:25:27
|
<bwolfe> ah yes, I missed that part
|
12:26:47
|
<bwolfe> so obs.concept_id is the "question" and the obs.value_complex is going to be the "answer". e.g. question="What shape/size/color was the contusion on the patient's chest?" answer="your image"
|
12:27:07
|
<bwolfe> so you have to define a concept with the name "what is the shape/size/color of the contusion"
|
12:27:24
|
<bwolfe> thats where you choose the datatype of "complex", then choose your handler
|
12:27:38
|
<bwolfe> your handler gets into that list just by being a handler and your module being loaded. its magic! :-)
|
12:27:58
|
<bwolfe> (its actually just spring classpath scanning for anything htat extends ComplexObsHandler I think...or whatever the parent class is)
|
12:28:21
|
*** harshadura has quit IRC
|
12:29:54
|
<bwolfe> make sense pushkar?
|
12:29:58
|
<suranga> ooops, sorry bwolfe , just got back
|
12:30:03
|
<bwolfe> np
|
12:30:04
|
* suranga goes to read convo
|
12:30:30
|
<pushkar> yes I am thinking
|
12:30:54
|
*** harshadura has joined #openmrs
|
12:31:12
|
<suranga> bwolfe, as usual you are right (totally)
|
12:31:32
|
<pushkar> so we should extend the imagehandler and put our logic to show the editor and the imagehandlers logic to save the image?
|
12:32:44
|
<bwolfe> yes!
|
12:32:54
|
<suranga> bwolfe, im afraid that we did not move anything to the core, because we were having design discussions even until the very last of the summer :-)
|
12:33:06
|
<suranga> pushkar, you can try it out on the demo server
|
12:33:09
|
<suranga> its quite easy
|
12:33:26
|
<bwolfe> although now that I think about it, you might not even need to write a handler. you might be able to use the built-in ImageHandler
|
12:33:41
|
*** wyclif has quit IRC
|
12:33:52
|
* bwolfe thinks a bit
|
12:34:17
|
<suranga> bwolfe, it depends on wether he has a custom way of displaying or storing things
|
12:34:37
|
<bwolfe> right
|
12:34:47
|
<pushkar> but if we dont write a handler how will we know when to open it in editor or as image
|
12:34:49
|
<pushkar> ?
|
12:35:12
|
<pushkar> suranga, I already tried the image handler ;)
|
12:35:26
|
<suranga> pushkar, cool
|
12:35:41
|
<bwolfe> well, its rare that the image ever needs EDITED. it will be created, saved as an image, then viewed many times
|
12:36:04
|
<bwolfe> so once you save the image, you can let the normal ImageHandler do all the hard work
|
12:36:43
|
<bwolfe> so your code/editor/magical thing/etc goes into an extension point.
|
12:37:16
|
<bwolfe> the controller that you submit to when the user clicks "save this image to this patient" would make java calls to save the image with the ImageHandler
|
12:38:12
|
<suranga> the image (object) you store basically knows which hander that it needs to use
|
12:39:30
|
<pushkar> suranga, but since we are using the image handler it always opens as image
|
12:40:35
|
<pushkar> bwolfe,to access the editor a liink should be provided in the obsform ?
|
12:41:44
|
<suranga> pushkar, it also depends on which image handler you use. for example If I create a new handler that extends image handler, the data im storing knows that it needs to open with the new handler, and not the generic image handler
|
12:43:39
|
<bwolfe> pushkar, you are correct. if you want someone to edit the image you would need to create a new handler. BUT, lets put that off for a bit
|
12:43:50
|
*** applecool has joined #openmrs
|
12:43:58
|
<bwolfe> because for 90% of the time you will create an image on the dashboard. you won't be creating the image from the obsForm
|
12:44:32
|
<bwolfe> the other 10% are people that want to edit the image. they do that from the obsForm and so you would need a custom handler so that someone can specify that the image can be edited
|
12:48:59
|
<pushkar> so where should I place this editor on the dashboard??
|
12:53:53
|
<pushkar> bwolfe,
|
12:54:33
|
<bwolfe> pushkar, in a tab. create an extension point. https://wiki.openmrs.org/display/docs/Module+Extension+Points
|
12:54:34
|
<OpenMRSBot> <http://ln-s.net/8g-I> (at wiki.openmrs.org)
|
12:54:54
|
<bwolfe> pushkar, that can be your next step. create an extension point ot show the editor in a tab
|
12:55:10
|
<bwolfe> the tab right now can be basic/simple and just show the editor with a "save" button
|
12:55:32
|
<bwolfe> but in the end the tab could list current images and let someone pick/view them (and maybe edit). but htats for later
|
12:55:40
|
<bwolfe> openmrs university time
|
12:55:45
|
<bwolfe> https://wiki.openmrs.org/display/RES/OpenMRS+University
|
12:55:46
|
<OpenMRSBot> <http://ln-s.net/98-d> (at wiki.openmrs.org)
|
12:57:09
|
*** bwolfe_ has joined #openmrs
|
12:57:09
|
*** ChanServ sets mode: +o bwolfe_
|
12:57:14
|
<pushkar> and where will I get the obs id ?
|
12:57:15
|
*** bwolfe has quit IRC
|
12:57:17
|
*** bwolfe_ is now known as bwolfe
|
12:57:59
|
<bwolfe> pushkar, you don't need an obs id. when you call "saveObs" and give it hte handler + image it will decide the obs id for you
|
12:58:08
|
*** finbrein has joined #openmrs
|
12:59:11
|
<pushkar> okay .smart method :)
|
13:03:11
|
<applecool> rafa: did the call start?
|
13:03:30
|
*** summon has joined #openmrs
|
13:03:38
|
*** summon is now known as mgielow
|
13:03:54
|
<applecool> rafa:joined it :)
|
13:05:15
|
*** mgielow has joined #openmrs
|
13:16:04
|
<magoo_> dkayiwa what is causing this problem url http://pastebin.com/x7PT9uj1 and according to my pc tomcat is running and mysql is also running
|
13:17:37
|
*** downey has joined #openmrs
|
13:17:37
|
*** ChanServ sets mode: +o downey
|
13:17:37
|
*** OpenMRSBot sets mode: +o downey
|
13:18:39
|
*** suranga has quit IRC
|
13:21:02
|
*** wyclif has joined #openmrs
|
13:23:37
|
*** goutham has joined #openmrs
|
13:35:05
|
*** sgithens has quit IRC
|
13:39:11
|
*** magoo_ has quit IRC
|
13:50:00
|
*** lh has joined #openmrs
|
13:57:03
|
*** magoo_ has joined #openmrs
|
14:01:24
|
*** kishoreyekkanti has joined #openmrs
|
14:01:46
|
*** cpower has joined #openmrs
|
14:02:01
|
<cpower> Good morning everyone!
|
14:02:08
|
*** sunbiz1 has quit IRC
|
14:02:29
|
<bwolfe> hi chris
|
14:02:40
|
<cpower> bwolfe, you done with University?
|
14:02:47
|
<bwolfe> just finished
|
14:03:08
|
<cpower> good timing :)
|
14:04:01
|
<cpower> ok, so are we ready for the Scrum?
|
14:04:08
|
<djazayeri> yes
|
14:05:27
|
<djazayeri> cpower: you shouldn't wait for us to say we're ready
|
14:05:39
|
<cpower> sorry running two meetings at once
|
14:05:42
|
<cpower> let's do it!
|
14:05:46
|
<djazayeri> it'll just lead to the scrum being 30 seconds later everyday, until eventually it's starting an hour late!
|
14:05:48
|
<cpower> !scrumon cpower
|
14:05:48
|
* 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:06:34
|
<cpower> Order: bwolfe, djazayeri, downey, rafa, dkayiwa, wyclif
|
14:06:54
|
*** downey has quit IRC
|
14:07:24
|
<bwolfe> Tuesday
|
14:07:24
|
<bwolfe> email catchup
|
14:07:24
|
<bwolfe> gsoc help
|
14:07:24
|
<bwolfe> release event/atomfeed (fro realz this time)
|
14:07:24
|
<bwolfe> priv sprint reviews
|
14:07:25
|
<bwolfe> set up next week's sprint
|
14:07:27
|
<bwolfe> call with venkata
|
14:07:29
|
*** dkayiwa has quit IRC
|
14:07:29
|
<bwolfe> chat with kiran
|
14:07:31
|
*** applecool has quit IRC
|
14:07:31
|
<bwolfe> reviewed mvorbey's code
|
14:07:33
|
<bwolfe> Wednesday
|
14:07:35
|
<bwolfe> a few ticket comments/etc during morning emailing
|
14:07:37
|
<bwolfe> reviewed TRUNK-3300, drug search
|
14:07:39
|
<bwolfe> discussed gsoc projects
|
14:07:41
|
<bwolfe> set up design call
|
14:07:43
|
<bwolfe> univ call
|
14:07:45
|
<bwolfe> design call
|
14:07:49
|
<bwolfe> pm call
|
14:07:51
|
<bwolfe> privilege sprint ticket? is there one available?
|
14:07:53
|
<bwolfe> (that last one is a pseudo blocker)
|
14:07:55
|
<bwolfe> ouch, lost dkayiwa and downey for the scrum. :-/
|
14:07:59
|
*** dkayiwa has joined #openmrs
|
14:08:23
|
<djazayeri> that's too bad
|
14:08:29
|
<djazayeri> Tuesday 29-May-2012
|
14:08:29
|
<djazayeri> * Reworked the Registration app (I-TECH)
|
14:08:29
|
<djazayeri> * Some tweaks to UI Framework and UI Library modules
|
14:08:29
|
<djazayeri> * http://openmrskenya.blogspot.com/2012/05/reworked-registration-app.html
|
14:08:30
|
<djazayeri> Wednesday 30-May-2012
|
14:08:30
|
<djazayeri> * University call
|
14:08:31
|
<djazayeri> * call with Thoughtworks
|
14:08:31
|
<djazayeri> * Design call
|
14:08:32
|
<djazayeri> * Project Management call
|
14:08:32
|
<djazayeri> * hope to get a bit of coding done outside those calls...
|
14:08:33
|
<OpenMRSBot> <http://ln-s.net/$ER0> (at openmrskenya.blogspot.com)
|
14:08:41
|
<djazayeri> Discussion points:
|
14:08:53
|
<djazayeri> * 1.9 blocker about bad concept searching
|
14:09:12
|
<rafa> Today:
|
14:09:12
|
<rafa> * Working on
|
14:09:12
|
<rafa> !ticket TRUNK-3366 (finishing today)
|
14:09:12
|
<rafa> * Design call
|
14:09:12
|
<rafa> No blockers.
|
14:09:13
|
<djazayeri> * 1.9 related issue about exporting data
|
14:09:13
|
<OpenMRSBot> rafa: [#TRUNK-3366] Create module for recording privilege checks - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-3366 (finishing today)
|
14:09:29
|
<dkayiwa> Created new ticket: Add encounter type privilege wiki documentation - TRUNK-3392
|
14:09:29
|
<dkayiwa> Committed: Increase the privilege column size - TRUNK-3386
|
14:09:29
|
<dkayiwa> Reviewed: Should be able to define a privilege required to view or edit an encounter - TRUNK-3377
|
14:09:29
|
<dkayiwa> Had some design discussion with my GSOC student
|
14:09:30
|
<dkayiwa> IRC
|
14:09:30
|
<dkayiwa> Did some more testing for: Create module for recording privilege checks - TRUNK-3366
|
14:09:30
|
<dkayiwa> Still wondering whether i should pick one of the remaining sprint documentation tickets or look into release testing helper module optimizations for AMPATH…..
|
14:09:30
|
<dkayiwa> No Blockers
|
14:10:39
|
<djazayeri> dkayiwa: there's also the 1.9 blocker that Andy raised about concept searching
|
14:10:47
|
<dkayiwa> djazayeri: ok
|
14:10:49
|
<rafa> djazayeri: I've just tested searching in 1.10 and it seems to work fine there so it may be a missing back port indeed.
|
14:11:26
|
<bwolfe> oy
|
14:11:37
|
<bwolfe> wyclif?
|
14:11:49
|
<wyclif> Tuesday:
|
14:11:49
|
<wyclif> * TRUNK-3354 - Improve the page a user sees when they fail a privilege check
|
14:11:49
|
<wyclif> * GSoC project design discussion with Dmitry
|
14:11:49
|
<wyclif> * Submitted a jira project requetst form and creating jira dashboard for the module
|
14:11:49
|
<wyclif> Wednesday:
|
14:11:51
|
<wyclif> * TRUNK-3389 - Create wiki documentation for PrivilegeListener
|
14:11:53
|
<wyclif> * TRUNK-3392 - Add encounter type privilege wiki documentation
|
14:11:55
|
<wyclif> * Design call
|
14:11:57
|
<wyclif> * Create Gsoc module Project in svn and get Dmitry coding
|
14:11:59
|
<wyclif> * Help Dmitry with creating/cleaning up module tickets
|
14:12:01
|
<wyclif> Blockers: Can we talk about the sprint tickets that are not ready for work
|
14:12:58
|
*** goutham has quit IRC
|
14:13:29
|
<djazayeri> So, there are several discussion topics today
|
14:13:37
|
<bwolfe> wyclif, try not to hold dimitry's hand too much...he's dominating your calendar right now. :-)
|
14:13:46
|
<djazayeri> (bwolfe) privilege sprint ticket?  is there one available?
|
14:13:57
|
<djazayeri> (djazayeri) 1.9 blocker about bad concept searching
|
14:14:05
|
<wyclif> djazayeri, we need to back port the fix for TRUNK-3232
|
14:14:11
|
<djazayeri> (djazayeri) 1.9 related issue about release testing module
|
14:14:17
|
<rafa> !ticket TRUNK-3232
|
14:14:20
|
<OpenMRSBot> rafa: [#TRUNK-3232] Concept search should display the name containing all word tokens when multiple words are entered - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-3232
|
14:14:28
|
<djazayeri> (wyclif) sprint tickets not ready for work
|
14:14:31
|
*** mgielow has left #openmrs
|
14:14:56
|
<cpower> ok anything else needed to be added?
|
14:14:58
|
<wyclif> bwolfe, probably today is the last domination day once we have everything thing in svn and jira setup
|
14:15:10
|
<bwolfe> ok
|
14:15:14
|
<wyclif> djazayeri, yeah i see some tickets that need assessment
|
14:15:33
|
<djazayeri> dkayiwa: any comment on that?
|
14:15:51
|
<dkayiwa> djazayeri: Burke posted their discussion to the dev list
|
14:16:32
|
<bwolfe> IIRC, the ones in needs assessment are the ones about the RbR module, no?
|
14:16:37
|
<cpower> Summary: Tickets needed for sprint planning, 1.9 blocker
|
14:16:50
|
<dkayiwa> bwolfe: no
|
14:17:05
|
<djazayeri> I don't remember an email about this
|
14:17:38
|
<bwolfe> oh, I see.
|
14:17:41
|
<dkayiwa> bwolfe
|
14:17:41
|
<dkayiwa> TRUNK-3343 TRUNK-3342
|
14:17:54
|
<dkayiwa> !ticket TRUNK-3343
|
14:17:57
|
<OpenMRSBot> dkayiwa: [#TRUNK-3343] Create liquibase changeset to insert the new application level privileges for each corresponding api level privilege - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-3343
|
14:17:59
|
<wyclif> dkayiwa, do let the concept word index to run fully when packaging the standalone?
|
14:18:01
|
<dkayiwa> !ticket TRUNK-3342
|
14:18:02
|
<OpenMRSBot> dkayiwa: [#TRUNK-3342] Use the new application level privileges in all dashboard portlets rather than the API counterparts - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-3342
|
14:18:19
|
<dkayiwa> wyclif: very good point :)
|
14:18:57
|
<djazayeri> dkayiwa: didn't we discuss that on last week's design call?
|
14:19:02
|
<djazayeri> 3342 and 3343 I mean
|
14:19:08
|
<wyclif> dkayiwa, andy assumed it was done and his searches were a mess
|
14:19:19
|
<djazayeri> wyclif: that's not really the problem
|
14:19:35
|
<djazayeri> wyclif: the searching algorithm is completely broken even if the index is run already...
|
14:19:37
|
<wyclif> djazayeri, right but it can also cause problems in searches
|
14:19:54
|
<djazayeri> wyclif: I agree. At least the indexing does happen automatically in the background.
|
14:20:17
|
<wyclif> djazayeri, i agree that we need to backport TRUNK-3232
|
14:20:48
|
<wyclif> djazayeri, my view is that when packaging the standalone we need to make sure the indexing is done
|
14:21:02
|
<wyclif> wyclif, as an addition
|
14:21:04
|
<djazayeri> wyclif: I agree that would be nice.
|
14:21:11
|
<djazayeri> wyclif: can you create a ticket for it?
|
14:21:17
|
<cpower> !scrumoff
|
14:21:17
|
* 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:21:18
|
*** bwolfe has quit IRC
|
14:21:22
|
<djazayeri> maybe in the release process support module?
|
14:21:29
|
<dkayiwa> djazayeri: does that require a ticket?
|
14:21:54
|
<djazayeri> dkayiwa: isn't building the standalone automated now?
|
14:21:59
|
<wyclif> djazayeri, the process is triggered at startup after upgrading to 1.8+ as long it is not stopped
|
14:22:04
|
<dkayiwa> djazayeri: it is
|
14:22:47
|
<djazayeri> dkayiwa, wyclif: if it requires someone to fix something, it should have a ticket...
|
14:22:51
|
<dkayiwa> djazayeri: oh i see, so would require a ticket for waiting until when indexing is done :)
|
14:23:05
|
<djazayeri> dkayiwa: no, not that. is there a way to automate the waiting process, I mean.
|
14:23:18
|
<djazayeri> when building the databases
|
14:23:25
|
<djazayeri> that would actually require starting them up...
|
14:23:29
|
<wyclif> djazayeri, how about we make the task not cancellable
|
14:23:30
|
*** bwolfe has joined #openmrs
|
14:23:33
|
*** ChanServ sets mode: +o bwolfe
|
14:23:43
|
<dkayiwa> djazayeri: would need looking into it
|
14:23:56
|
<wyclif> and should be restarted at startup if it has never completed
|
14:24:08
|
<djazayeri> so, to take a step back...
|
14:24:13
|
<wyclif> djazayeri, djazayeri but yes, we probably need a ticket to follow up on this
|
14:24:22
|
<djazayeri> we have two very important tickets:
|
14:24:56
|
<djazayeri> * concept searching is broken in 1.9RC4 -> requires a backport, and maybe requires an RC5.
|
14:25:09
|
<djazayeri> * release testing helper still exports way too much data
|
14:25:23
|
<djazayeri> who's the bug-fixer this week?
|
14:25:57
|
*** applecool has joined #openmrs
|
14:26:12
|
<djazayeri> bwolfe, dkayiwa, wyclif, rafa: is anyone the bug-fixer this week?
|
14:26:20
|
<bwolfe> no bug fixer defined this week
|
14:26:30
|
<djazayeri> okay, that's too bad. :-)
|
14:26:35
|
<bwolfe> djazayeri, did you confirm that it failed after indexing was done ?
|
14:26:39
|
<djazayeri> bwolfe: yes
|
14:26:45
|
<bwolfe> djazayeri, because if it was half done, it would fail that way
|
14:26:58
|
<djazayeri> bwolfe: it would show too many results?
|
14:27:15
|
<bwolfe> and I don't think the ticket that wyclif pointed to is the same. your ticket shows concepts that have NO NAME with matching text. ada's ticket had an ALTERNATE name with matching text
|
14:27:39
|
<bwolfe> djazayeri, if a concept_word entry existed that pointed to a wrong concept, yes, you would get incorrect results
|
14:28:03
|
<bwolfe> the indexing doesn't delete all words when it starts. it just iterates and deletes words for given concepts as it goes. (IIRC)
|
14:28:06
|
<djazayeri> bwolfe: the problem I'm getting is that searching for "breast" and for "breast cancer" give me exactly the same results
|
14:28:37
|
<bwolfe> yeah, I think thats diff than the one wyclif pointed to
|
14:28:40
|
<djazayeri> "cancer" and "cancer breast" give me the same results as each other (but not the same as the other order)
|
14:29:16
|
<djazayeri> so, bwolfe, you were asking about whether to pick up a sprint ticket? maybe you want to declare yourself bugfixer and look into these two...
|
14:30:00
|
<bwolfe> yeah, thats what I was thinking. I can be bugfixer
|
14:30:10
|
<djazayeri> bwolfe: great!
|
14:31:45
|
<dkayiwa> bwolfe: will you also look into RELTEST-22?
|
14:31:48
|
<dkayiwa> !ticket RELTEST-22
|
14:31:49
|
<OpenMRSBot> dkayiwa: [#RELTEST-22] Should be able to upgrade big databases - OpenMRS JIRA - https://tickets.openmrs.org/browse/RELTEST-22
|
14:35:03
|
<bwolfe> I can put that on the list...
|
14:35:14
|
<dkayiwa> bwolfe: ok great!!!
|
14:37:08
|
*** Alexis_MSF has quit IRC
|
14:37:20
|
<wyclif> djazayeri, bwolfe back porting the fix to TRUNK-3232 will fix the 'breast cancer' search
|
14:38:28
|
<applecool> rafa: there?
|
14:38:47
|
<rafa> applecool: yes
|
14:38:59
|
<applecool> i need serious help
|
14:39:06
|
<applecool> i am stuck
|
14:39:16
|
<rafa> applecool: ok, what's the problem?
|
14:39:25
|
<applecool> my tomcat is not working properly!
|
14:39:45
|
<rafa> applecool: pastebin logs
|
14:40:19
|
<applecool> actually! the problem is its not starting on the port 8080
|
14:40:45
|
<rafa> applecool: what does it say?
|
14:41:02
|
<applecool> but when it starts , after some time the task is getting killed automatically
|
14:41:48
|
<rafa> applecool: I don't have a glass ball :) do you have any logs I can look at?
|
14:42:11
|
<applecool> wait i will pastebin!
|
14:44:12
|
<djazayeri> rafa: by the way: it's a "crystal ball"
|
14:44:29
|
<rafa> djazayeri: thx :D
|
14:47:10
|
<applecool> rafa: http://pastebin.com/KpMPa9Zi
|
14:47:14
|
<applecool> this is the entire log
|
14:47:23
|
<applecool> i guess this wont be useful!
|
14:47:35
|
<applecool> rafa: but this is the manager log
|
14:47:35
|
<applecool> http://pastebin.com/srvZTd46
|
14:48:00
|
<rafa> applecool: your mysql is down
|
14:48:15
|
<applecool> no no! that was long back rafa!
|
14:48:39
|
<applecool> the problem is actually with the tomcat! i am unable to start it also! :(
|
14:48:54
|
<applecool> it worked in the afternoon! but its not working again! i donno why!
|
14:49:28
|
<rafa> applecool: the first link says it's a problem with mysql
|
14:50:25
|
<applecool> it was in the morning rafa
|
14:50:27
|
<applecool> :)
|
14:50:54
|
<applecool> 11:51
|
14:50:55
|
<applecool> AM
|
14:51:47
|
<rafa> applecool: delete war together with the project directory from webapps and the work directory
|
14:52:09
|
<rafa> applecool: you can delete the temp directory as well
|
14:52:10
|
<applecool> ok
|
14:52:14
|
<rafa> applecool: and try to start Tomcat
|
14:52:18
|
<applecool> ok
|
14:52:21
|
<applecool> i will do it
|
14:52:41
|
*** sgithens has joined #openmrs
|
14:54:02
|
*** lh has quit IRC
|
14:56:41
|
*** magoo_ has quit IRC
|
15:02:15
|
*** snoppy has joined #openmrs
|
15:03:43
|
*** downey has joined #openmrs
|
15:03:43
|
*** ChanServ sets mode: +o downey
|
15:03:43
|
*** OpenMRSBot sets mode: +o downey
|
15:03:48
|
<applecool> rafa: its not starting up :|
|
15:04:15
|
<rafa> applecool: what's now in logs?
|
15:04:55
|
*** harshadura has quit IRC
|
15:05:54
|
*** nicoleb has joined #openmrs
|
15:05:57
|
<rafa> applecool: are you sure you killed previous instances of Tomcat?
|
15:06:06
|
<downey> Hi nicoleb and welcome to the #openmrs IRC channel.
|
15:06:48
|
<rafa> applecool: the easiest way to make sure is to restart your pc ;)
|
15:06:55
|
<applecool> what do you mean by previous instances? do you mean the port on which its working?
|
15:06:57
|
<applecool> http://pastebin.com/riG9mVcy
|
15:07:02
|
<applecool> these are the logs now!
|
15:07:04
|
*** jordank has joined #openmrs
|
15:08:17
|
<rafa> applecool: looks good
|
15:08:25
|
<applecool> ?
|
15:08:26
|
<rafa> applecool: put the war back
|
15:08:49
|
<applecool> i dint even get the opening screen of tomcat rafa
|
15:08:58
|
<applecool> in the browser
|
15:09:12
|
<applecool> it automatically got disconnected!
|
15:09:22
|
<applecool> i mean destroyed
|
15:10:02
|
<rafa> applecool: what is the opening screen of tomcat? :)
|
15:10:10
|
<OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: Happy birthday to #OpenMRS community member @pbiondich! <http://twitter.com/OpenMRS/statuses/207844023178768384>
|
15:10:55
|
<applecool> haha! :D the opening screen localhost:8080
|
15:11:38
|
*** kishoreyekkanti has quit IRC
|
15:12:30
|
<rafa> applecool: ok, drop the war back to webapps
|
15:13:27
|
<applecool> did it :)
|
15:13:44
|
<rafa> applecool: is it getting deployed?
|
15:15:34
|
<applecool> no
|
15:15:42
|
<rafa> applecool: ok time to restart your mac
|
15:16:03
|
<applecool> okay! i will try it!
|
15:16:35
|
*** applecool has quit IRC
|
15:22:18
|
*** lh has joined #openmrs
|
15:22:18
|
*** lh has joined #openmrs
|
15:29:53
|
*** pulasthi7 has joined #openmrs
|
15:33:37
|
*** applecool has joined #openmrs
|
15:33:52
|
<applecool> rafa: one good news and one bad!
|
15:35:00
|
<rafa> applecool: ?
|
15:35:21
|
<applecool> the opening screen is shown
|
15:35:33
|
<applecool> and the war file is deployed!
|
15:35:42
|
<applecool> but its not starting! :(
|
15:35:51
|
<applecool> FAIL - Application at context path /metadataserver-web-1.0-SNAPSHOT could not be started
|
15:36:13
|
<rafa> applecool: pastebin logs :)
|
15:36:51
|
<rafa> applecool: is mysql started?
|
15:37:23
|
<applecool> yup
|
15:37:42
|
<applecool> nope!
|
15:39:13
|
<applecool> logs
|
15:39:14
|
<applecool> http://pastebin.com/7jjfK6zr
|
15:40:08
|
<applecool> rafa: success!
|
15:40:21
|
<rafa> applecool: good
|
15:40:27
|
<rafa> applecool: how do you shutdown tomcat?
|
15:40:38
|
<applecool> bin/shutdown.sh
|
15:41:00
|
<applecool> after doing cd apache-tomcat-7.0.26
|
15:41:07
|
<applecool> $bin/shutdown.sh
|
15:41:20
|
<rafa> applecool: ok, it should work
|
15:41:29
|
<applecool> hmm!
|
15:41:36
|
<rafa> applecool: I don't know why it didn't and you needed to restart your pc
|
15:41:54
|
<applecool> even i donno
|
15:42:26
|
<applecool> actually when i start the tomcat by using the command $ bin/startup.sh
|
15:42:35
|
<applecool> its getting started!
|
15:42:51
|
<applecool> i get to know it by running the command lsof -i tcp:8080
|
15:43:34
|
<applecool> but when i try opening the localhost:8080 its just loading loading and ultimately showing me server not found!
|
15:44:06
|
<applecool> within 1min the task which is runing on port 8080 is killed automatically!
|
15:44:18
|
<applecool> this is what happened from past 4 hours!
|
15:44:33
|
<applecool> and now when i restarted it ! it worked!
|
15:45:42
|
*** nadee has joined #openmrs
|
15:47:26
|
<applecool> rafa: do you want me to even change the comments in the entire project which has the appfuse in it?
|
15:47:42
|
<rafa> applecool: no, just the UI
|
15:48:02
|
<applecool> i changed all the stuff which are in the application.properties!
|
15:52:00
|
<applecool> rafa: one more question!
|
15:52:08
|
<rafa> applecool: yes?
|
15:52:34
|
<applecool> i need to even change the response_invoke.html files right
|
15:52:38
|
<applecool> which are in the target
|
15:53:09
|
<rafa> in the target?
|
15:54:03
|
*** applecool has quit IRC
|
15:54:24
|
*** applecool has joined #openmrs
|
15:54:43
|
<applecool> yes in the target rafa
|
15:54:54
|
<applecool> metadataserver-web-1.0-SNAPSHOT/login
|
15:54:59
|
<rafa> applecool: the target directory is recreated every time you build
|
15:55:14
|
<rafa> applecool: you don't want to change there anything
|
15:55:26
|
<rafa> applecool: your changes will be lost with the next build
|
15:55:40
|
<applecool> okay
|
15:56:03
|
<rafa> applecool: don't change things blindly
|
15:56:24
|
<rafa> applecool: look at the UI and change only what's necessary
|
15:56:29
|
<applecool> okay :)
|
15:56:40
|
*** AndroUser has joined #openmrs
|
15:57:36
|
*** pulasthi7 has quit IRC
|
16:00:08
|
*** pushkar has quit IRC
|
16:02:13
|
*** pushkar has joined #openmrs
|
16:03:04
|
*** AndroUser has quit IRC
|
16:03:14
|
*** pushkar has quit IRC
|
16:04:05
|
*** pushkar has joined #openmrs
|
16:04:07
|
*** AndroUser has joined #openmrs
|
16:05:44
|
*** suranga has joined #openmrs
|
16:05:44
|
*** ChanServ sets mode: +v suranga
|
16:06:36
|
*** nicoleb has quit IRC
|
16:08:29
|
*** AndroUser has quit IRC
|
16:12:53
|
*** r0bby_ has joined #openmrs
|
16:12:53
|
*** ChanServ sets mode: +v r0bby_
|
16:13:32
|
*** r0bby has quit IRC
|
16:13:55
|
*** r0bby has joined #openmrs
|
16:13:55
|
*** ChanServ sets mode: +v r0bby
|
16:17:20
|
*** r0bby_ has quit IRC
|
16:19:09
|
<pushkar> bwolfe,
|
16:22:16
|
<pushkar> I was just checking the saveobs method method it takes an obs and string as parameter .every obs should have an encouter assosiated with it right?so where will we get the encounter from?
|
16:22:46
|
*** mccallumg has joined #openmrs
|
16:22:46
|
*** ChanServ sets mode: +v mccallumg
|
16:27:47
|
*** jordank has quit IRC
|
16:28:49
|
<djazayeri> pushkar: Obs has an Encounter property
|
16:28:56
|
<djazayeri> pushkar: e.g. obs.setEncounter(enc)
|
16:32:56
|
*** applecool has quit IRC
|
16:33:42
|
*** r0bby has quit IRC
|
16:36:46
|
<pushkar> djazayeri,Yes My question is related to the discussion about design of my module that I had with ben :-)
|
16:36:50
|
*** sgithens has quit IRC
|
16:42:54
|
*** harshadura has joined #openmrs
|
16:45:43
|
<bwolfe> pushkar, obs.encounter is nullable
|
16:45:49
|
<bwolfe> so you don't need to specify an encounter for your obs
|
16:46:18
|
*** applecool has joined #openmrs
|
16:46:31
|
<applecool> rafa: hey
|
16:46:52
|
<applecool> now i committed the changes for the UI rafa
|
16:47:09
|
<applecool> didnt change the logo!
|
16:47:09
|
<rafa> applecool: ok, I'll look into that later
|
16:47:15
|
<rafa> applecool: why?
|
16:47:17
|
<applecool> but changed the favicon
|
16:47:30
|
<applecool> but changed the main header of AppFuse to OpenMRS
|
16:47:39
|
*** szrrizvi has joined #openmrs
|
16:47:45
|
<pushkar> oh,okay
|
16:47:49
|
<applecool> rafa: its plain text which is present
|
16:47:56
|
<applecool> as the header
|
16:48:06
|
<rafa> applecool: put there a logo
|
16:48:16
|
<applecool> in the header?
|
16:48:27
|
<rafa> applecool: yes
|
16:48:34
|
<applecool> ok cool! i wil add it :)
|
16:48:43
|
*** AndroUser has joined #openmrs
|
16:48:58
|
<rafa> applecool: I want a logo! I want it so bad! :D
|
16:49:15
|
<applecool> haha! okay :D
|
16:52:41
|
*** robbyoconnor has quit IRC
|
16:53:06
|
*** robbyoconnor has joined #openmrs
|
16:53:06
|
*** ChanServ sets mode: +v robbyoconnor
|
16:53:20
|
*** AndroUser is now known as goutham
|
16:56:05
|
*** pushkar has quit IRC
|
16:56:28
|
*** pushkar has joined #openmrs
|
16:57:10
|
*** sgithens has joined #openmrs
|
16:58:27
|
<szrrizvi> Hi, I was if I could get some hibernate mapping problem I've been having.
|
16:59:58
|
<szrrizvi> I am trying to create an association like the Role-Privilege, but I can't seem to save it in the database.
|
17:00:17
|
*** kreddy has joined #openmrs
|
17:02:27
|
*** applecool is now known as androidcooler
|
17:03:30
|
<kreddy> Hello cpower
|
17:03:38
|
*** venkaban has joined #openmrs
|
17:03:44
|
<downey> Hi venkaban and welcome to the #openmrs IRC channel.
|
17:04:09
|
<venkaban> downey, Hi
|
17:04:17
|
<venkaban> downey, Thank You
|
17:05:36
|
*** nicoleb has joined #openmrs
|
17:11:40
|
*** harshadura has quit IRC
|
17:17:46
|
<bwolfe> szrrizvi, define "save it in the database". what is happening? you call your service method but nothing is persisted? you might be missing an @Transactional annoation on your interface (or impl if you want to be "correct")
|
17:20:57
|
<szrrizvi> bwolfe: I created an object called "AuthorizationPrincipal" which contains a list of "Privileges". When I go to save the AuthorizationPrincipal, it saved the primtive data (name, uuid, etc.), but it does not save the list of Privileges associated with it.
|
17:22:02
|
*** djazayeri has quit IRC
|
17:22:08
|
<szrrizvi> I created a separate table to save that association (I worked it off the way the Role class is implemented).
|
17:22:14
|
*** goutham has quit IRC
|
17:23:32
|
<bwolfe> szrrizvi, did you set it to cascade in the hibernate mapping?
|
17:25:02
|
<szrrizvi> bwolfe, like the Role hibernate mapping, I set cascade=""
|
17:25:14
|
<bwolfe> empty string?
|
17:25:28
|
<szrrizvi> yes.
|
17:25:32
|
<bwolfe> is there an inverse=true on the other side of htat?
|
17:25:37
|
<bwolfe> (on the role mapping)
|
17:26:14
|
<szrrizvi> This is what I see in the Role mapping. <set name="privileges" cascade="" lazy="false" table="role_privilege">
|
17:26:32
|
<szrrizvi> This is mine: <set name="privileges" inverse="true" cascade="" table="authorization_principal_privilege" >
|
17:28:15
|
<venkaban> bwolfe, do we have a shared database for development ?
|
17:28:26
|
<venkaban> or we just have to create our own tables ?
|
17:29:08
|
*** androidcooler has quit IRC
|
17:29:22
|
<bwolfe> venkaban, just create your own. or 3 of your own. or 10 (like me)
|
17:29:23
|
<bwolfe> :-)
|
17:29:31
|
*** Sravanthi has joined #openmrs
|
17:29:36
|
<downey> Hi Sravanthi and welcome to the #openmrs IRC channel.
|
17:29:41
|
<bwolfe> venkaban, when you run openmrs it will step you through creating the db
|
17:29:53
|
*** Sravanthi has left #openmrs
|
17:30:10
|
<venkaban> bwolfe, on local server?
|
17:30:35
|
<bwolfe> szrrizvi, that "inverse=true" on yours means that the cascade choices and other things are done at the other end of the association.
|
17:30:45
|
<bwolfe> can you try to make it exactly the same as what you see in trunk to see if it works?
|
17:30:47
|
<bwolfe> venkaban, yep
|
17:31:06
|
*** rose has joined #openmrs
|
17:31:11
|
<downey> Hi rose and welcome to the #openmrs IRC channel.
|
17:31:32
|
*** rose is now known as Guest27243
|
17:34:13
|
<pushkar> bwolfe, every portlet should have a portletcontroller ??
|
17:42:34
|
<szrrizvi> bwolfe, I am getting a few errors. Just fixing those, and then I'll you know if that worked.
|
17:43:14
|
<bwolfe> pushkar, yes. but they all have the DefaultPortletController by default. see the openmrs-servlet.xml file for that mapping (**/*.portlet ---> DefaultPortletController)
|
17:43:28
|
*** jordank has joined #openmrs
|
17:44:38
|
<pushkar> bwolfe, so if my porlet has a submit then the form should provide the post back url ?
|
17:45:05
|
<bwolfe> pushkar, thats one way
|
17:45:17
|
<pushkar> and which controller should handle these requests ??
|
17:45:39
|
<bwolfe> your portlet can post to your own controller that isn't attached to anything else.
|
17:46:06
|
<bwolfe> <form action="/<openmrs:contextPath>/module/drawing/saveDrawing.form">
|
17:46:17
|
<bwolfe> then create an @Controller'd java file
|
17:46:35
|
<bwolfe> and put @RequestMapping("/module/drawing/saveDrawing", POST);
|
17:47:16
|
<pushkar> thanks Ben :-)
|
17:49:09
|
*** mgielow has joined #openmrs
|
17:49:14
|
<downey> Hi mgielow and welcome to the #openmrs IRC channel.
|
17:50:51
|
*** kishoreyekkanti has joined #openmrs
|
17:50:55
|
<szrrizvi> bwolfe, I tried copying the "set" tag section from the trunk, but it didn't work.
|
17:51:25
|
<bwolfe> can you pastebin.com your mappings, object, and service class?
|
17:52:12
|
<szrrizvi> ok.
|
17:54:17
|
<szrrizvi> http://pastebin.com/WiCJ9FLF
|
17:56:02
|
<szrrizvi> http://pastebin.com/TEZh2Z2v -- this is my object
|
17:57:13
|
<szrrizvi> bwolfe, http://pastebin.com/MgdsF77x -- service implementation
|
17:59:26
|
*** maurya has joined #openmrs
|
18:02:22
|
<mgielow> hi bwolfe, im working as gsoc student on the jsslab module, mind if i ask a question regarding module lifecycle / installation process?
|
18:03:23
|
*** cpower has quit IRC
|
18:05:33
|
*** djazayeri has joined #openmrs
|
18:05:34
|
*** ChanServ sets mode: +o djazayeri
|
18:06:09
|
*** wyclif has quit IRC
|
18:07:09
|
*** Guest27243 has quit IRC
|
18:07:29
|
<bwolfe> kreddy, can you jump on the design call now?
|
18:07:32
|
<bwolfe> https://wiki.openmrs.org/display/RES/Design+Forum
|
18:07:56
|
*** goutham has joined #openmrs
|
18:08:38
|
<djazayeri> dkayiwa: can you join the design call too?
|
18:08:55
|
<dkayiwa> djazayeri: oh sorry i had forgotten :)
|
18:10:29
|
<djazayeri> rafa: can you show us the privilege testing module on the design call now so we can give you feedback?
|
18:11:18
|
<rafa> djazayeri: sure, I'll be ready in an hour
|
18:11:28
|
*** cpower has joined #openmrs
|
18:12:51
|
*** djazayeri1 has joined #openmrs
|
18:13:55
|
*** Echidna_ has quit IRC
|
18:14:44
|
*** djazayeri has quit IRC
|
18:15:02
|
*** Echidna has joined #openmrs
|
18:15:02
|
*** ChanServ sets mode: +v Echidna
|
18:15:50
|
<bwolfe> mgielow, I'm on a call right now. you can ask in here and either I will answer or someone else will while I am away
|
18:17:56
|
*** kavuri has joined #openmrs
|
18:20:22
|
*** wyclif has joined #openmrs
|
18:22:02
|
<kavuri> Hi, I am trying to figure out the corresponding REST API for adding allergies and problems during a patient encounter. Are these embedded in the existing encounter REST API, or they don't exist?
|
18:24:58
|
<kavuri> anyone?
|
18:25:14
|
<bwolfe> kavuri, thats 1.9.x specific
|
18:25:38
|
<kavuri> bwolfe: yes
|
18:25:50
|
<bwolfe> oh wait, no, that was 1.7.x stuff
|
18:25:53
|
<kavuri> bwolfe: I am looking at https://wiki.openmrs.org/display/docs/REST+Web+Service+Resources#RESTWebServiceResources-Form, I don't seem to find the corresponding API
|
18:25:53
|
<bwolfe> it should be in there. :-)
|
18:27:10
|
<kavuri> bwolfe: any pointers?
|
18:32:59
|
<szrrizvi> bwolfe: Did you get a chance to look at the files I linked on Pastebin.com ? If so, any suggestions?
|
18:33:44
|
<bwolfe> kavuri, those are ActiveList things. I don't think so were added yet. check the RESTWS jira project to see if there is a ticket for it yet. https://tickets.openmrs.org/browse/RESTWS
|
18:33:58
|
<bwolfe> szrrizvi, not yet, sorry, busy here and now on a diff conf call
|
18:34:38
|
*** cpower has quit IRC
|
18:35:03
|
<mgielow> on the jsslab module we're intending to offer the user to choose some options when the module is installed (e.g. ask whether to install sample data). is there a standard way / best practise to achieve that?
|
18:35:39
|
<szrrizvi> bwolfe, okay no worries. But please let me know if you get a chance. I've been stuck on this since Friday.
|
18:39:11
|
*** mvorobey has joined #openmrs
|
18:39:24
|
<mvorobey> hi all
|
18:39:26
|
*** applecool has joined #openmrs
|
18:40:25
|
<kavuri> bwolfe: I do not see the active list ticket in jira
|
18:40:34
|
<kavuri> bwolfe: should I add one?
|
18:40:38
|
<bwolfe> yeah
|
18:40:45
|
<kavuri> bwolfe: ok..will do
|
18:43:21
|
<pushkar> bwolfe, I followed the instruction but the extension point is not getting generated
|
18:44:15
|
*** venkaban_ has joined #openmrs
|
18:44:15
|
*** venkaban has quit IRC
|
18:44:21
|
<downey> Hi venkaban_ and welcome to the #openmrs IRC channel.
|
18:44:44
|
*** kishoreyekkanti has quit IRC
|
18:51:41
|
*** goutham has quit IRC
|
18:52:26
|
<pushkar> suranga, hi
|
18:58:43
|
<mvorobey> dkayiwa, hi
|
18:58:48
|
<dkayiwa> mvorobey: hi
|
18:59:06
|
<mvorobey> dkayiwa, how it is going ? :)
|
18:59:16
|
<dkayiwa> mvorobey: going on well
|
18:59:20
|
<dkayiwa> mvorobey: and you?
|
19:00:36
|
<kavuri> bwolfe: created a ticket RESTWS-256
|
19:00:40
|
<mvorobey> dkayiwa, good-good, just returned home, ready to create new patch for you :) are you ready ?
|
19:00:57
|
<dkayiwa> mvorobey: hahahaha more than ready. thanks :D
|
19:02:04
|
<mvorobey> dkayiwa, I hope that will be last patch on this ticket, anyway , you are so attentive and patient :)
|
19:02:19
|
<bwolfe> szrrizvi, I will not have a chance to look until tonight. so you can try getting someone else in the mean time, or wait for a few hours
|
19:02:26
|
<dkayiwa> mvorobey: hahahahaha. i hope so too. you have been even more patient :D
|
19:02:34
|
<bwolfe> pushkar, can you pastebin your config.xml and your extension point java class?
|
19:02:43
|
<bwolfe> (or even better, link to them in github)
|
19:03:09
|
*** nadee has quit IRC
|
19:03:11
|
*** dkayiwa has quit IRC
|
19:03:56
|
<pushkar> okay ill git them up :-)
|
19:04:40
|
*** dkayiwa has joined #openmrs
|
19:06:07
|
<mvorobey> dkayiwa, never mind, if I used to be reviewer and have to do 4 + reviews on single ticket I'd split patches author in two :)
|
19:07:29
|
*** jordank has quit IRC
|
19:07:47
|
<dkayiwa> mvorobey: hahahahahaha. i would split the author if he was not volunteering. That is if i was paying him :)
|
19:08:10
|
<pushkar> bwolfe, done
|
19:09:46
|
<mvorobey> dkayiwa, you are paying me with your gratefulness, so you can split me down :)
|
19:10:09
|
<bwolfe> pushkar, can you link me to the files? :-)
|
19:10:11
|
* bwolfe is lazy
|
19:10:56
|
<dkayiwa> mvorobey: that is not as juicy as cash :)
|
19:11:28
|
<dkayiwa> mvorobey: infact you are the one who is paying the openmrs community with plenty of your skill :D
|
19:11:58
|
<pushkar> bwolfe, https://github.com/ravipatipushkar/drawing/commit/f4a552717ee78dfbe63ac35fbe6553f88c025205#diff-0
|
19:12:20
|
<mvorobey> dkayiwa, gratefulness has more value that whatever :)
|
19:12:25
|
<dkayiwa> mvorobey: you are saving more lives!!! :D
|
19:12:46
|
<mvorobey> dkayiwa, totally true :)
|
19:13:01
|
<dkayiwa> mvorobey: :D
|
19:15:48
|
*** suranga has quit IRC
|
19:16:28
|
<djazayeri1> rafa: ping?
|
19:16:57
|
<rafa> djazayeri1: I'm here
|
19:17:18
|
<djazayeri1> we're having a "fun" discussion about web services.
|
19:17:33
|
<djazayeri1> are you in a position to demo the new module on the design call?
|
19:19:07
|
*** djazayeri1 is now known as djazayeri
|
19:19:07
|
*** ChanServ sets mode: +o djazayeri
|
19:19:08
|
<bwolfe> pushkar, tabs use extension id org.openmrs.patientDashboardTab
|
19:19:23
|
<bwolfe> pushkar, your config file is attaching your extension to the wrong point
|
19:19:45
|
*** dkayiwa has quit IRC
|
19:20:44
|
<pushkar> that is not mentioned in the documentation
|
19:21:08
|
*** dkayiwa has joined #openmrs
|
19:21:18
|
<rafa> djazayeri: yes, I'm kind of ready ;)
|
19:21:30
|
<dkayiwa> rafa: kind of :)
|
19:21:36
|
<mvorobey> dkayiwa, just updated code review https://source.openmrs.org/cru/CR-TRUNK-669 with new patch TRUNK-3377-4.patch, can you please review it and take the load off my mind :)
|
19:21:50
|
<dkayiwa> mvorobey: hahahha. thanks!!! :)
|
19:22:25
|
<mvorobey> dkayiwa, :D
|
19:22:32
|
*** james_regen has quit IRC
|
19:23:39
|
*** sgithens has quit IRC
|
19:23:54
|
*** sgithens has joined #openmrs
|
19:25:23
|
<pushkar> bwolfe, It working but the canvas size getting disturbed .Anyway Thanks Ben :-)
|
19:27:23
|
<djazayeri> rafa: are you sitting there ready-to-present, if we'd ever stop talking?
|
19:27:38
|
* downey has been trying to keep rafa awake
|
19:28:00
|
<djazayeri> rafa: want to just share your screen and that will shut us up?
|
19:28:27
|
<rafa> djazayeri: haha in a minute
|
19:29:45
|
*** cpower has joined #openmrs
|
19:29:45
|
<djazayeri> rafa: okay, share your screen as soon as you're ready
|
19:44:28
|
*** jordank has joined #openmrs
|
19:46:49
|
<snoppy> wyclif: hey, wyclif! Are you here?
|
19:54:31
|
*** kavuri has quit IRC
|
19:55:04
|
<wyclif> hi snoppy
|
19:55:39
|
<snoppy> I've created first issue
|
19:55:41
|
<snoppy> but
|
19:55:44
|
<snoppy> how can I assign issue to me?
|
19:56:52
|
<snoppy> wyclif: how can I assign issue to me?
|
19:57:17
|
<wyclif> just claim it
|
19:57:36
|
<wyclif> that is if you can see all the privileges?
|
19:58:07
|
<snoppy> wyclif: no. I don't see it
|
19:58:22
|
<wyclif> are you logged in?
|
19:58:33
|
<snoppy> wyclif: I can only cancel issue)
|
19:58:38
|
<snoppy> wyclif: yep
|
19:59:07
|
<wyclif> do you see ready for work?
|
19:59:35
|
<snoppy> wyclif: Needs Assessment
|
19:59:57
|
<wyclif> snoppy, only that
|
20:00:29
|
*** szrrizvi has quit IRC
|
20:00:40
|
<wyclif> snoppy, only that?
|
20:00:49
|
<snoppy> wyclif: yes
|
20:01:01
|
<wyclif> let me add ypu to project admins
|
20:01:25
|
<snoppy> wyclif: ok
|
20:01:29
|
<wyclif> refresh the ticket
|
20:02:01
|
<snoppy> ok
|
20:02:15
|
<snoppy> cool
|
20:02:15
|
<wyclif> snoppy, is it fine now?
|
20:02:22
|
<snoppy> wyclif: yes
|
20:03:53
|
<snoppy> wyclif: so after creating new issue at first I should to change status "Ready for word" and then claim it
|
20:04:30
|
<snoppy> wyclif: right?
|
20:04:54
|
<wyclif> snoppy, yes
|
20:05:35
|
<snoppy> wyclif: ok. thanks!
|
20:06:23
|
<jordank> hi mccallumg
|
20:06:46
|
<mccallumg> hi jordank . how's it going today?
|
20:06:49
|
<dkayiwa> rafa: is what you have demod checked in?
|
20:06:59
|
<rafa> dkayiwa: not yet
|
20:07:06
|
<dkayiwa> rafa: ok
|
20:07:16
|
<rafa> dkayiwa: I'll check in before I go to sleep :)
|
20:07:22
|
<dkayiwa> rafa: excellent :)
|
20:07:43
|
<jordank> mccallumg: slow getting started, but I was able to export the tables with navicat
|
20:08:24
|
<mccallumg> jordank: voila! bien fait. were you able to use the workbench to do the diagram?
|
20:09:11
|
*** sgithens has quit IRC
|
20:09:29
|
<mccallumg> jordank: I stumbled on this yesterday. Not completely relevant. https://wiki.openmrs.org/display/docs/How+To+Update+the+OpenMRS+Data+Model+Diagram
|
20:09:45
|
*** wyclif has quit IRC
|
20:10:16
|
<mccallumg> jordank: how close is the navicat export format to the one Andy made?
|
20:10:57
|
*** bwolfe has quit IRC
|
20:11:39
|
<jordank> mccallumg: it's close-ish... that's what I was going to ask you about
|
20:11:58
|
<jordank> mccallumg: still playing with the diagram, but I didn't have any connection issues with it
|
20:12:35
|
<mccallumg> jordank: cool. are there options in the navicat export? (in terms of what flags to include in the sql file)
|
20:13:58
|
<jordank> mccallumg: not really, you just highlight all the tables you want and right-click -> dump sql file and it asks where I want to save it
|
20:14:25
|
<mccallumg> will you send me a copy?
|
20:14:44
|
<jordank> mccallumg: so I was going to ask you if it's safe to make changes myself, and ya sure!
|
20:15:17
|
<mccallumg> jordank: very safe to make changes yourself, yes. I would.
|
20:17:08
|
*** maurya has quit IRC
|
20:18:10
|
<jordank> mccallumg: ok cool
|
20:20:01
|
<mccallumg> jordank: now that you've done the export with navicat - you should try rafa 's new tool on the 1.6.x file I sent in the email.
|
20:22:39
|
*** wyclif has joined #openmrs
|
20:25:43
|
*** kreddy has quit IRC
|
20:25:43
|
*** venkaban_ has quit IRC
|
20:26:04
|
*** kreddy has joined #openmrs
|
20:26:05
|
*** venkaban_ has joined #openmrs
|
20:29:32
|
<jordank> mccallumg: I'll try :)
|
20:29:49
|
<mccallumg> jordank: good work!
|
20:30:22
|
<jordank> 8)
|
20:30:39
|
<jordank> mccallumg: thanks!
|
20:32:24
|
*** applecool_ has joined #openmrs
|
20:34:36
|
*** applecool has quit IRC
|
20:35:38
|
*** applecool_ is now known as applecool
|
20:47:39
|
*** pushkar has quit IRC
|
20:51:01
|
<applecool> rafa: added logo
|
20:51:13
|
<applecool> committed and pushed!
|
20:51:32
|
<applecool> i will start the other tasks too :) rafa
|
20:52:10
|
<rafa> applecool: great! Please check your e-mail. Michael has left you a message :)
|
20:55:48
|
*** bryq has quit IRC
|
20:56:54
|
<applecool> rafa: okay i will check it :)
|
20:58:55
|
<applecool> rafa: i dint get any mail from michael
|
20:59:23
|
<rafa> applecool: ohh he sent it to sriharsha@openmrs.org :)
|
21:00:10
|
<rafa> applecool: go to gmail.com and give sriharsha@openmrs.org as your login and password same as for OpenMRS ID
|
21:00:47
|
<applecool> oh cool! :D :D
|
21:00:57
|
<applecool> i got that ID ! WOW :)
|
21:01:34
|
<dkayiwa> applecold :D
|
21:06:43
|
<applecool> dkayiwa: haha!
|
21:06:58
|
<applecool> ya now i am really became applecold! :D
|
21:07:09
|
<applecool> i am freezing under A/C :P
|
21:07:14
|
*** applecool is now known as applecold
|
21:07:49
|
<dkayiwa> applecold: hahhahahh i guess you are soon becoming applehot :D
|
21:08:02
|
<applecold> downey: i have filled it and sent ! :D
|
21:08:18
|
<applecold> dkayiwa: i wont become applehot! :D :D
|
21:08:26
|
<applecold> i am always cool and cold! :D :P
|
21:08:31
|
<dkayiwa> applecold: hahahah :)
|
21:08:44
|
*** applecold is now known as applecool
|
21:08:54
|
<rafa> downey: I added -Dproperties.file :) See https://wiki.openmrs.org/display/docs/Liquibase
|
21:10:14
|
*** nicoleb has quit IRC
|
21:10:14
|
<downey> applecool: thanks :)
|
21:10:28
|
*** cpower has quit IRC
|
21:10:28
|
<applecool> downey: :)
|
21:10:43
|
<jordank> mccallumg: the file I have has extra tables and some tables have extra keys compared to Andy's - do I need to delete those or am I only worried about the flags?
|
21:10:51
|
<applecool> downey: thanks for the ID too :) i was waiting for that :) ;)
|
21:12:48
|
<downey> applecool: awesome
|
21:13:02
|
<applecool> :)
|
21:14:28
|
<mccallumg> jordank: Andy doesn't export all of the concept tables. Remember what he said, "I usually export all the concept* tables except for concept_proposal and concept_proposal_tag_map. "
|
21:14:48
|
<mccallumg> jordank: are there other tables besides those?
|
21:14:51
|
*** snoppy has left #openmrs
|
21:15:19
|
<jordank> mccallumg: right, there is also concept_map_type
|
21:15:52
|
<mccallumg> jordank: that's new in 1.9
|
21:15:58
|
<mccallumg> jordank: you should keep it
|
21:16:50
|
<jordank> mccallumg: okay cool
|
21:17:40
|
<rafa> jordank: are you using https://wiki.openmrs.org/display/docs/Liquibase?
|
21:18:45
|
<rafa> jordank: UpgradeMVPTest does export concept_proposal and concept_proposal_tag_map, but they're empty
|
21:20:05
|
<jordank> thanks rafa, that was the page I was looking at except it was from May 29 instead of 30
|
21:21:08
|
<rafa> jordank: those tables aren't really used in OpenMRS right now
|
21:21:20
|
<rafa> jordank: emptying them is just a precaution
|
21:22:27
|
<rafa> jordank: if you import the dict you don't want anything in concept_proposal to reference concepts which don't exist anymore
|
21:22:39
|
*** mgielow has left #openmrs
|
21:23:08
|
*** lh has quit IRC
|
21:23:49
|
<jordank> rafa: okay, makes sense... can I use the tool from eclipse? I haven't really tried maven from the command line yet
|
21:24:26
|
<rafa> jordank: sure just make sure you set parameters in the maven build dialog
|
21:24:55
|
<jordank> rafa: okay cool! thanks :)
|
21:25:30
|
<rafa> jordank: you add there parameters without "-D"
|
21:30:15
|
<jordank> rafa: good to know
|
21:32:18
|
*** kreddy has quit IRC
|
21:33:32
|
<djazayeri> venkaban_: hi
|
21:34:18
|
*** mvorobey has quit IRC
|
21:40:04
|
*** mvorobey has joined #openmrs
|
21:40:10
|
*** szrrizvi has joined #openmrs
|
21:40:29
|
<mvorobey> dkayiwa, hi, are not you sleeping yet ? :)
|
21:40:40
|
<dkayiwa> mvorobey: am going to bed :)
|
21:40:57
|
<applecool> dkayiwa: goodnight! :D :D have cool cool dreams!
|
21:41:21
|
<mvorobey> dkayiwa, ah, so, good nigh :)
|
21:41:27
|
<dkayiwa> applecool: same to you!!! Thanks Mr Cool Cool COOL :D
|
21:41:35
|
<mvorobey> nihg = night
|
21:41:45
|
<dkayiwa> mvorobey: thanks Mr spell checker :)
|
21:41:49
|
<applecool> Haha! thanks dkayiwa :) :) :D :D
|
21:41:58
|
<applecool> rafa: there?
|
21:42:19
|
<rafa> applecool: going to bed too
|
21:42:35
|
<applecool> yeah! just pinged to say goodnight :D :D
|
21:42:50
|
<applecool> you too have very cool dreams rafa :D :D
|
21:42:54
|
<applecool> ;)
|
21:43:01
|
<applecool> Goodnight rafa
|
21:43:09
|
<rafa> applecool: thanks! good night!
|
21:43:14
|
<applecool> see you tomorrow! :)
|
21:43:27
|
<mvorobey> dkayiwa, see you tomorrow, mr sleeper :)
|
21:43:31
|
<venkaban_> djazayeri , Hi
|
21:43:37
|
<dkayiwa> mvorobey: see ya
|
21:43:42
|
<dkayiwa> :)
|
21:43:51
|
<mvorobey> bye :D
|
21:43:56
|
*** mvorobey has quit IRC
|
21:44:00
|
*** applecool has quit IRC
|
21:44:15
|
*** mccallumg has quit IRC
|
21:44:32
|
*** dkayiwa has left #openmrs
|
21:44:46
|
*** r_friedman has quit IRC
|
21:46:48
|
<szrrizvi> Hi, can anyone help me with a Hibernate mapping issue. I can't seem to save an object to the database if it's Primary Key is of type String. Any suggestions?
|
21:51:20
|
<djazayeri> venkaban_: you wanted to catch up?
|
21:52:01
|
<djazayeri> szrrizvi: the examples of this in OpenMRS are Role and Privilege. So you can look at those. But generally you should try to have integer PKs.
|
21:52:54
|
*** rafa has quit IRC
|
21:53:00
|
<venkaban_> djazayeri, Yeah I am having lunch, will you be available after 10 mins?
|
21:53:05
|
<djazayeri> sure
|
21:53:15
|
<szrrizvi> djazayeri: Those are the 2 examples I followed, but I can't seem to make it work.
|
21:53:38
|
<djazayeri> szrrizvi: is there an error message? or just nothing is being saved?
|
21:53:49
|
<djazayeri> have you tried setting the runtime property hibernate.show_sql=true ?
|
21:54:11
|
<szrrizvi> djazayeri: no error messages, just nothing being saved.
|
21:55:04
|
<szrrizvi> djazayeri: I'll try that.
|
22:00:13
|
*** kreddy has joined #openmrs
|
22:01:00
|
<kreddy> Hey djazayeri
|
22:01:08
|
<djazayeri> hi kreddy
|
22:01:25
|
<kreddy> Do you have a skype account?
|
22:01:32
|
<djazayeri> yes
|
22:01:33
|
<djazayeri> djazayeri
|
22:01:46
|
<djazayeri> it may list me in Boston. I don't know if I ever changed that
|
22:04:13
|
<kreddy> I couldn't find you. CAn you add me? my skype name is kiran.reddy.jinna
|
22:04:48
|
<djazayeri> done
|
22:08:07
|
<kreddy> I dint get the request :-)
|
22:10:20
|
<venkaban_> djazayeri, Can we chat on skype
|
22:10:22
|
<venkaban_> ?
|
22:10:52
|
<djazayeri> sure
|
22:10:54
|
<djazayeri> djazayeri
|
22:11:09
|
<djazayeri> venkaban_: djazayeri is my skype username
|
22:11:27
|
<venkaban_> djazayeri, thanks I will add it now
|
22:13:34
|
<venkaban_> djazayeri, I added you , please accept my request
|
22:21:19
|
<szrrizvi> djazayery: sorry to bother you again, but I can't understand the output by hibernate. I added the output between the doa method on this pastebin page. http://pastebin.com/aubimbBb
|
22:23:42
|
*** jordank has quit IRC
|
22:34:23
|
<djazayeri> wyclif: yo
|
22:35:00
|
<djazayeri> szrrizvi: I don't see it doing an insert or update
|
22:35:25
|
<wyclif> hi djazayeri
|
22:35:42
|
<djazayeri> wyclif: remember we had a design discussion about calculation, and decided we should refactor a bit to simplify the design? to get rid of evaluator?
|
22:35:49
|
<djazayeri> wyclif: do you know if we created a ticket for that?
|
22:36:06
|
<szrrizvi> djazayeri: Right, it's not there.
|
22:36:43
|
<wyclif> djazayeri, no, but there was a discussion ticket i think CALC-31 where it was documented in form of comments
|
22:36:45
|
<djazayeri> szrrizvi: what does your dao code look like?
|
22:37:14
|
*** venkaban_ has quit IRC
|
22:38:39
|
<szrrizvi> djazayeri: Here is the doa class. http://pastebin.com/bLriX7L0 The method is called "saveAuthorizationPrincipal"
|
22:40:02
|
<djazayeri> szrrizvi: did you do what bwolfe said and make sure you have a @Transactional annotation on the service/serviceImpl?
|
22:41:21
|
<szrrizvi> djazayeri: Yes. And this does save to the DB if I create an int type PK. Just fails, when I switch it to String.
|
22:46:02
|
<szrrizvi> djazayeri: This is my the link in the changeset for creating the table. <column defaultValue="" name="authorization_principal" type="varchar(50)"> <constraints nullable="false" primaryKey="true" unique="true"/> </column>
|
22:48:31
|
*** downey has quit IRC
|
22:48:58
|
<szrrizvi> djazayeri: I can switch the PK back to int type, but that brings me back to my previous problem. The association between authorization principal and privileges not being saved.
|
22:52:38
|
*** wyclif has quit IRC
|
22:57:20
|
*** venkaban has joined #openmrs
|
22:59:31
|
<szrrizvi> djazayeri: If you can't think of a solution from the top of your head, don't worry about it. I'll figure something out. Thanks a lot for your help though, I really appreciate it.
|
22:59:51
|
<djazayeri> szrrizvi: sorry, don't know (and on a call now)
|
22:59:55
|
<szrrizvi> off the top of your head **
|
22:59:56
|
<venkaban> djazayeri, please ping me when see this message
|
23:00:13
|
*** szrrizvi has quit IRC
|
23:08:02
|
*** venkaban has quit IRC
|
23:34:01
|
*** lh has joined #openmrs
|
23:35:45
|
*** kreddy has quit IRC
|
23:39:47
|
*** lhawthor_ has joined #openmrs
|
23:41:30
|
*** lh has quit IRC
|
23:46:00
|
*** lhawthor_ is now known as lh
|
23:46:07
|
*** lh has joined #openmrs
|
23:52:53
|
*** wyclif has joined #openmrs
|
23:54:59
|
*** jordank has joined #openmrs
|