[infinispan-issues] [JBoss JIRA] (IPROTO-10) Default value is not used when reading from a stream which does not contain the field
Adrian Nistor (JIRA)
issues at jboss.org
Thu Jul 7 03:54:00 EDT 2016
Adrian Nistor created IPROTO-10:
-----------------------------------
Summary: Default value is not used when reading from a stream which does not contain the field
Key: IPROTO-10
URL: https://issues.jboss.org/browse/IPROTO-10
Project: Infinispan ProtoStream
Issue Type: Bug
Reporter: Adrian Nistor
This issue can appear if a field is first optional and later is marked required in the schema and a default value is assigned. When reading from a stream encoded with the first version of the schema we might not see the field and would expect the missing value to be replaced with the default. Default values do not work in this particular case.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list