felix-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/FELIX-2889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102773#comment-13102773

Julian Sedding commented on FELIX-2889:

> The quotes are mandatory only if the key is not valid identifier

Where do you get this information from? According to the grammar on json.org the grammar,
the key is defined to be a "string", and "string" is in turn defined to be surrounded by double
quotes. Unconditionally.

This is different (i.e. More strict) from the syntax allowed when writing javascript objects.

> 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

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message