# xforms XformsUtil.reportDataUploadError(625)

**URL:** <https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135>\
**Category:** Implementing\
**Tags:** xforms\
**Created:** [April 21, 2017, 1:30pm UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135 "2017-04-21T13:30:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![whiscard](https://talk.openmrs.org/user_avatar/talk.openmrs.org/whiscard/32/4715_2.png) [@whiscard](https://talk.openmrs.org/u/whiscard)\
**Post date:** [April 21, 2017, 1:30pm UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/1 "2017-04-21T13:30:35Z")

</div>

Im getting this error when I click on Refresh to add new widgets to my xform patient registration form:

[https://pastebin.com/jmtYq9NZ](https://pastebin.com/jmtYq9NZ)

What could be the issue? cc @dkayiwa

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [April 21, 2017, 1:43pm UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/2 "2017-04-21T13:43:43Z")

</div>

Can you create a ticket for it?

---

<div class="post-metadata">

**Author:** ![whiscard](https://talk.openmrs.org/user_avatar/talk.openmrs.org/whiscard/32/4715_2.png) [@whiscard](https://talk.openmrs.org/u/whiscard)\
**Post date:** [April 24, 2017, 2:08pm UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/3 "2017-04-24T14:08:58Z")

</div>

I’ve created an issue: [https://issues.openmrs.org/browse/XFRM-210](https://issues.openmrs.org/browse/XFRM-210) Please let me know incase it’s not clear.

Thanks.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [April 24, 2017, 4:34pm UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/4 "2017-04-24T16:34:49Z")

</div>

I attached a fixed version of the module on the ticket.

---

<div class="post-metadata">

**Author:** ![whiscard](https://talk.openmrs.org/user_avatar/talk.openmrs.org/whiscard/32/4715_2.png) [@whiscard](https://talk.openmrs.org/u/whiscard)\
**Post date:** [April 25, 2017, 5:32am UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/5 "2017-04-25T05:32:37Z")

</div>

Thanks for the prompt response. I’ll test and get back to you.

---

<div class="post-metadata">

**Author:** ![whiscard](https://talk.openmrs.org/user_avatar/talk.openmrs.org/whiscard/32/4715_2.png) [@whiscard](https://talk.openmrs.org/u/whiscard)\
**Post date:** [April 25, 2017, 12:58pm UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/6 "2017-04-25T12:58:37Z")

</div>

@dkayiwa the refresh is working ok. Just one more issue/question. Im trying to create Validation Logic to check if the Encounter Date time is in the future. When I set the condition to “Value is less than or equal to today()” and then save and refresh the condition disappears. What could be the problem?

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [April 25, 2017, 7:25pm UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/7 "2017-04-25T19:25:59Z")

</div>

If you save but not refresh, does it still disappear?

---

<div class="post-metadata">

**Author:** ![whiscard](https://talk.openmrs.org/user_avatar/talk.openmrs.org/whiscard/32/4715_2.png) [@whiscard](https://talk.openmrs.org/u/whiscard)\
**Post date:** [April 26, 2017, 12:17pm UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/8 "2017-04-26T12:17:31Z")

</div>

Nope if I save and not refresh it doesnt disappear.

Thanks.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [April 26, 2017, 1:38pm UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/9 "2017-04-26T13:38:34Z")

</div>

Are you able to reproduce it here [modules-refapp.openmrs.org](http://modules-refapp.openmrs.org)? Username: admin Password: sup3rS3cr3tPassw0rd

---

<div class="post-metadata">

**Author:** ![whiscard](https://talk.openmrs.org/user_avatar/talk.openmrs.org/whiscard/32/4715_2.png) [@whiscard](https://talk.openmrs.org/u/whiscard)\
**Post date:** [April 27, 2017, 7:21am UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/10 "2017-04-27T07:21:52Z")

</div>

I get this error when I click on Xforms → Patient XForm Design from that url: ![](https://talk.openmrs.org/uploads/default/original/2X/3/332d0af57d91abd872ee83aacde0fba5d3f5ff86.png)

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [April 27, 2017, 8:55pm UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/11 "2017-04-27T20:55:13Z")

</div>

@whiscard that was a bug in the legacyui module which i have fixed with [https://issues.openmrs.org/browse/LUI-124](https://issues.openmrs.org/browse/LUI-124) So can you try again?

---

<div class="post-metadata">

**Author:** ![whiscard](https://talk.openmrs.org/user_avatar/talk.openmrs.org/whiscard/32/4715_2.png) [@whiscard](https://talk.openmrs.org/u/whiscard)\
**Post date:** [April 28, 2017, 4:52am UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/12 "2017-04-28T04:52:56Z")

</div>

Sure thing, I’ll try again and get back to you.

---

<div class="post-metadata">

**Author:** ![whiscard](https://talk.openmrs.org/user_avatar/talk.openmrs.org/whiscard/32/4715_2.png) [@whiscard](https://talk.openmrs.org/u/whiscard)\
**Post date:** [April 28, 2017, 5:40am UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/13 "2017-04-28T05:40:51Z")

</div>

@dkayiwa looks like the Patient Xforms Design link is missing from the Advanced Administration screen:

 ![](https://talk.openmrs.org/uploads/default/original/2X/0/096fb2bff1d1aafc918cffe8b9102909551c886c.png)

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [May 2, 2017, 12:15pm UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/14 "2017-05-02T12:15:30Z")

</div>

@whiscard that was caused by a bug in our module class loaders. I have just restarted it. Can you try again?

---

<div class="post-metadata">

**Author:** ![whiscard](https://talk.openmrs.org/user_avatar/talk.openmrs.org/whiscard/32/4715_2.png) [@whiscard](https://talk.openmrs.org/u/whiscard)\
**Post date:** [May 3, 2017, 5:49am UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/15 "2017-05-03T05:49:38Z")

</div>

@dkayiwa Im getting a HTTP Status 500 error when I access the url: [https://modules-refapp.openmrs.org/openmrs/](https://modules-refapp.openmrs.org/openmrs/) The error is something to do with the oralhealth module.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [May 3, 2017, 9:24am UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/16 "2017-05-03T09:24:41Z")

</div>

@whiscard can you try again now?

---

<div class="post-metadata">

**Author:** ![whiscard](https://talk.openmrs.org/user_avatar/talk.openmrs.org/whiscard/32/4715_2.png) [@whiscard](https://talk.openmrs.org/u/whiscard)\
**Post date:** [May 3, 2017, 9:40am UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/17 "2017-05-03T09:40:12Z")

</div>

Ok. Will do.

---

<div class="post-metadata">

**Author:** ![whiscard](https://talk.openmrs.org/user_avatar/talk.openmrs.org/whiscard/32/4715_2.png) [@whiscard](https://talk.openmrs.org/u/whiscard)\
**Post date:** [May 3, 2017, 12:31pm UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/18 "2017-05-03T12:31:17Z")

</div>

@dkayiwa. When I create an encounter date time form field along with the validation logic, then I save I get this error:

 ![](https://talk.openmrs.org/uploads/default/original/2X/5/54e4446c3fc6119ef9fd03bd876922eb6cc51bb5.png)

Then I close the Patient xform design page and then open it again, I can see the form field and the validation logic.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [May 3, 2017, 12:57pm UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/19 "2017-05-03T12:57:39Z")

</div>

The patient registration form does not use the encounter date time field. That one is used for encounter forms.

---

<div class="post-metadata">

**Author:** ![whiscard](https://talk.openmrs.org/user_avatar/talk.openmrs.org/whiscard/32/4715_2.png) [@whiscard](https://talk.openmrs.org/u/whiscard)\
**Post date:** [May 3, 2017, 1:10pm UTC](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135/20 "2017-05-03T13:10:31Z")

</div>

Interesting, is there any encounter information (location/provider) needed for the patient registration form?

[Next page](https://talk.openmrs.org/t/xforms-xformsutil-reportdatauploaderror-625/11135.md?page=2)
