You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Hvass <P....@albourne.com> on 2013/09/09 14:45:49 UTC

[5.4] IE8 Zone Update Bug

Hi guys, 


I'm running into the following on IE8 when clicking a zoned eventlink; 

SCRIPT5007: Unable to get property 'rel' of undefined or null reference 
pageinit.js, line 31 character 9 


Looks like it only affects IE8... wondering if anyone has any ideas? 


Thanks, 
Peter 

Re: [5.4] IE8 Zone Update Bug

Posted by Emmanuel DEMEY <de...@gmail.com>.
Hi,

We have the same problem. I think you can create a JIRA.

what is the best solution ? Making the test in a module (utils maybe ? or a
new one ?), and usz it in the pageinit.js module.

Or testing directly in the module with something like that : node =
document.styleSheets[0].ownerNode || document.styleSheets[0].owningElement;
?

Manu


2013/9/9 Peter Hvass <P....@albourne.com>

> Ah okay - specifically according to this Microsoft document;
> http://msdn.microsoft.com/en-us/library/ff460307(v=vs.85).aspx
>
>
> IE7 and IE8 do not support 'ownerNode'; the line causing issues in
> pageinit.js (line 31)
> goes return ss.ownerNode.rel.
>
>
> Document mentions that changing ownerNode to owningElement would work.
>
>
> Really hoping a fix for this can be put up for the next alpha!
>
>
> Many thanks again for all the hard work.
>
>
> Peter
>
> ----- Original Message -----
>
> From: "Peter Hvass" <P....@albourne.com>
> To: "Tapestry users" <us...@tapestry.apache.org>
> Sent: Monday, September 9, 2013 3:45:49 PM
> Subject: [5.4] IE8 Zone Update Bug
>
> Hi guys,
>
>
> I'm running into the following on IE8 when clicking a zoned eventlink;
>
> SCRIPT5007: Unable to get property 'rel' of undefined or null reference
> pageinit.js, line 31 character 9
>
>
> Looks like it only affects IE8... wondering if anyone has any ideas?
>
>
> Thanks,
> Peter
>



-- 
Emmanuel DEMEY
Ingénieur Etude et Développement
ATOS Worldline
+33 (0)6 47 47 42 02
demey.emmanuel@gmail.com
http://emmanueldemey.fr/

Twitter : @EmmanuelDemey

Re: [5.4] IE8 Zone Update Bug

Posted by Peter Hvass <P....@albourne.com>.
Ah okay - specifically according to this Microsoft document; 
http://msdn.microsoft.com/en-us/library/ff460307(v=vs.85).aspx 


IE7 and IE8 do not support 'ownerNode'; the line causing issues in pageinit.js (line 31) 
goes return ss.ownerNode.rel. 


Document mentions that changing ownerNode to owningElement would work. 


Really hoping a fix for this can be put up for the next alpha! 


Many thanks again for all the hard work. 


Peter 

----- Original Message -----

From: "Peter Hvass" <P....@albourne.com> 
To: "Tapestry users" <us...@tapestry.apache.org> 
Sent: Monday, September 9, 2013 3:45:49 PM 
Subject: [5.4] IE8 Zone Update Bug 

Hi guys, 


I'm running into the following on IE8 when clicking a zoned eventlink; 

SCRIPT5007: Unable to get property 'rel' of undefined or null reference 
pageinit.js, line 31 character 9 


Looks like it only affects IE8... wondering if anyone has any ideas? 


Thanks, 
Peter