Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7FD059244 for ; Sat, 28 Apr 2012 00:31:10 +0000 (UTC) Received: (qmail 16190 invoked by uid 500); 28 Apr 2012 00:31:09 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 16113 invoked by uid 500); 28 Apr 2012 00:31:09 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 15997 invoked by uid 99); 28 Apr 2012 00:31:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Apr 2012 00:31:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Apr 2012 00:31:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 63619424CFE for ; Sat, 28 Apr 2012 00:30:48 +0000 (UTC) Date: Sat, 28 Apr 2012 00:30:48 +0000 (UTC) From: "Jesse MacFadyen (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <138924085.5477.1335573048408.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <902651391.9949.1330007448644.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CB-276) Cannot use $.getJSON on a local file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen updated CB-276: ------------------------------- Fix Version/s: 1.8.0 > Cannot use $.getJSON on a local file > ------------------------------------ > > Key: CB-276 > URL: https://issues.apache.org/jira/browse/CB-276 > Project: Apache Callback > Issue Type: Bug > Components: WP7 > Affects Versions: 1.4.0 > Reporter: Alexandre Mathieu > Assignee: Jesse MacFadyen > Labels: ajax, javascript, json, xhr > Fix For: 1.8.0 > > > I have the following code in my JS: > $.getJSON('json/somefile.json').success(function(data) { ... }); > Where somefile.json has been set to "Content". > The console gives me the following message: > Wrapped XHR received Error from FileAPI :: [object Object] > Where the object contains: {code: 1} > Any idea on the matter? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira