XStream
  1. XStream
  2. XSTR-760

fromXML exception on the client when a new field is added to the incoming object

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Not A Bug
    • Affects Version/s: 1.4.3
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • JDK version and platform:
      HotSpot 1.6.0_31-rev

      Description

      Hi,

      I have a client which is using an old interface and the provider has added a new field to the class. So when I am trying to deserialize the incoming object using the method fromXML I get an exception. What can be done on the client side to work around this issue without having to update the interface to match with the server every time there is a change?

      Thanks
      Hari

        Activity

        Hide
        Jörg Schaible added a comment -

        It is the intended behavior. The mailing lists are the proper place for questions (as you have already done).

        Show
        Jörg Schaible added a comment - It is the intended behavior. The mailing lists are the proper place for questions (as you have already done).
        Jörg Schaible made changes -
        Field Original Value New Value
        Resolution Not A Bug [ 6 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Jörg Schaible made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Jörg Schaible
            Reporter:
            Hariharan Kilakkencherry
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: