You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2014/07/17 04:14:04 UTC

[jira] [Created] (FELIX-4564) JSON Output overwrites resource information

Carsten Ziegeler created FELIX-4564:
---------------------------------------

             Summary: JSON Output overwrites resource information
                 Key: FELIX-4564
                 URL: https://issues.apache.org/jira/browse/FELIX-4564
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-obr-plugin-1.0.0
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: webconsole-obr-plugin-1.0.2


When JSON output is generated, properties of the rendered Resource object are overwritten as the JSONObject is constructed with the properties map of the Resource and consequent put operations on the JSONObject overwrite the content in the properties map.
This results in a ClassCastException for the version attribute



--
This message was sent by Atlassian JIRA
(v6.2#6252)