Ticket #108 (closed defect: fixed)

Opened 3 years ago

Last modified 5 months ago

XMLSerializer should not serialize public static properties

Reported by: mikey Owned by: schst
Priority: major Milestone: 0.4.0
Component: XMLSerializer Version: SVN-trunk
Keywords: Cc:

Description

Currently the XMLSerializer serializes public static properties as well. This may lead to unexpected behaviour, in particular when serializing stubEnum instances. Additionally, a static property does not belong to a specific instance of a class. Therefore this should be changed to serialize public static properties only when explicitly stated with an annotation.

Change History

Changed 3 years ago by schst

  • status changed from new to closed
  • resolution set to fixed

This has been fixed in changeset [1062]. The old behaviour can be restored using an option.

Note: See TracTickets for help on using tickets.