portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Updated: (JS2-737) Desktop doesn't work on IE 6.0
Date Fri, 29 Jun 2007 09:23:04 GMT

     [ https://issues.apache.org/jira/browse/JS2-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Woonsan Ko updated JS2-737:

    Attachment: ajax-response.diff

IMHO, this is a problem of Jetspeed 2 itself.
Because the responses for ajax api are always UTF-8 encoded XML, the writing must be encoded
as UTF-8. However, the current implementation does not create a right writer. 
Instead it writes with the default servlet output stream.
Tomcat 6 and Jetty 6 seem to be stricter on this. 
Please see the attached patch. I just added a OutputStreamWriter using UTF-8.
When I tested with the patch on Tomcat 6, the problem was cleared.
Please comment on this if I missed any other important thing.

> Desktop doesn't work on IE 6.0
> ------------------------------
>                 Key: JS2-737
>                 URL: https://issues.apache.org/jira/browse/JS2-737
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Desktop
>    Affects Versions: 2.1
>         Environment: jetty-6.1.3 jetspeed-2.1
>            Reporter: Sergey Parilin
>         Attachments: ajax-response.diff
> Desktop doesn't working on IE 6.0.
> I'm trying to open first page of the portal at http://localhost:8080/jetspeed/desktop
> Response is a corrupted page without any portlets.
> I have enabled dojo debuging and uncommented debug messages in javascript\jetspeed\common.js.
> The response in the Dojo debug window is follows.
> DEBUG:  loaded content for url: http://localhost:8080/jetspeed/ajaxapi
> DEBUG:  r e t r i e v e C o n t e n t . l o a d
> DEBUG:    type:
> DEBUG:  ------------------------------------------------------------
> DEBUG:  Object: load
> DEBUG:  ------------------------------------------------------------
> DEBUG:    http:
> DEBUG:  ------------------------------------------------------------
> DEBUG:  Object: 
> DEBUG:  ------------------------------------------------------------
> DEBUG:  r e t r i e v e C o n t e n t . e r r o r
> DEBUG:    type:
> DEBUG:  ------------------------------------------------------------
> DEBUG:  Object: error
> DEBUG:  ------------------------------------------------------------
> DEBUG:    error:
> DEBUG:  ------------------------------------------------------------
> DEBUG:  Object: [object Object]
> DEBUG:  message: XMLHttpTransport.watchInFlight Error: [object Error]
> DEBUG:  number: 0
> DEBUG:  type: unknown
> DEBUG:  ------------------------------------------------------------
> FATAL exception raised: PageContentListenerCreateWidget error url: http://localhost:8080/jetspeed/ajaxapi
type: error error: XMLHttpTransport.watchInFlight Error: [object Error]
> DEBUG:  XMLHttpTransport error callback failed: [object Error]
> The same actions are working fine in Firefox 2.0

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

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message