[ 
https://issues.apache.org/jira/browse/WOOKIE-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854704#action_12854704
 ] 

Scott Wilson commented on WOOKIE-44:
------------------------------------

The workaround is to always use:

widget.preferences.setItem("foo", "bar");

and never:

widget.preferences.foo = "bar";

... which won't work in IE8 but will in FF, Safari and Opera.

So its a case of checking the widget javascript to make sure it doesn't do it.

However, I think its a reasonable approach to do IE8 compatibility checking on 
a test system before making a widget available in your main Wookie server; its 
highly unlikely this preference syntax thing individual widgets will make IE8 
bork - for example some of the widgets I've done use HTML 5 features that 
aren't in IE. 

So maybe just add "uses only basic preferences method syntax" to your checklist 
when testing widgets.

Meanwhile we wait and hope IE9 comes along and sorts this out ...

> Default widget returns js "error"  when loaded into a browser
> -------------------------------------------------------------
>
>                 Key: WOOKIE-44
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-44
>             Project: Wookie
>          Issue Type: Bug
>          Components: Server
>         Environment: Windows Vista sp2, mysql 5.0, tomcat 5.5. (IE 8 & FF 3.5)
>            Reporter: Paul Sharples
>             Fix For: 0.8.1
>
>   Original Estimate: 1h
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Default widgets return js "error"  when loaded into a browser
> (1) Navigate to http://localhost:8080/wookie
> (2) Click "instantiate a widget"
> (3) Use the default form data, click submit
> (4) Copy/paste the url found between the <url></url> tags into another 
> browser window
> (5) Js error message appears
> This also happens for instances of the discussion & vote widgets

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to