xforms:upload not creating a temporary file

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

xforms:upload not creating a temporary file

Jeroen Hoffman
Hi,
We have the situation that an xforms-upload with type xs:anyURI  fills
the url to a temporary file in the instance but does not in fact
create the temporary file.

We have a multi page application based on xforms-wizard-pfc and to
show the case I have adjusted that application to include an
xforms:upload. I have attached the app 'xforms-wizard-upload' which
runs in a regular Orbeon instance.

When on the first page a test pdf file is uploaded and next is hit,
the xforms-instance-inspector shows this:

<upload filename="test.pdf" size="14988" mediatype="application/pdf"
xsi:type="xs:anyURI">file:/C:/Apps/Tomcat6Orbeon371/temp/upload_50e8c7bd_1220711307b__8000_00000017.tmp</upload>

but the file does not exist.

More info:
- running on Tomcat 6 but same behaviour in JBoss 4.2.1 GA
- Orbeon version 3.7.1.200905272119
- No configuration changes

Could you determine the problem here? Is there a solution or workaround?

Thanks
Jeroen Hoffman


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

xforms-wizard-upload.zip (32K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: xforms:upload not creating a temporary file

Jeroen Hoffman

Doesn't anyone have any thoughts on this?

Tnx
Jeroen


Jeroen Hoffman schreef:

> Hi,
> We have the situation that an xforms-upload with type xs:anyURI  fills
> the url to a temporary file in the instance but does not in fact
> create the temporary file.
>
> We have a multi page application based on xforms-wizard-pfc and to
> show the case I have adjusted that application to include an
> xforms:upload. I have attached the app 'xforms-wizard-upload' which
> runs in a regular Orbeon instance.
>
> When on the first page a test pdf file is uploaded and next is hit,
> the xforms-instance-inspector shows this:
>
> <upload filename="test.pdf" size="14988" mediatype="application/pdf"
> xsi:type="xs:anyURI">file:/C:/Apps/Tomcat6Orbeon371/temp/upload_50e8c7bd_1220711307b__8000_00000017.tmp</upload>
>
> but the file does not exist.
>
> More info:
> - running on Tomcat 6 but same behaviour in JBoss 4.2.1 GA
> - Orbeon version 3.7.1.200905272119
> - No configuration changes
>
> Could you determine the problem here? Is there a solution or workaround?
>
> Thanks
> Jeroen Hoffman


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: xforms:upload not creating a temporary file

Erik Bruchez
Administrator
Jeroen,

Thanks. I reproduced and fixed this bug:

http://forge.ow2.org/tracker/index.php?func=detail&aid=313966&group_id=168&atid=350207

-Erik

On Jul 1, 2009, at 12:24 PM, Jeroen Hoffman wrote:

>
> Doesn't anyone have any thoughts on this?
>
> Tnx
> Jeroen
>
>
> Jeroen Hoffman schreef:
>> Hi,
>> We have the situation that an xforms-upload with type xs:anyURI  
>> fills
>> the url to a temporary file in the instance but does not in fact
>> create the temporary file.
>> We have a multi page application based on xforms-wizard-pfc and to
>> show the case I have adjusted that application to include an
>> xforms:upload. I have attached the app 'xforms-wizard-upload' which
>> runs in a regular Orbeon instance.
>> When on the first page a test pdf file is uploaded and next is hit,
>> the xforms-instance-inspector shows this:
>> <upload filename="test.pdf" size="14988" mediatype="application/pdf"
>> xsi:type="xs:anyURI">file:/C:/Apps/Tomcat6Orbeon371/temp/
>> upload_50e8c7bd_1220711307b__8000_00000017.tmp</upload>
>> but the file does not exist.
>> More info:
>> - running on Tomcat 6 but same behaviour in JBoss 4.2.1 GA
>> - Orbeon version 3.7.1.200905272119
>> - No configuration changes
>> Could you determine the problem here? Is there a solution or  
>> workaround?
>> Thanks
>> Jeroen Hoffman
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: xforms:upload not creating a temporary file

Jeroen Hoffman
Hi,

I can confirm that the bug is gone, I tested it with today's nightly build.
Good work!

Thanks
Jeroen


On Thu, Jul 2, 2009 at 12:47 AM, Erik Bruchez<[hidden email]> wrote:

> Jeroen,
>
> Thanks. I reproduced and fixed this bug:
>
> http://forge.ow2.org/tracker/index.php?func=detail&aid=313966&group_id=168&atid=350207
>
> -Erik
>
> On Jul 1, 2009, at 12:24 PM, Jeroen Hoffman wrote:
>
>>
>> Doesn't anyone have any thoughts on this?
>>
>> Tnx
>> Jeroen
>>
>>
>> Jeroen Hoffman schreef:
>>>
>>> Hi,
>>> We have the situation that an xforms-upload with type xs:anyURI  fills
>>> the url to a temporary file in the instance but does not in fact
>>> create the temporary file.
>>> We have a multi page application based on xforms-wizard-pfc and to
>>> show the case I have adjusted that application to include an
>>> xforms:upload. I have attached the app 'xforms-wizard-upload' which
>>> runs in a regular Orbeon instance.
>>> When on the first page a test pdf file is uploaded and next is hit,
>>> the xforms-instance-inspector shows this:
>>> <upload filename="test.pdf" size="14988" mediatype="application/pdf"
>>>
>>> xsi:type="xs:anyURI">file:/C:/Apps/Tomcat6Orbeon371/temp/upload_50e8c7bd_1220711307b__8000_00000017.tmp</upload>
>>> but the file does not exist.
>>> More info:
>>> - running on Tomcat 6 but same behaviour in JBoss 4.2.1 GA
>>> - Orbeon version 3.7.1.200905272119
>>> - No configuration changes
>>> Could you determine the problem here? Is there a solution or workaround?
>>> Thanks
>>> Jeroen Hoffman
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: xforms:upload not creating a temporary file

Erik Bruchez
Administrator
Jeroen,

Great to hear this!

-Erik

On Jul 3, 2009, at 5:48 AM, Jeroen Hoffman wrote:

> Hi,
>
> I can confirm that the bug is gone, I tested it with today's nightly  
> build.
> Good work!
>
> Thanks
> Jeroen
>
>
> On Thu, Jul 2, 2009 at 12:47 AM, Erik Bruchez<[hidden email]>  
> wrote:
>> Jeroen,
>>
>> Thanks. I reproduced and fixed this bug:
>>
>> http://forge.ow2.org/tracker/index.php?func=detail&aid=313966&group_id=168&atid=350207
>>
>> -Erik
>>
>> On Jul 1, 2009, at 12:24 PM, Jeroen Hoffman wrote:
>>
>>>
>>> Doesn't anyone have any thoughts on this?
>>>
>>> Tnx
>>> Jeroen
>>>
>>>
>>> Jeroen Hoffman schreef:
>>>>
>>>> Hi,
>>>> We have the situation that an xforms-upload with type xs:anyURI  
>>>> fills
>>>> the url to a temporary file in the instance but does not in fact
>>>> create the temporary file.
>>>> We have a multi page application based on xforms-wizard-pfc and to
>>>> show the case I have adjusted that application to include an
>>>> xforms:upload. I have attached the app 'xforms-wizard-upload' which
>>>> runs in a regular Orbeon instance.
>>>> When on the first page a test pdf file is uploaded and next is hit,
>>>> the xforms-instance-inspector shows this:
>>>> <upload filename="test.pdf" size="14988" mediatype="application/
>>>> pdf"
>>>>
>>>> xsi:type="xs:anyURI">file:/C:/Apps/Tomcat6Orbeon371/temp/
>>>> upload_50e8c7bd_1220711307b__8000_00000017.tmp</upload>
>>>> but the file does not exist.
>>>> More info:
>>>> - running on Tomcat 6 but same behaviour in JBoss 4.2.1 GA
>>>> - Orbeon version 3.7.1.200905272119
>>>> - No configuration changes
>>>> Could you determine the problem here? Is there a solution or  
>>>> workaround?
>>>> Thanks
>>>> Jeroen Hoffman
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]  
>>> mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws