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.

        Issue Links

          Activity

          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build Struts-JDK7-master #546 (See https://builds.apache.org/job/Struts-JDK7-master/546/)
          WW-4709 Defines toString as it's used in JSON serialisation (lukaszlenart: rev b287a9546a5212bb8c045194f6a6e39aa578017d)

          • (edit) core/src/main/java/org/apache/struts2/dispatcher/Parameter.java
          • (edit) core/src/main/java/org/apache/struts2/dispatcher/HttpParameters.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Struts-JDK7-master #546 (See https://builds.apache.org/job/Struts-JDK7-master/546/ ) WW-4709 Defines toString as it's used in JSON serialisation (lukaszlenart: rev b287a9546a5212bb8c045194f6a6e39aa578017d) (edit) core/src/main/java/org/apache/struts2/dispatcher/Parameter.java (edit) core/src/main/java/org/apache/struts2/dispatcher/HttpParameters.java
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit b287a9546a5212bb8c045194f6a6e39aa578017d in struts's branch refs/heads/master from Lukasz Lenart
          [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=b287a95 ]

          WW-4709 Defines toString as it's used in JSON serialisation

          Show
          jira-bot ASF subversion and git services added a comment - Commit b287a9546a5212bb8c045194f6a6e39aa578017d in struts's branch refs/heads/master from Lukasz Lenart [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=b287a95 ] WW-4709 Defines toString as it's used in JSON serialisation

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development