Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4709

Invalid field value for field "id"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.5
    • Fix Version/s: 2.5.8
    • Component/s: Plugin - REST
    • Labels:
      None

      Description

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

      E.g: /struts2-rest-showcase/orders/3.json

      {"amount":33,"clientName":"Bob","id":"org.apache.struts2.dispatcher.Parameter$Request@53e65f44"}
      

      The "id" value should be 3.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                winix winix
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: