Client-side JS code crashes in IE on certain structure within repeat

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

Client-side JS code crashes in IE on certain structure within repeat

Maciej Arciuch
Dear all,

I've encountered a strange problem, namely if a put a certain code (both HTML and XForms) within a xforms:repeat control the client-side JavaScript code crashes in Internet Explorer browser when adding a new element to the nodeset of the repeat.

I'm aware that the code might not be correct (div inside a paragraph, incorrect AFAIK), I'm not complaining about incorrect rendering (one extra "42"), I'm concerned with the JS crash (IE crashes with "object required" message).

In order to reproduce the error it's enough to click the following link: http://www.orbeon.com/ops/xforms-sandbox/run?url=http://gamma.mini.pw.edu.pl/~arciuchm/iecrash.xml (the file itself is here: http://www.orbeon.com/ops/xforms-sandbox/run?url=http://gamma.mini.pw.edu.pl/~arciuchm/iecrash.xml) and click "insert". It works fine in Firefox, crashes in IE.

Is there any chance that you make Orbeon more idiot-proof? Should it all this be treated as an Orbeon bug or user error?

Thanks in advance, Maciej
Reply | Threaded
Open this post in threaded view
|

Re: Client-side JS code crashes in IE on certain structure within repeat

Erik Bruchez-3
Maciej,

It would certainly be nice if we didn't crash on this one. I am entering a bug:

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

I can't promise we will fix it very soon though!

-Erik

On Thu, Oct 29, 2009 at 5:19 AM, Maciej Arciuch
<[hidden email]> wrote:

>
> Dear all,
>
> I've encountered a strange problem, namely if a put a certain code (both
> HTML and XForms) within a xforms:repeat control the client-side JavaScript
> code crashes in Internet Explorer browser when adding a new element to the
> nodeset of the repeat.
>
> I'm aware that the code might not be correct (div inside a paragraph,
> incorrect AFAIK), I'm not complaining about incorrect rendering (one extra
> "42"), I'm concerned with the JS crash (IE crashes with "object required"
> message).
>
> In order to reproduce the error it's enough to click the following link:
> http://www.orbeon.com/ops/xforms-sandbox/run?url=http://gamma.mini.pw.edu.pl/~arciuchm/iecrash.xml
> (the file itself is here:
> http://www.orbeon.com/ops/xforms-sandbox/run?url=http://gamma.mini.pw.edu.pl/~arciuchm/iecrash.xml)
> and click "insert". It works fine in Firefox, crashes in IE.
>
> Is there any chance that you make Orbeon more idiot-proof? Should it all
> this be treated as an Orbeon bug or user error?
>
> Thanks in advance, Maciej
> --
> View this message in context: http://n4.nabble.com/Client-side-JS-code-crashes-in-IE-on-certain-structure-within-repeat-tp277936p277936.html
> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.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: Client-side JS code crashes in IE on certain structure within repeat

Maciej Arciuch
If anyone else experiences the same problem: please try changing e.g. your <div> into a  - this workaround worked out for me.

Erik Bruchez-3 wrote
I can't promise we will fix it very soon though!
Thanks anyways, best regards, Maciej
Reply | Threaded
Open this post in threaded view
|

Re: Client-side JS code crashes in IE on certain structure within repeat

Maciej Arciuch
Maciej Arciuch wrote
If anyone else experiences the same problem: please try changing e.g. your <div> into a
into a span style="display: block;" - sorry, the forum interface must have eaten the tag