Closed GoogleCodeExporter closed 9 years ago
Upon further consideration, the rules as defined in issue #11 will not be
changed. Instead, the 'default' attribute will always be marshaled (when set)
for fields where ignore="true". Thus, in the previous example, the field could
be marshaled as "AAA" using the following definition:
<field name="xxx" length="A" ignore="true" default="" />
If a default value is not set, the field will continue to marshaled as " ".
This fix is planned for release 1.2.2.
Original comment by kevin.s...@gmail.com
on 16 Dec 2011 at 4:45
Fixed for release 1.2.2. A configured field default will now be marshaled for
ANY null property value or field where ignore=true.
For backwards compatibility, this feature can be disabled by setting
'org.beanio.marshalDefaultEnabled' to 'false'. See Configuration details in
the reference guide.
Original comment by kevin.s...@gmail.com
on 17 Dec 2011 at 4:31
Original comment by kevin.s...@gmail.com
on 18 Dec 2011 at 10:58
Original issue reported on code.google.com by
kevin.s...@gmail.com
on 6 Oct 2011 at 1:37