掲示板

Chat Portlet and Impersonate problem

11年前 に J S によって更新されました。

Chat Portlet and Impersonate problem

Junior Member 投稿: 31 参加年月日: 12/04/11 最新の投稿
Hi,

I've come across a problem with the Chat Portlet. If I login as an Admin user, and then impersonate another user, I get this javascript error in FireFox:

SyntaxError: JSON.parse: unexpected end of data
Native.parse(s,reviver) : _parse(s,reviver);


This is after hitting the /poller/send URL

Looking at the code it seems like the impersonation is not being picked up by the PollerServlet. The PortalImpl.getUser method isn't returning the impersonated user.

This seems to be because the /poller/send url is missing the doAsUserId request parameter.

Is this a known issue, or should I raise one?

The error is more of a problem on IE as the browser is popping up an error dialog every time the error occurs.

Thanks,

John