You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "winix (JIRA)" <ji...@apache.org> on 2016/11/02 03:02:58 UTC

[jira] [Created] (WW-4709) Invalid field value for field "id"

winix created WW-4709:
-------------------------

             Summary: Invalid field value for field "id"
                 Key: WW-4709
                 URL: https://issues.apache.org/jira/browse/WW-4709
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - REST
    Affects Versions: 2.5.5
            Reporter: winix


The "id" field of Model(ModelDriven) is set to the wrong value.

E.g: /struts2-rest-showcase/orders/3.json
{code:javascript}
{"amount":33,"clientName":"Bob","id":"org.apache.struts2.dispatcher.Parameter$Request@53e65f44"}
{code}
The "id" value should be 3.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)