Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F3F71738A for ; Mon, 12 Sep 2011 14:18:17 +0000 (UTC) Received: (qmail 16306 invoked by uid 500); 12 Sep 2011 14:15:21 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 16147 invoked by uid 500); 12 Sep 2011 14:14:49 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 16103 invoked by uid 99); 12 Sep 2011 14:14:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2011 14:14:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Mon, 12 Sep 2011 14:14:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0283894CA5 for ; Mon, 12 Sep 2011 14:14:09 +0000 (UTC) Date: Mon, 12 Sep 2011 14:14:09 +0000 (UTC) From: "Valentin Valchev (JIRA)" To: dev@felix.apache.org Message-ID: <1550494401.17241.1315836849006.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1202230861.556.1300715585911.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (FELIX-2889) Invalid JSON content in http response after starting or stopping a bundle. 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/FELIX-2889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Valentin Valchev resolved FELIX-2889. ------------------------------------- Resolution: Fixed Fixed in rev.1169752 About that JSON .. it is completely valid. The quotes are mandatory only if the key is not valid identifier, which is not our case. The actual problem is that response omitted the content type header, and the browser wasn't able to recognize that the returned content is JSON. > Invalid JSON content in http response after starting or stopping a bundle. > -------------------------------------------------------------------------- > > Key: FELIX-2889 > URL: https://issues.apache.org/jira/browse/FELIX-2889 > Project: Felix > Issue Type: Bug > Components: Web Console > Affects Versions: webconsole-3.1.8 > Reporter: Geoffroy Schneck > Assignee: Valentin Valchev > Priority: Trivial > Fix For: webconsole-3.1.10 > > > When successfully starting of stopping a bundle via the Webconsole (POST request is sent with action=start/stop), the http response contains a bit of json ( {fragment:false,stateRaw:4} ) which is not fully respecting the JSON grammar : double-quotes missing on the attributes name. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira