2. Using Liferay
(Opens New Window)
Mark as an Answer
Chat Portlet and Impersonate problem
March 11, 2013 11:09 AM
Rank: Junior Member
Join Date: April 11, 2012
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.
Sign in to vote.
Please sign in to flag this as inappropriate.