Marcos,
Have you traed closing the form and then opening it again?  Sometimes that 
makes an error go away.

Also, are you linking an additional form to the standard patient registration 
form that comes with XForms?

Finally, when you added the patient attributes to the OpenMRS instance, then 
went into the patient form, did you hit refresh to load them?

Joaquin 

___________________________________________________________________
Chief Technology Officer, eHealth Systems Chile
Research Fellow, Harvard Medical School/Partners In Health
Moderator, GHDOnline.org

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Marcos Núñez
Sent: Friday, September 16, 2011 13:27
To: [email protected]
Subject: [OPENMRS-IMPLEMENTERS] XForms: trouble while adding new patient 
attributes

Hi! I've been experiencing some errors with the XForms designer while editing 
the Patient XForm.

After customising the form, I realized I had to add some new patient attributes 
to the list that I forgot (such as e-mail and phone number). I did, came back 
to the XForm Designer and while refreshing, got this error message.

(TypeError): Cannot read property 'd' of null
 arguments: d,
 type: non_object_property_load
 stack: TypeError: Cannot read property 'd' of null
    at Object.yLb 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:2452:43)
    at d8b 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:3161:51)
    at a9b 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:3568:487)
    at Object._3b [as cb] 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:3639:8716)
    at g5 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:3227:166)
    at Object.u5 [as sb] 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:3630:20662)
    at Object.Pt [as rb] 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:3630:5778)
    at 
http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:2073:61
    at Kv 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:3070:61)
    at 
http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:2239:45

and in "more"

Excepcion que no se detecto: com.google.gwt.core.client.JavaScriptException: 
(TypeError): Cannot read property 'd' of null
 arguments: d,
 type: non_object_property_load
 stack: TypeError: Cannot read property 'd' of null
    at Object.yLb 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:2452:43)
    at d8b 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:3161:51)
    at a9b 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:3568:487)
    at Object._3b [as cb] 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:3639:8716)
    at g5 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:3227:166)
    at Object.u5 [as sb] 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:3630:20662)
    at Object.Pt [as rb] 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:3630:5778)
    at 
http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:2073:61
    at Kv 
(http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:3070:61)
    at 
http://centroepilepsia.org.ar/openmrs/moduleResources/xforms/formdesigner/CE13307B707BCA3C46F66064968B74F9.cache.html:2239:45
    at Unknown.yLb(Unknown source:0)
    at Unknown.d8b(Unknown source:0)
    at Unknown.a9b(Unknown source:0)
    at Unknown._3b(Unknown source:0)
    at Unknown.g5(Unknown source:0)
    at Unknown.u5(Unknown source:0)
    at Unknown.Pt(Unknown source:0)
    at Unknown.anonymous(Unknown source:0)
    at Unknown.Kv(Unknown source:0)
    at Unknown.anonymous(Unknown source:0)

I've looked for this "d" property all over, unsuccessfully. Any ideas of what 
could this error be related to? I enclose the patient XForm in the mail.

________________________________

Click here to unsubscribe 
<mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>  from 
OpenMRS Implementers' mailing list 

_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-implement-l" in the  body 
(not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

Reply via email to