Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-224

XStreamMarshaller is missing the call to omit fields from serialization process

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.4
    • Component/s: OXM
    • Labels:
      None

      Description

      XStreamMarshaller is missing the ability to omit fields from been serialized / deserialized even though underling xstream library has it..

      We currently are working around the issue by using reflection. It is though rather a hack.

      I propose to add method addOmitField(My.class, "field name") or something along those lines

        Activity

        c0nst Kostya created issue -
        arjen.poutsma Arjen Poutsma made changes -
        Field Original Value New Value
        Fix Version/s 1.5.4 [ 11016 ]
        Component/s OXM [ 10151 ]
        Component/s XML [ 10200 ]
        arjen.poutsma Arjen Poutsma made changes -
        Assignee Arjen Poutsma [ arjen.poutsma ] Tareq Abed Rabbo [ tareq ]
        Remaining Estimate 2d [ 57600 ]
        Original Estimate 2d [ 57600 ]
        tareq Tareq Abedrabbo made changes -
        Attachment SWS-224.patch [ 14415 ]
        arjen.poutsma Arjen Poutsma made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            tareq Tareq Abedrabbo
            Reporter:
            c0nst Kostya
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: