OXFException in noscript mode only (again)

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

OXFException in noscript mode only (again)

Jeroen Hoffman
Hi,
I've encountered again the OXFException "Missing XHTML document in static state for noscript mode" in XFormsServer, see also message http://www.nabble.com/OXFException-in-noscript-mode-only-td21074286.html.

This time I'm using a submission processor in model.xpl, which works fine in regular mode but fails in noscript mode. 

I've created a simple case to reproduce, with a simple Hello World service and test application. The exception occurs in my fixed orbeon version from jan 16th but also in the latest nightly build that I downloaded today. Just install both attached applications and run a fresh orbeon in noscript mode, point it to http://localhost:8080/orbeon/my-test/

Note: the files _xpl.txt should be renamed to .xpl, had to bypass our mail scanner :-(  

If my code can be improved or if there is a workaround please inform me!

Thanks
Jeroen


--
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.log (50K) Download Attachment
my-test.zip (1K) Download Attachment
my-service.zip (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: OXFException in noscript mode only (again)

Alessandro Vernet
Administrator
Jeroen,

Jeroen Hoffman wrote
I've created a simple case to reproduce, with a simple Hello World service
and test application.
Thank you for the test case, but I couldn't reproduce the issue here. I renamed the XPL files, and added an xxforms:noscript="true" to the view, but the call to the server seems to go through just fine. I have tried this with a fresh nightly build, just in case.

I put together the changes I did to the files here: my-dirs.zip

Let me know if I am missing something.

Alex
Reply | Threaded
Open this post in threaded view
|

Re: Re: OXFException in noscript mode only (again)

Jeroen Hoffman

Alessandro Vernet schreef:

> Jeroen,
>
>
> Jeroen Hoffman wrote:
>> I've created a simple case to reproduce, with a simple Hello World service
>> and test application.
>>
>
> Thank you for the test case, but I couldn't reproduce the issue here. I
> renamed the XPL files, and added an xxforms:noscript="true" to the view, but
> the call to the server seems to go through just fine. I have tried this with
> a fresh nightly build, just in case.
>
> I put together the changes I did to the files here:
> http://www.nabble.com/file/p22541617/my-dirs.zip my-dirs.zip
>
> Let me know if I am missing something.
The difference is that we're setting the whole webapp to noscript by the
property oxf.xforms.noscript in conf/properties-xforms.xml.

I checked that your uploaded code also gives this exception in that case.


Jeroen





--
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: OXFException in noscript mode only (again)

Alessandro Vernet
Administrator
Jeroen,

Jeroen Hoffman wrote
The difference is that we're setting the whole webapp to noscript by the
property oxf.xforms.noscript in conf/properties-xforms.xml.

I checked that your uploaded code also gives this exception in that case.
Got it. This is now fixed (the fix has just been checked in, and will be in the next nightly build). For reference, here is a link to the bug:

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

Thank you for the easily reproducible test case; that really helps!

Alex
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: OXFException in noscript mode only (again)

Jeroen Hoffman


On Mon, Mar 16, 2009 at 11:02 PM, Alessandro Vernet <[hidden email]> wrote:
Got it. This is now fixed (the fix has just been checked in, and will be in
the next nightly build). For reference, here is a link to the bug:

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


I can confirm the bug is gone in the latest nightly build. 
Good work, thanks!

Jeroen


--
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: OXFException in noscript mode only (again)

Alessandro Vernet
Administrator
Jeroen,

Jeroen Hoffman wrote
I can confirm the bug is gone in the latest nightly build.
Excellent. Thank you for confirming this.

Alex