Exception in client-side code when navigating to a result of an action

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

Exception in client-side code when navigating to a result of an action

Gunzenreiner Simon
Exception in client-side code when navigating to a result of an action

Hi all

Has anyone faced the following Problem yet. When I am navigating away from a form (test.xhtml) to a static document see-you-again,

        <page path-info="/order/test" view="test.xhtml">

                <action when="/mydata/test != ''"

                        action="form-submission.xpl">

                        <result page="see-you-again" />

                </action>

        </page>

        <page id="see-you-again" path-info="/order/see-you-again"

                view="see-you-again-view.xml" />

I get the following exception on the client side:

Exception in client-side code.

·       Message: c is undefined

·       File: http://localhost:8080/orbeon/xforms-server/xforms-yuicalendar-min.js

·       Line number: 88

Is there a problem with the way I try to navigate away from the current page (test.xhtml) ?

Thanks a lot for any help!

Best Regards

Simon



--
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
|

AW: Exception in client-side code when navigating to a result of an action

Gunzenreiner Simon
Exception in client-side code when navigating to a result of an action

Just to be more precise: The scenario below is:

-       User sens form from "test" to the same page

-       The action defined on that page is executed (if this is commented out nothing changes regarding the described exception)

-       Based on the action's result the "see-you-again" page should be displayed

Also not that no calendar components (or xs:dates) for that matter are used on the test page.

 

Von: Gunzenreiner Simon [mailto:[hidden email]]
Gesendet: Freitag, 30. Juli 2010 10:41
An: [hidden email]
Betreff: [ops-users] Exception in client-side code when navigating to a result of an action

 

Hi all

Has anyone faced the following Problem yet. When I am navigating away from a form (test.xhtml) to a static document see-you-again,

        <page path-info="/order/test" view="test.xhtml">

                <action when="/mydata/test != ''"

                        action="form-submission.xpl">

                        <result page="see-you-again" />

                </action>

        </page>

        <page id="see-you-again" path-info="/order/see-you-again"

                view="see-you-again-view.xml" />

… I get the following exception on the client side:

Exception in client-side code.

·       Message: c is undefined

·       File: http://localhost:8080/orbeon/xforms-server/xforms-yuicalendar-min.js

·       Line number: 88

Is there a problem with the way I try to navigate away from the current page (test.xhtml) ?

Thanks a lot for any help!

Best Regards

Simon



--
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
|

AW: AW: Exception in client-side code when navigating to a result of an action

Gunzenreiner Simon
Exception in client-side code when navigating to a result of an action

… found out what the problem was:

 

My xform:submission defined a replace attribute of "none", which produced the client exception:

 

            <xf:submission id="save-submission"

                        ref="instance('test')"

                        resource="/order/test" method="put" replace="none" />

 

The following submission works:

            <xf:submission id="save-submission"

                        ref="instance('test')"

                        resource="/order/test" method="put" />

with the described <result>.

 

I'll file a bug.

 

Regards,

Simon

 

Von: Gunzenreiner Simon [mailto:[hidden email]]
Gesendet: Freitag, 30. Juli 2010 12:24
An: [hidden email]
Betreff: [ops-users] AW: Exception in client-side code when navigating to a result of an action

 

Just to be more precise: The scenario below is:

-       User sens form from "test" to the same page

-       The action defined on that page is executed (if this is commented out nothing changes regarding the described exception)

-       Based on the action's result the "see-you-again" page should be displayed

Also not that no calendar components (or xs:dates) for that matter are used on the test page.

 

Von: Gunzenreiner Simon [mailto:[hidden email]]
Gesendet: Freitag, 30. Juli 2010 10:41
An: [hidden email]
Betreff: [ops-users] Exception in client-side code when navigating to a result of an action

 

Hi all

Has anyone faced the following Problem yet. When I am navigating away from a form (test.xhtml) to a static document see-you-again,

        <page path-info="/order/test" view="test.xhtml">

                <action when="/mydata/test != ''"

                        action="form-submission.xpl">

                        <result page="see-you-again" />

                </action>

        </page>

        <page id="see-you-again" path-info="/order/see-you-again"

                view="see-you-again-view.xml" />

… I get the following exception on the client side:

Exception in client-side code.

·       Message: c is undefined

·       File: http://localhost:8080/orbeon/xforms-server/xforms-yuicalendar-min.js

·       Line number: 88

Is there a problem with the way I try to navigate away from the current page (test.xhtml) ?

Thanks a lot for any help!

Best Regards

Simon



--
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: AW: AW: Exception in client-side code when navigating to a result of an action

Alessandro  Vernet
Administrator
Simon,

Every time you see a JavaScript error, you can assume it is a bug or
something we need to take care of in Orbeon Forms (unless of course it
is happening in your own JavaScript code). Do you have a simple
example that we can run in the XForms sandbox and that would allow us
to reproduce this?

Alex

On Fri, Jul 30, 2010 at 3:44 AM, Gunzenreiner Simon
<[hidden email]> wrote:

> … found out what the problem was:
>
>
>
> My xform:submission defined a replace attribute of "none", which produced
> the client exception:
>
>
>
>             <xf:submission id="save-submission"
>
>                         ref="instance('test')"
>
>                         resource="/order/test" method="put" replace="none"
> />
>
>
>
> The following submission works:
>
>             <xf:submission id="save-submission"
>
>                         ref="instance('test')"
>
>                         resource="/order/test" method="put" />
>
> with the described <result>.
>
>
>
> I'll file a bug.
>
>
>
> Regards,
>
> Simon
>
>
>
> Von: Gunzenreiner Simon [mailto:[hidden email]]
> Gesendet: Freitag, 30. Juli 2010 12:24
> An: [hidden email]
> Betreff: [ops-users] AW: Exception in client-side code when navigating to a
> result of an action
>
>
>
> Just to be more precise: The scenario below is:
>
> -       User sens form from "test" to the same page
>
> -       The action defined on that page is executed (if this is commented
> out nothing changes regarding the described exception)
>
> -       Based on the action's result the "see-you-again" page should be
> displayed
>
> Also not that no calendar components (or xs:dates) for that matter are used
> on the test page.
>
>
>
> Von: Gunzenreiner Simon [mailto:[hidden email]]
> Gesendet: Freitag, 30. Juli 2010 10:41
> An: [hidden email]
> Betreff: [ops-users] Exception in client-side code when navigating to a
> result of an action
>
>
>
> Hi all
>
> Has anyone faced the following Problem yet. When I am navigating away from a
> form (test.xhtml) to a static document see-you-again,
>
>         <page path-info="/order/test" view="test.xhtml">
>
>                 <action when="/mydata/test != ''"
>
>                         action="form-submission.xpl">
>
>                         <result page="see-you-again" />
>
>                 </action>
>
>         </page>
>
>         <page id="see-you-again" path-info="/order/see-you-again"
>
>                 view="see-you-again-view.xml" />
>
> … I get the following exception on the client side:
>
> Exception in client-side code.
>
> ·       Message: c is undefined
>
> ·       File:
> http://localhost:8080/orbeon/xforms-server/xforms-yuicalendar-min.js
>
> ·       Line number: 88
>
> Is there a problem with the way I try to navigate away from the current page
> (test.xhtml) ?
>
> Thanks a lot for any help!
>
> Best Regards
>
> Simon
>
> --
> 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, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

AW: Re: AW: AW: Exception in client-side code when navigating to a result of an action

Gunzenreiner Simon
Hi Alex

Good to know. I have attached a sample app, which reproduces the problem. Enter a value on the /bug-report/test page and instead of a navigation to index, an error occurs in the browser.

Best regards,
Simon

-----Ursprüngliche Nachricht-----
Von: Alessandro Vernet [mailto:[hidden email]]
Gesendet: Montag, 2. August 2010 20:35
An: ops-users
Betreff: [ops-users] Re: AW: AW: Exception in client-side code when navigating to a result of an action

Simon,

Every time you see a JavaScript error, you can assume it is a bug or something we need to take care of in Orbeon Forms (unless of course it is happening in your own JavaScript code). Do you have a simple example that we can run in the XForms sandbox and that would allow us to reproduce this?

Alex

On Fri, Jul 30, 2010 at 3:44 AM, Gunzenreiner Simon <[hidden email]> wrote:

> ... found out what the problem was:
>
>
>
> My xform:submission defined a replace attribute of "none", which
> produced the client exception:
>
>
>
>             <xf:submission id="save-submission"
>
>                         ref="instance('test')"
>
>                         resource="/order/test" method="put" replace="none"
> />
>
>
>
> The following submission works:
>
>             <xf:submission id="save-submission"
>
>                         ref="instance('test')"
>
>                         resource="/order/test" method="put" />
>
> with the described <result>.
>
>
>
> I'll file a bug.
>
>
>
> Regards,
>
> Simon
>
>
>
> Von: Gunzenreiner Simon [mailto:[hidden email]]
> Gesendet: Freitag, 30. Juli 2010 12:24
> An: [hidden email]
> Betreff: [ops-users] AW: Exception in client-side code when navigating
> to a result of an action
>
>
>
> Just to be more precise: The scenario below is:
>
> -       User sens form from "test" to the same page
>
> -       The action defined on that page is executed (if this is
> commented out nothing changes regarding the described exception)
>
> -       Based on the action's result the "see-you-again" page should
> be displayed
>
> Also not that no calendar components (or xs:dates) for that matter are
> used on the test page.
>
>
>
> Von: Gunzenreiner Simon [mailto:[hidden email]]
> Gesendet: Freitag, 30. Juli 2010 10:41
> An: [hidden email]
> Betreff: [ops-users] Exception in client-side code when navigating to
> a result of an action
>
>
>
> Hi all
>
> Has anyone faced the following Problem yet. When I am navigating away
> from a form (test.xhtml) to a static document see-you-again,
>
>         <page path-info="/order/test" view="test.xhtml">
>
>                 <action when="/mydata/test != ''"
>
>                         action="form-submission.xpl">
>
>                         <result page="see-you-again" />
>
>                 </action>
>
>         </page>
>
>         <page id="see-you-again" path-info="/order/see-you-again"
>
>                 view="see-you-again-view.xml" />
>
> ... I get the following exception on the client side:
>
> Exception in client-side code.
>
> ·       Message: c is undefined
>
> ·       File:
> http://localhost:8080/orbeon/xforms-server/xforms-yuicalendar-min.js
>
> ·       Line number: 88
>
> Is there a problem with the way I try to navigate away from the
> current page
> (test.xhtml) ?
>
> Thanks a lot for any help!
>
> Best Regards
>
> Simon
>
> --
> 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, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet


--
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

bug-report.zip (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: AW: Re: AW: AW: Exception in client-side code when navigating to a result of an action

Alessandro  Vernet
Administrator
Hi Simon,

This is a good catch, and thank you for the reproducible test case.
For now, I reproduced the issue and created a bug for this:

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

In the meantime, do you have a workaround?

Alex

On Mon, Aug 2, 2010 at 11:41 PM, Gunzenreiner Simon
<[hidden email]> wrote:

> Hi Alex
>
> Good to know. I have attached a sample app, which reproduces the problem. Enter a value on the /bug-report/test page and instead of a navigation to index, an error occurs in the browser.
>
> Best regards,
> Simon
>
> -----Ursprüngliche Nachricht-----
> Von: Alessandro Vernet [mailto:[hidden email]]
> Gesendet: Montag, 2. August 2010 20:35
> An: ops-users
> Betreff: [ops-users] Re: AW: AW: Exception in client-side code when navigating to a result of an action
>
> Simon,
>
> Every time you see a JavaScript error, you can assume it is a bug or something we need to take care of in Orbeon Forms (unless of course it is happening in your own JavaScript code). Do you have a simple example that we can run in the XForms sandbox and that would allow us to reproduce this?
>
> Alex
>
> On Fri, Jul 30, 2010 at 3:44 AM, Gunzenreiner Simon <[hidden email]> wrote:
>> ... found out what the problem was:
>>
>>
>>
>> My xform:submission defined a replace attribute of "none", which
>> produced the client exception:
>>
>>
>>
>>             <xf:submission id="save-submission"
>>
>>                         ref="instance('test')"
>>
>>                         resource="/order/test" method="put" replace="none"
>> />
>>
>>
>>
>> The following submission works:
>>
>>             <xf:submission id="save-submission"
>>
>>                         ref="instance('test')"
>>
>>                         resource="/order/test" method="put" />
>>
>> with the described <result>.
>>
>>
>>
>> I'll file a bug.
>>
>>
>>
>> Regards,
>>
>> Simon
>>
>>
>>
>> Von: Gunzenreiner Simon [mailto:[hidden email]]
>> Gesendet: Freitag, 30. Juli 2010 12:24
>> An: [hidden email]
>> Betreff: [ops-users] AW: Exception in client-side code when navigating
>> to a result of an action
>>
>>
>>
>> Just to be more precise: The scenario below is:
>>
>> -       User sens form from "test" to the same page
>>
>> -       The action defined on that page is executed (if this is
>> commented out nothing changes regarding the described exception)
>>
>> -       Based on the action's result the "see-you-again" page should
>> be displayed
>>
>> Also not that no calendar components (or xs:dates) for that matter are
>> used on the test page.
>>
>>
>>
>> Von: Gunzenreiner Simon [mailto:[hidden email]]
>> Gesendet: Freitag, 30. Juli 2010 10:41
>> An: [hidden email]
>> Betreff: [ops-users] Exception in client-side code when navigating to
>> a result of an action
>>
>>
>>
>> Hi all
>>
>> Has anyone faced the following Problem yet. When I am navigating away
>> from a form (test.xhtml) to a static document see-you-again,
>>
>>         <page path-info="/order/test" view="test.xhtml">
>>
>>                 <action when="/mydata/test != ''"
>>
>>                         action="form-submission.xpl">
>>
>>                         <result page="see-you-again" />
>>
>>                 </action>
>>
>>         </page>
>>
>>         <page id="see-you-again" path-info="/order/see-you-again"
>>
>>                 view="see-you-again-view.xml" />
>>
>> ... I get the following exception on the client side:
>>
>> Exception in client-side code.
>>
>> ·       Message: c is undefined
>>
>> ·       File:
>> http://localhost:8080/orbeon/xforms-server/xforms-yuicalendar-min.js
>>
>> ·       Line number: 88
>>
>> Is there a problem with the way I try to navigate away from the
>> current page
>> (test.xhtml) ?
>>
>> Thanks a lot for any help!
>>
>> Best Regards
>>
>> Simon
>>
>> --
>> 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, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet
>
>
> --
> 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, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

AW: Re: AW: Re: AW: AW: Exception in client-side code when navigating to a result of an action

Gunzenreiner Simon
No, except for using the default value for "replace" ;-)

Simon

-----Ursprüngliche Nachricht-----
Von: Alessandro Vernet [mailto:[hidden email]]
Gesendet: Dienstag, 3. August 2010 22:30
An: ops-users
Betreff: [ops-users] Re: AW: Re: AW: AW: Exception in client-side code when navigating to a result of an action

Hi Simon,

This is a good catch, and thank you for the reproducible test case.
For now, I reproduced the issue and created a bug for this:

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

In the meantime, do you have a workaround?

Alex

On Mon, Aug 2, 2010 at 11:41 PM, Gunzenreiner Simon <[hidden email]> wrote:

