01:15:03
|
*** jportela has joined #openmrs
|
01:15:03
|
*** ChanServ sets mode: +v jportela
|
01:28:18
|
*** gauravpaliwal has joined #openmrs
|
01:28:18
|
*** ChanServ sets mode: +v gauravpaliwal
|
01:29:56
|
*** jportela has left #openmrs
|
03:46:32
|
*** gauravpaliwal1 has joined #openmrs
|
03:46:41
|
*** gauravpaliwal has quit IRC
|
04:10:23
|
*** goutham has joined #openmrs
|
04:11:36
|
*** gauravpaliwal1 has left #openmrs
|
04:20:47
|
*** gbastien has joined #openmrs
|
04:32:10
|
*** surangak has joined #openmrs
|
04:33:06
|
*** gbastien has quit IRC
|
04:40:41
|
*** czakian has quit IRC
|
04:56:32
|
*** goutham has quit IRC
|
05:10:30
|
*** dkayiwa has joined #openmrs
|
05:24:36
|
*** gauravpaliwal has joined #openmrs
|
05:24:36
|
*** ChanServ sets mode: +v gauravpaliwal
|
05:30:38
|
*** surangak has quit IRC
|
05:41:14
|
*** surangak has joined #openmrs
|
05:42:08
|
<surangak> dkayiwa: hello daniel Ive finally decided to use your workarounds to deal with the html form entry module problem....
|
05:42:23
|
<dkayiwa> oh i see
|
05:42:24
|
<surangak> dkayiwa: any chance of sending them over to me :-)
|
05:42:33
|
<dkayiwa> no problem
|
05:43:18
|
<surangak> dkayiwa: great... :P
|
05:44:15
|
<dkayiwa> first one
|
05:44:26
|
<dkayiwa> look for org.openmrs.Form
|
05:44:46
|
<dkayiwa> method getXslt
|
05:45:54
|
<dkayiwa> change exception type to Exception instead of DAOException
|
05:51:54
|
*** surangak has quit IRC
|
05:53:48
|
*** surangak has joined #openmrs
|
05:54:15
|
<dkayiwa> surangak: did u see the changes i sent?
|
05:54:33
|
<surangak> dkayiwa: sorry daniel, my connection keeps getting terminated.. ive changed the exception name now...
|
05:54:46
|
<dkayiwa> ok
|
05:54:56
|
<dkayiwa> try run and send me the exception you get
|
05:55:07
|
<surangak> dkayiwa: sure, will do...
|
05:55:33
|
<dkayiwa> ok
|
06:03:34
|
<surangak> dkayiwa: hmm... i still seem to be getting a org.hibernate.LazyInitializationException: could not initialize proxy - no Session....
|
06:03:52
|
<dkayiwa> what happens when you click add form?
|
06:04:41
|
*** muthah has joined #openmrs
|
06:06:03
|
<surangak> dkayiwa: aha
|
06:06:17
|
<surangak> dkayiwa: add form link leads to the edit metadeta page
|
06:06:27
|
<dkayiwa> yes
|
06:06:30
|
<dkayiwa> thats correct
|
06:06:34
|
<surangak> dkayiwa: its the links that apper belo in the add form page that give this error...
|
06:06:44
|
<dkayiwa> which link?
|
06:07:29
|
<surangak> dkayiwa: http://localhost:8080/openmrs/admin/forms/form.list here, there is a sort of table with links to other forms...
|
06:09:05
|
<dkayiwa> go to FormServiceImpl.java
|
06:09:25
|
<dkayiwa> its in this package: org.openmrs.api.impl
|
06:09:53
|
<surangak> dkayiwa: righto
|
06:10:00
|
<surangak> dkayiwa: im there..
|
06:10:07
|
<dkayiwa> look for method getFormResource
|
06:11:10
|
<surangak> dkayiwa: got it..
|
06:11:22
|
<dkayiwa> in that method, go to the catch (IOException e)
|
06:11:56
|
<dkayiwa> in there return null; instead of throw new APIException("could not deserialize form resource", e);
|
06:12:51
|
<surangak> dkayiwa: great let me check it out...
|
06:12:56
|
<dkayiwa> ok
|
06:21:04
|
<surangak> dkayiwa: hmmm..... sorryy.. that doesnt seem to have changed things, im afraid...
|
06:21:16
|
<dkayiwa> what error do you now get?
|
06:21:56
|
<surangak> dkayiwa: the exact same, im afraid..
|
06:22:24
|
<dkayiwa> is that for the add form link?
|
06:22:51
|
<surangak> dkayiwa: no that link works,
|
06:22:59
|
<surangak> dkayiwa: its the ones below...
|
06:23:00
|
<dkayiwa> which link fails?
|
06:23:18
|
<surangak> in this page there are a list of links for forms alreadt added..
|
06:23:28
|
<surangak> dkayiwa: in this page there are a list of links for forms alreadt added..
|
06:23:36
|
<surangak> dkayiwa: its thease that seem to fail...
|
06:23:50
|
<dkayiwa> does it fail for only html forms?
|
06:25:03
|
<surangak> dkayiwa: for all the forms im afraid
|
06:25:26
|
<dkayiwa> how many forms do you have?
|
06:25:47
|
<surangak> dkayiwa: between 5-6 that i created myself
|
06:25:54
|
<dkayiwa> ok
|
06:26:11
|
<dkayiwa> now send me a paste bin link for the current stack trace
|
06:26:36
|
<surangak> dkayiwa: is that ok... I mean, you must be busy right ?
|
06:27:08
|
<surangak> dkayiwa: let me try some more to see if i can get moving ?
|
06:27:25
|
<dkayiwa> am bussy all the time. so if you wait for when am free, you may never such a time :D
|
06:27:41
|
<dkayiwa> so do not worry
|
06:27:52
|
<dkayiwa> just send the link :)
|
06:27:56
|
<dkayiwa> unless you are busy too
|
06:28:14
|
<surangak> dkayiwa: to work with html form entry, ive currently jusy imported and added the onod file
|
06:28:26
|
<dkayiwa> ok
|
06:28:29
|
<surangak> dkaya is this error because i dont have the code checked out ?
|
06:28:41
|
*** bryq has joined #openmrs
|
06:28:41
|
*** ChanServ sets mode: +v bryq
|
06:28:41
|
<dkayiwa> no
|
06:28:53
|
<dkayiwa> you dont need the code for a module to run
|
06:29:01
|
<dkayiwa> as long as you have the .omod
|
06:37:22
|
*** surangak has quit IRC
|
06:38:13
|
*** surangak has joined #openmrs
|
06:38:27
|
<surangak> dkayiwa: hi ive put it up at http://pastebin.com/0E6dpXPD
|
06:38:45
|
<dkayiwa> ok let me look at it
|
06:39:50
|
<surangak> dkayiwa: great :-) thanks a lot
|
06:40:20
|
*** bryq has quit IRC
|
06:44:16
|
*** pascal` has joined #openmrs
|
06:56:00
|
*** gauravpaliwal has left #openmrs
|
07:04:08
|
<dkayiwa> surangak the stack trace does not give me enough information
|
07:05:33
|
<surangak> dkayiwa: woops
|
07:06:02
|
<surangak> dkayiwa: in the add forms page, do u see a link to basic form
|
07:06:13
|
<surangak> dkayiwa: does clicking on this give u an error ?
|
07:06:37
|
<surangak> dkayiwa: sorry, the manage form page
|
07:06:55
|
<dkayiwa> add form works for me
|
07:07:47
|
<surangak> dkayiwa: yes, but arnt you displayed a list of other form below in the page
|
07:08:26
|
<surangak> dkayiwa: something like { Forms} [ Name Version Build Description]
|
07:09:39
|
<dkayiwa> ok
|
07:10:26
|
<dkayiwa> http://localhost:8080/openmrs/admin/forms/formEdit.form?formId=1
|
07:10:38
|
<dkayiwa> is that what brings the error?
|
07:10:49
|
<surangak> dkayiwa: yes im afraid
|
07:11:05
|
<surangak> dkayiwa: bright red error with javax.el.ELException: org.hibernate.LazyInitializationException: could not initialize proxy - no Session
|
07:12:02
|
<dkayiwa> did you get the stack trace form tomcat logs?
|
07:13:06
|
<surangak> dkayiwa: um... im using jetty actually...
|
07:13:17
|
<dkayiwa> ok
|
07:13:28
|
<dkayiwa> where did you get the stack trace from?
|
07:13:50
|
<surangak> from the cmd :-)
|
07:14:02
|
<dkayiwa> eclipse consile?
|
07:14:06
|
<dkayiwa> console
|
07:14:13
|
<surangak> dkayiwa: command prompt
|
07:14:27
|
<surangak> dkayiwa: im running maven via windows command prompt..
|
07:14:46
|
<dkayiwa> and is that all the stack trace you had?
|
07:14:49
|
<surangak> dkayiwa: do you think this is possbily a problem in my setup
|
07:19:18
|
<surangak> dkayiwa: oh wow
|
07:19:27
|
<surangak> dkayiwa: sorry u were right
|
07:20:41
|
<dkayiwa> about whether that was all the stack trace you have?
|
07:21:05
|
*** surangak_ has joined #openmrs
|
07:21:26
|
<surangak_> dkayiwa: seems that i had missed something from the very top
|
07:21:53
|
<surangak_> dkayiwa: http://pastebin.com/5aBWghpZ
|
07:22:17
|
<surangak_> dkayiwa: it says something regarding the dwr service DWRHtmlFormEntryService.check
|
07:22:27
|
<surangak_> dkayiwa: i had totally missed that earlier :(
|
07:23:56
|
*** surangak has quit IRC
|
07:25:09
|
<dkayiwa> do you get the same error when you unstal the htmlformentry module? surangak_
|
07:27:18
|
<surangak_> dkayiwa: u mean when i install the module ? let me check...
|
07:27:27
|
<dkayiwa> uninstall
|
07:28:35
|
<surangak_> dkayiwa: by uninstal u r referring to deleting the omod, is it ?
|
07:28:42
|
<dkayiwa> yes
|
07:28:52
|
<surangak_> dkayiwa: from the moduled folder ?
|
07:29:07
|
<dkayiwa> admin -> manage modules
|
07:29:45
|
*** Yamiko has joined #openmrs
|
07:35:45
|
<surangak_> dkayiwa: aha im getting the same dwr error when trying to start or shut down module
|
07:36:01
|
<surangak_> dkayiwa:
|
07:36:05
|
<surangak_> dkayiwa: ERROR - CommonsLoggingOutput.error(75) |2011-05-30 13:01:20,412| Parameter mismatch parsing signatures section in dwr.xml on line: DWRHtmlFormEntryService.check IfLoggedIn()
|
07:36:41
|
<dkayiwa> then manualy remove it from the modules folder and restart the server
|
07:37:04
|
<surangak_> aha, and then re install, right ?
|
07:37:11
|
<dkayiwa> no
|
07:37:18
|
<dkayiwa> you try to select the form
|
07:37:25
|
<dkayiwa> and see what happens
|
07:37:38
|
<dkayiwa> when the htmlformentry module is not installed
|
07:49:22
|
<surangak_> dkayiwa: hmmm... no change im afraid...
|
07:49:46
|
<dkayiwa> whats the current stack trace?
|
07:50:00
|
<surangak_> dkayiwa: other than there being no mention of the dwr error, it shows the same as before...
|
07:50:17
|
<dkayiwa> whats the current stack trace?
|
07:51:43
|
<surangak_> dkayiwa: it shows as http://pastebin.com/7vQAbaiT
|
07:51:50
|
<dkayiwa> ok
|
07:52:52
|
<surangak_> dkayiwa: its not very informative looking to me, im afraid...
|
07:54:10
|
<dkayiwa> do u get the same error when you duplicate the basic form?
|
07:57:20
|
<surangak_> dkayiwa: yeps
|
07:57:28
|
<surangak_> dkayiwa: same trace..
|
07:57:39
|
<dkayiwa> when does the error happen?
|
07:57:50
|
<dkayiwa> is that when you click the duplicate form button?
|
07:58:34
|
<surangak_> dkayiwa: yep, i select the basic form and click duplicate...
|
07:59:00
|
<dkayiwa> and does that work? or you simply get errors?
|
07:59:57
|
<surangak_> dkayiwa: same way .. i get the page with the red javax.el.ELException: org.hibernate.LazyInitializationException: could not initialize proxy - no Session
|
08:00:07
|
<surangak_> dkayiwa: error , plus that stack trace...
|
08:00:56
|
<dkayiwa> so add form works but duplicate form does not
|
08:00:59
|
<dkayiwa> correct?
|
08:01:35
|
<surangak_> yep, plus clicking on the links to open the form in a seperate page, i gueess\
|
08:01:39
|
<surangak_> dkayiwa: you guys dont have this problem ?
|
08:02:02
|
<dkayiwa> am not sure about others
|
08:02:05
|
<dkayiwa> but i do not
|
08:02:13
|
<dkayiwa> although i could have local changes here
|
08:02:30
|
<dkayiwa> that i used to fix it but possibly forgot about
|
08:03:16
|
<surangak_> dkayiwa: oho... so shall i have another go, and then try to write a mail or something asking if anyone else have the same problem ?
|
08:03:44
|
<surangak_> dkayiwa: maybe u have fixed it in your machine, and forgot all about it :-)
|
08:04:02
|
<dkayiwa> yes i suspect :)
|
08:04:06
|
<dkayiwa> so send the email
|
08:04:33
|
<surangak_> dkayiwa: sure, will do... but you've been a great help, i think i wasted 1/3 your day today :-)
|
08:04:51
|
<dkayiwa> loll
|
08:04:56
|
<dkayiwa> thats not wasting
|
08:05:03
|
<dkayiwa> its sharing ideas :)
|
08:09:02
|
*** surangak_ has quit IRC
|
08:17:05
|
*** danielf` has joined #openmrs
|
08:17:05
|
*** ChanServ sets mode: +v danielf`
|
08:35:17
|
*** surangak has joined #openmrs
|
08:44:00
|
*** gauravpaliwal has joined #openmrs
|
08:44:00
|
*** ChanServ sets mode: +v gauravpaliwal
|
08:45:55
|
<gauravpaliwal> Hi anyone there ? could anyone suggest any pointer to this : http://openmrs-mailing-list-archives.1560443.n2.nabble.com/Error-in-delete-Operation-in-DAO-td6417858.html
|
08:45:59
|
<OpenMRSBot> <http://ln-s.net/8rc-> (at openmrs-mailing-list-archives.1560443.n2.nabble.com)
|
08:52:33
|
*** dkayiwa has quit IRC
|
08:53:17
|
*** dkayiwa has joined #openmrs
|
08:56:00
|
*** danielf` has quit IRC
|
08:57:48
|
*** surangak has quit IRC
|
09:11:05
|
*** dkayiwa has quit IRC
|
09:11:37
|
*** danielf` has joined #openmrs
|
09:11:37
|
*** ChanServ sets mode: +v danielf`
|
09:39:38
|
*** danielf` has quit IRC
|
09:42:19
|
*** surangak has joined #openmrs
|
09:42:42
|
<OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (obs-codes-expanded): Adding LocationHandler for comparison purposes, and adding exception handling for both handler classes <http://feedproxy.google.com/~r/OMRStrunk/~3/iUaNjNjw1wI/OpenMRS>
|
09:55:22
|
*** surangak has quit IRC
|
10:21:01
|
*** ChanServ sets mode: +v pascal`
|
10:59:16
|
<pascal`> !seen dkayiwa
|
10:59:16
|
<OpenMRSBot> pascal`: dkayiwa was last seen in #openmrs 2 hours, 54 minutes, and 12 seconds ago: <dkayiwa> its sharing ideas :)
|
11:06:23
|
*** gauravpaliwal has quit IRC
|
11:37:49
|
*** bryq has joined #openmrs
|
11:37:49
|
*** ChanServ sets mode: +v bryq
|
11:39:04
|
*** goutham has joined #openmrs
|
12:01:30
|
*** goutham has quit IRC
|
12:07:04
|
*** tinashe has joined #openmrs
|
12:07:15
|
*** tinashe has left #openmrs
|
12:19:39
|
*** muthah has quit IRC
|
12:23:34
|
*** muthah has joined #openmrs
|
12:42:29
|
*** dkayiwa has joined #openmrs
|
12:42:48
|
*** gbastien has joined #openmrs
|
12:45:44
|
*** rafa has joined #openmrs
|
12:45:44
|
*** ChanServ sets mode: +v rafa
|
13:01:28
|
<pascal`> dkayiwa++
|
13:12:03
|
*** pascal` has quit IRC
|
13:24:51
|
*** pascal` has joined #openmrs
|
13:27:54
|
*** muthah has quit IRC
|
13:30:14
|
<dkayiwa> hi pascal`
|
13:30:18
|
<dkayiwa> sorry i was out
|
13:30:28
|
<dkayiwa> but now back
|
13:36:15
|
<pascal`> haha, np dkayiwa
|
13:36:35
|
<pascal`> dkayiwa, if you change a concept's name, is there a quick way to get that name updated across a bunch of forms?
|
13:37:03
|
<dkayiwa> Tinashe has just asked me and am waiting for him to respond
|
13:37:12
|
<pascal`> dkayiwa, oh I see
|
13:37:20
|
<pascal`> thanks dkayiwa
|
13:37:23
|
<pascal`> dkayiwa++
|
13:37:32
|
<dkayiwa> yo welcome
|
14:03:06
|
*** czakian has joined #openmrs
|
14:15:05
|
*** aja has joined #openmrs
|
14:21:48
|
*** czakian has quit IRC
|
14:31:01
|
*** aja has quit IRC
|
14:41:09
|
*** pascal` has quit IRC
|
14:45:04
|
*** gauravpaliwal has joined #openmrs
|
14:45:04
|
*** ChanServ sets mode: +v gauravpaliwal
|
14:54:47
|
*** pascal` has joined #openmrs
|
14:57:13
|
*** jportela has joined #openmrs
|
14:57:13
|
*** ChanServ sets mode: +v jportela
|
15:14:57
|
*** aja has joined #openmrs
|
15:16:15
|
*** pascal` has quit IRC
|
15:29:06
|
*** Hazamonzo has joined #openmrs
|
15:31:35
|
*** jportela has quit IRC
|
15:43:08
|
*** jportela_ has joined #openmrs
|
15:43:08
|
*** ChanServ sets mode: +v jportela_
|
16:05:06
|
*** dlawson has joined #openmrs
|
16:05:06
|
*** ChanServ sets mode: +v dlawson
|
16:11:56
|
*** Yamiko has quit IRC
|
16:13:45
|
*** EClaesson has joined #openmrs
|
16:13:45
|
*** ChanServ sets mode: +v EClaesson
|
16:13:46
|
*** aja has quit IRC
|
16:13:50
|
*** Hazamonzo has quit IRC
|
16:23:14
|
*** jportela_ has quit IRC
|
16:27:16
|
*** Mkop has joined #openmrs
|
16:27:16
|
*** ChanServ sets mode: +v Mkop
|
16:30:50
|
*** markod has joined #openmrs
|
16:38:56
|
*** gauravpaliwal has left #openmrs
|
16:39:59
|
*** dlawson has left #openmrs
|
16:43:10
|
*** cta has joined #openmrs
|
16:58:09
|
*** cta has quit IRC
|
16:59:28
|
*** cta has joined #openmrs
|
17:01:09
|
*** EClaesson has quit IRC
|
17:06:27
|
*** goutham has joined #openmrs
|
17:21:32
|
*** pascal` has joined #openmrs
|
17:21:40
|
*** ChanServ sets mode: +v pascal`
|
17:37:22
|
*** goutham has quit IRC
|
17:42:23
|
*** EClaesson has joined #openmrs
|
17:42:23
|
*** ChanServ sets mode: +v EClaesson
|
17:43:00
|
*** jportela has joined #openmrs
|
17:43:00
|
*** ChanServ sets mode: +v jportela
|
17:45:00
|
*** mandric has joined #openmrs
|
17:52:55
|
*** mandric has quit IRC
|
18:00:39
|
*** gbastien has quit IRC
|
18:06:06
|
*** dlawson has joined #openmrs
|
18:06:07
|
*** ChanServ sets mode: +v dlawson
|
18:06:38
|
*** dlawson has left #openmrs
|
18:08:09
|
*** EClaesson has quit IRC
|
18:27:24
|
*** Mkop has quit IRC
|
18:35:05
|
*** gbastien has joined #openmrs
|
18:52:38
|
*** jportela has quit IRC
|
19:09:22
|
*** rafa has quit IRC
|
19:11:45
|
*** rafa has joined #openmrs
|
19:11:45
|
*** ChanServ sets mode: +v rafa
|
19:13:41
|
*** djazayeri has quit IRC
|
19:15:16
|
*** djazayeri has joined #openmrs
|
19:15:16
|
*** ChanServ sets mode: +o djazayeri
|
19:24:33
|
*** EClaesson has joined #openmrs
|
19:24:33
|
*** ChanServ sets mode: +v EClaesson
|
19:27:23
|
*** EClaesson has left #openmrs
|
19:27:43
|
*** EClaesson has joined #openmrs
|
19:27:43
|
*** ChanServ sets mode: +v EClaesson
|
19:28:24
|
*** dkayiwa has quit IRC
|
19:36:55
|
*** dkayiwa has joined #openmrs
|
19:45:45
|
*** czakian has joined #openmrs
|
20:16:50
|
*** cta has quit IRC
|
20:24:43
|
*** jportela has joined #openmrs
|
20:24:43
|
*** ChanServ sets mode: +v jportela
|
20:29:14
|
*** wyclif has joined #openmrs
|
20:42:20
|
*** wyclif has quit IRC
|
20:49:40
|
*** wyclif has joined #openmrs
|
20:55:06
|
*** czakian has quit IRC
|
20:55:45
|
*** mandric has joined #openmrs
|
21:08:09
|
*** wyclif has quit IRC
|
21:08:42
|
*** EClaesson has quit IRC
|
21:13:29
|
*** djazayeri has quit IRC
|
21:13:40
|
*** bryq has quit IRC
|
21:17:44
|
*** szrrizvi has joined #openmrs
|
21:19:12
|
*** djazayeri has joined #openmrs
|
21:19:12
|
*** ChanServ sets mode: +o djazayeri
|
21:37:18
|
*** pascal` has quit IRC
|
21:43:10
|
*** czakian has joined #openmrs
|
21:55:59
|
<szrrizvi> Hi djazayeri, I am trying to find out how the access control is handled in OpenMRS. I believe you were helping me a few days ago as well. Would you know if org.openmrs.aop.AuthorizationAdvice is the class where the authorization is checked?
|
22:01:15
|
*** czakian has quit IRC
|
22:03:05
|
*** rafa has quit IRC
|
22:17:00
|
*** dkayiwa has quit IRC
|
22:22:42
|
*** szrrizvi has quit IRC
|
22:23:35
|
*** dkayiwa has joined #openmrs
|
23:05:58
|
*** czakian has joined #openmrs
|
23:19:32
|
*** mandric has quit IRC
|
23:20:52
|
*** czakian has quit IRC
|
23:22:39
|
*** czakian has joined #openmrs
|
23:27:39
|
*** mandric has joined #openmrs
|
23:38:29
|
*** dkayiwa has quit IRC
|
23:50:09
|
*** czakian has quit IRC
|
23:55:46
|
*** dkayiwa has joined #openmrs
|