Required and not required attachment.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Required and not required attachment.

Nobry
Hello,

I'm using Orbeon 3.9.0 CE and I'm not sure if it's a bug with form runner but here's the description:
I have a form with 3 attachments and this data is redirected to a specific server.
My properties-local.xml has the line:
<property as="xs:anyURI" name="oxf.fr.persistence.app.uri.*.*.data" value="http://myserver:8080/somewhere" />

Now when those 3 attachments are required, I fill them and submit, everything goes fine and all the data is correctly redirected to my specified server.

But if one or more attachment is not required, when submitting, the interface seems to not react and I need to push the submit button as many times I have optional attachment, and the last time work and I get the feedback "submit complete".
But all the optional files are not sent to the specified server, only the required one.
And the problem is that I need 1 required and 2 optional attachments.


To test this, just use form builder with 2 attachments, one required and the other not required. Add the config line in properties-local.xml and just fill the form and submit it, there will be only one attachment on the server and the data.xml file.

Nobry.