> Hi Alex
>
> Good to know. I have attached a sample app, which reproduces the problem. Enter a value on the /bug-report/test page and instead of a navigation to index, an error occurs in the browser.
>
> Best regards,
> Simon
>
> -----Ursprüngliche Nachricht-----
> Von: Alessandro Vernet [mailto:[hidden email]]
> Gesendet: Montag, 2. August 2010 20:35
> An: ops-users
> Betreff: [ops-users] Re: AW: AW: Exception in client-side code when
> navigating to a result of an action
>
> Simon,
>
> Every time you see a JavaScript error, you can assume it is a bug or something we need to take care of in Orbeon Forms (unless of course it is happening in your own JavaScript code). Do you have a simple example that we can run in the XForms sandbox and that would allow us to reproduce this?
>
> Alex
>
> On Fri, Jul 30, 2010 at 3:44 AM, Gunzenreiner Simon <[hidden email]> wrote:
>> ... found out what the problem was:
>>
>>
>>
>> My xform:submission defined a replace attribute of "none", which
>> produced the client exception:
>>
>>
>>
>>             <xf:submission id="save-submission"
>>
>>                         ref="instance('test')"
>>
>>                         resource="/order/test" method="put" replace="none"
>> />
>>
>>
>>
>> The following submission works:
>>
>>             <xf:submission id="save-submission"
>>
>>                         ref="instance('test')"
>>
>>                         resource="/order/test" method="put" />
>>
>> with the described <result>.
>>
>>
>>
>> I'll file a bug.
>>
>>
>>
>> Regards,
>>
>> Simon
>>
>>
>>
>> Von: Gunzenreiner Simon [mailto:[hidden email]]
>> Gesendet: Freitag, 30. Juli 2010 12:24
>> An: [hidden email]
>> Betreff: [ops-users] AW: Exception in client-side code when
>> navigating to a result of an action
>>
>>
>>
>> Just to be more precise: The scenario below is:
>>
>> -       User sens form from "test" to the same page
>>
>> -       The action defined on that page is executed (if this is
>> commented out nothing changes regarding the described exception)
>>
>> -       Based on the action's result the "see-you-again" page should
>> be displayed
>>
>> Also not that no calendar components (or xs:dates) for that matter
>> are used on the test page.
>>
>>
>>
>> Von: Gunzenreiner Simon [mailto:[hidden email]]
>> Gesendet: Freitag, 30. Juli 2010 10:41
>> An: [hidden email]
>> Betreff: [ops-users] Exception in client-side code when navigating to
>> a result of an action
>>
>>
>>
>> Hi all
>>
>> Has anyone faced the following Problem yet. When I am navigating away
>> from a form (test.xhtml) to a static document see-you-again,
>>
>>         <page path-info="/order/test" view="test.xhtml">
>>
>>                 <action when="/mydata/test != ''"
>>
>>                         action="form-submission.xpl">
>>
>>                         <result page="see-you-again" />
>>
>>                 </action>
>>
>>         </page>
>>
>>         <page id="see-you-again" path-info="/order/see-you-again"
>>
>>                 view="see-you-again-view.xml" />
>>
>> ... I get the following exception on the client side:
>>
>> Exception in client-side code.
>>
>> ·       Message: c is undefined
>>
>> ·       File:
>> http://localhost:8080/orbeon/xforms-server/xforms-yuicalendar-min.js
>>
>> ·       Line number: 88
>>
>> Is there a problem with the way I try to navigate away from the
>> current page
>> (test.xhtml) ?
>>
>> Thanks a lot for any help!
>>
>> Best Regards
>>
>> Simon
>>
>> --
>> 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, open-source, for the Enterprise -
> http://www.orbeon.com/ My Twitter: http://twitter.com/avernet
>
>
> --
> 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, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet


--
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: AW: Re: AW: Re: AW: AW: Exception in client-side code when navigating to a result of an action

Alessandro  Vernet
Administrator
Simon,

This happens when you do a submission replace instance/none, and the
URL you submit to responds with a 302 (redirect). It looks like even
though Orbeon Forms calls the servlet API to provide a response to the
Ajax request, the "Location" header returned by the service is sent
back in the Ajax response. This is rather strange, and I don't see how
it could be happening. I am not totally excluding that this could be a
bug in Orbeon Forms, but don't see how we could have the headers we
get back from the service call "leak" into the Ajax response.
Furthermore, I tried this on WebLogic, and there everything works
fine.

So for now, I would recommend you make sure you do the submission to
the "right" URL, and that you don't have a redirection. (A redirection
anyway wouldn't work as the <xforms:submission> doesn't resubmit the
instance to the URL it is redirected to.)

Alex

On Tue, Aug 3, 2010 at 9:59 PM, Gunzenreiner Simon
<[hidden email]> wrote:

