IE JS error in 2.2-RC1 core.js

UI Components for JSF
Post Reply
alfonx
Posts: 93
Joined: 15 Mar 2010, 18:50
Contact:

18 Aug 2010, 12:43

Hi

Since i switched to 2.2.-RC1, i get a JS error in IE 7+8. The smallest example to reproduce it is:

<p:commandLink >link </p:commandLink>

Clicking it the first time, throws the JS error in IE7+8 but any actionListoener etc. is executed.
After that error occured once, any other clicks on commandLinks don't do anything until you reload the page.

Here is the error from IE7 in english:
Line 2
Column: 3272
Error: Object doesn't support this property or method
Code: 0
In IE8 i can see that it comes from
.../javax.faces.resource/core/core.js.xhtml?ln?primefaces
and IE8 says it's in line 2 ;-)

IE's "great" development tool point to <HERE> when clicking on the error:

Code: Select all

.. this.args={};for(b=0;b<f.length;b++){var h=f[b]; <HERE> if(h.hasAttribute("primefacesCallbackParam")) ...
A bug? Fixable before the final Browser compatibility check when releasing 2.2?

Greets,
Steve
Greetings,
Steve

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

18 Aug 2010, 13:32

Hi Steve,

Browser tests are not done for 2.2, for sure this will be fixed before we release 2.2.

Thanks for your feedback.

alfonx
Posts: 93
Joined: 15 Mar 2010, 18:50
Contact:

26 Aug 2010, 17:55

Thanks to Cagatay is has already been fixed in 2.2.M1-SNAPSHOT
Greetings,
Steve

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

26 Aug 2010, 19:31

Thanks for confirming, turns out stupid IE doesn't support hasAttribute api. ;)

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 32 guests