You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Valentin Valchev (JIRA)" <ji...@apache.org> on 2011/09/12 16:14:09 UTC

[jira] [Resolved] (FELIX-2889) Invalid JSON content in http response after starting or stopping a bundle.

     [ 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