> No, except for using the default value for "replace" ;-)
>
> Simon
>
> -----Ursprüngliche Nachricht-----
> Von: Alessandro Vernet [mailto:[hidden email]]
> Gesendet: Dienstag, 3. August 2010 22:30
> An: ops-users
> Betreff: [ops-users] Re: AW: Re: AW: AW: Exception in client-side code when navigating to a result of an action
>
> Hi Simon,
>
> This is a good catch, and thank you for the reproducible test case.
> For now, I reproduced the issue and created a bug for this:
>
> http://forge.ow2.org/tracker/index.php?func=detail&aid=315224&group_id=168&atid=350207
>
> In the meantime, do you have a workaround?
>
> Alex
>
> On Mon, Aug 2, 2010 at 11:41 PM, Gunzenreiner Simon <[hidden email]> wrote:
>> Hi Alex
>>
>> Good to know. I have attached a sample app, which reproduces the problem. Enter a value on the /bug-report/test page and instead of a navigation to index, an error occurs in the browser.
>>
>> Best regards,
>> Simon
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Alessandro Vernet [mailto:[hidden email]]
>> Gesendet: Montag, 2. August 2010 20:35
>> An: ops-users
>> Betreff: [ops-users] Re: AW: AW: Exception in client-side code when
>> navigating to a result of an action
>>
>> Simon,
>>
>> Every time you see a JavaScript error, you can assume it is a bug or something we need to take care of in Orbeon Forms (unless of course it is happening in your own JavaScript code). Do you have a simple example that we can run in the XForms sandbox and that would allow us to reproduce this?
>>
>> Alex
>>
>> On Fri, Jul 30, 2010 at 3:44 AM, Gunzenreiner Simon <[hidden email]> wrote:
>>> ... found out what the problem was:
>>>
>>>
>>>
>>> My xform:submission defined a replace attribute of "none", which
>>> produced the client exception:
>>>
>>>
>>>
>>>             <xf:submission id="save-submission"
>>>
>>>                         ref="instance('test')"
>>>
>>>                         resource="/order/test" method="put" replace="none"
>>> />
>>>
>>>
>>>
>>> The following submission works:
>>>
>>>             <xf:submission id="save-submission"
>>>
>>>                         ref="instance('test')"
>>>
>>>                         resource="/order/test" method="put" />
>>>
>>> with the described <result>.
>>>
>>>
>>>
>>> I'll file a bug.
>>>
>>>
>>>
>>> Regards,
>>>
>>> Simon
>>>
>>>
>>>
>>> Von: Gunzenreiner Simon [mailto:[hidden email]]
>>> Gesendet: Freitag, 30. Juli 2010 12:24
>>> An: [hidden email]
>>> Betreff: [ops-users] AW: Exception in client-side code when
>>> navigating to a result of an action
>>>
>>>
>>>
>>> Just to be more precise: The scenario below is:
>>>
>>> -       User sens form from "test" to the same page
>>>
>>> -       The action defined on that page is executed (if this is
>>> commented out nothing changes regarding the described exception)
>>>
>>> -       Based on the action's result the "see-you-again" page should
>>> be displayed
>>>
>>> Also not that no calendar components (or xs:dates) for that matter
>>> are used on the test page.
>>>
>>>
>>>
>>> Von: Gunzenreiner Simon [mailto:[hidden email]]
>>> Gesendet: Freitag, 30. Juli 2010 10:41
>>> An: [hidden email]
>>> Betreff: [ops-users] Exception in client-side code when navigating to
>>> a result of an action
>>>
>>>
>>>
>>> Hi all
>>>
>>> Has anyone faced the following Problem yet. When I am navigating away
>>> from a form (test.xhtml) to a static document see-you-again,
>>>
>>>         <page path-info="/order/test" view="test.xhtml">
>>>
>>>                 <action when="/mydata/test != ''"
>>>
>>>                         action="form-submission.xpl">
>>>
>>>                         <result page="see-you-again" />
>>>
>>>                 </action>
>>>
>>>         </page>
>>>
>>>         <page id="see-you-again" path-info="/order/see-you-again"
>>>
>>>                 view="see-you-again-view.xml" />
>>>
>>> ... I get the following exception on the client side:
>>>
>>> Exception in client-side code.
>>>
>>> ·       Message: c is undefined
>>>
>>> ·       File:
>>> http://localhost:8080/orbeon/xforms-server/xforms-yuicalendar-min.js
>>>
>>> ·       Line number: 88
>>>
>>> Is there a problem with the way I try to navigate away from the
>>> current page
>>> (test.xhtml) ?
>>>
>>> Thanks a lot for any help!
>>>
>>> Best Regards
>>>
>>> Simon
>>>
>>> --
>>> 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, open-source, for the Enterprise -
>> http://www.orbeon.com/ My Twitter: http://twitter.com/avernet
>>
>>
>> --
>> 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, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet
>
>
> --
> 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, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet