felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Valchev (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-2889) Invalid JSON content in http response after starting or stopping a bundle.
Date Mon, 12 Sep 2011 14:14:09 GMT

     [ 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

        

Mime
View raw message