Skip to main content

Bug Tracker

Side navigation

#465 closed bug (worksforme)

Opened December 04, 2006 07:41PM UTC

Closed December 21, 2006 01:41PM UTC

Last modified June 20, 2007 02:24AM UTC

Opera 9.02

Reported by: jamwae@gmail.com Owned by:
Priority: major Milestone:
Component: ajax Version:
Keywords: Opera 9.02 bug jquery 1.0.3 Cc:
Blocked by: Blocking:
Description

Opera won't except returned data with the ajax mod in jquery 1.0.3.

I get the following error:

name: SyntaxError
message: Statement on line 1934: Syntax error in call to eval: line 1 : 
data = {status:1,msg:'success',r_id:100}
  Line 1934 of linked script http://pathtojquery/jquery.js
    return data;
  Line 1833 of linked script http://pathtojquery/jquery.js
    success(jQuery.httpData(xml, dataType), status);
  At unknown location
    [statement source code not available]

The difference between posting this error here, and viewing it in the opera error console is that between "data = " and the "{status:1,msg:'success',r_id:100}" there are four squares. Could it be some weird encoding issue?

Attachments (1)
  • OperaErrorConsole.gif (12.1 KB) - added by jamwae@gmail.com December 04, 2006 07:41PM UTC.

    Opera Error Console

Change History (2)

Changed December 08, 2006 11:36AM UTC by joern comment:1

description: Opera won't except returned data with the ajax mod in jquery 1.0.3.\ \ I get the following error:\ \ name: SyntaxError\ message: Statement on line 1934: Syntax error in call to eval: line 1 : \ data = {status:1,msg:'success',r_id:100}\ Line 1934 of linked script http://pathtojquery/jquery.js\ return data;\ Line 1833 of linked script http://pathtojquery/jquery.js\ success(jQuery.httpData(xml, dataType), status);\ At unknown location\ [statement source code not available]\ \ \ The difference between posting this error here, and viewing it in the opera error console is that between "data = " and the "{status:1,msg:'success',r_id:100}" there are four squares. Could it be some weird encoding issue?\ Opera won't except returned data with the ajax mod in jquery 1.0.3.\ \ I get the following error:\ {{{\ name: SyntaxError\ message: Statement on line 1934: Syntax error in call to eval: line 1 : \ data = {status:1,msg:'success',r_id:100}\ Line 1934 of linked script http://pathtojquery/jquery.js\ return data;\ Line 1833 of linked script http://pathtojquery/jquery.js\ success(jQuery.httpData(xml, dataType), status);\ At unknown location\ [statement source code not available]\ }}}\ \ The difference between posting this error here, and viewing it in the opera error console is that between "data = " and the "{status:1,msg:'success',r_id:100}" there are four squares. Could it be some weird encoding issue?
priority: blockermajor

Could you provide a testcase for this? And/or test it with the latest revision of jQuery?

Changed December 21, 2006 01:41PM UTC by joern comment:2

resolution: → worksforme
status: newclosed

I am unable to reproduce this.