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

Invalid field value for field "id"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.5
    • 2.5.8
    • Plugin - REST
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: