Jonathan Bayle created OLINGO-830: ------------------------------------- Summary: DefaultValue of a property not set in the map returned by ODataEntry.getProperties() Key: OLINGO-830 URL: https://issues.apache.org/jira/browse/OLINGO-830 Project: Olingo Issue Type: Bug Components: odata2-core Affects Versions: V2 2.0.5 Environment: Oracle JDK 1.7 u80 Reporter: Jonathan Bayle
Dear olingo developers, The DefaultValue of a property not set in the map returned by {{ODataEntry.getProperties()}} when creating an entry. I updated Olingo in my project from v2.0.1 to v2.0.5, this code: {noformat} properties.add(new SimpleProperty().setName(PAGE_SIZE) .setType(EdmSimpleTypeKind.Int32) .setFacets( new Facets() .setNullable(false) .setDefaultValue("30") ) ); {noformat} sets a default value of {{30}} to the PageSize property, * with Olingo v2.0.1 {{odata_entry.getProperties().get(PAGE_SIZE);}} returns an Integer whose value is 30 * with Olingo v2.0.5 {{odata_entry.getProperties().get(PAGE_SIZE);}} returns {{null}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)