[jira] [Resolved] (OLINGO-1335) Release Olingo V2 in version 2.0.11
[ https://issues.apache.org/jira/browse/OLINGO-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bolz resolved OLINGO-1335. -- Resolution: Fixed Fix Version/s: (was: V2 2.0.12) V2 2.0.11 All done > Release Olingo V2 in version 2.0.11 > --- > > Key: OLINGO-1335 > URL: https://issues.apache.org/jira/browse/OLINGO-1335 > Project: Olingo > Issue Type: Task > Components: odata2-annotation, odata2-core, odata2-documentation, > odata2-jpa >Affects Versions: V2 2.0.11 >Reporter: Michael Bolz >Assignee: Michael Bolz >Priority: Major > Fix For: V2 2.0.11 > > > Provide a new Olingo V2 release (version 2.0.11). > Includes: > - Release candidate > - Voting > - Release > - Update Distribution > - Update Website -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Closed] (OLINGO-1335) Release Olingo V2 in version 2.0.11
[ https://issues.apache.org/jira/browse/OLINGO-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bolz closed OLINGO-1335. > Release Olingo V2 in version 2.0.11 > --- > > Key: OLINGO-1335 > URL: https://issues.apache.org/jira/browse/OLINGO-1335 > Project: Olingo > Issue Type: Task > Components: odata2-annotation, odata2-core, odata2-documentation, > odata2-jpa >Affects Versions: V2 2.0.11 >Reporter: Michael Bolz >Assignee: Michael Bolz >Priority: Major > Fix For: V2 2.0.11 > > > Provide a new Olingo V2 release (version 2.0.11). > Includes: > - Release candidate > - Voting > - Release > - Update Distribution > - Update Website -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OLINGO-1219) When nullable key is defined Encoder would throw NPE
[ https://issues.apache.org/jira/browse/OLINGO-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bolz updated OLINGO-1219: - Fix Version/s: (was: V2 2.0.10) > When nullable key is defined Encoder would throw NPE > > > Key: OLINGO-1219 > URL: https://issues.apache.org/jira/browse/OLINGO-1219 > Project: Olingo > Issue Type: Bug > Components: odata2-core >Affects Versions: V2 2.0.9 >Reporter: Song Yihan >Priority: Major > > in current Encoder implementation, if given input is null, an NPE would be > thrown > The scenario would be, consider an Entity which key is allowed to be null in > Edmx, thus, the data retrieved in data source would be a HashMap only with > non-null value, when createEntryKey<-createSelfLink, we generate the key > representation from the given data, some of the key would be null and passed > to Encoder, which would throw NullPointerException and skip the check of its > corresponding facets > if (value == null) { > if (facets == null || facets.isNullable() == null || > facets.isNullable()) { > return null; > } else { > throw new > EdmSimpleTypeException(EdmSimpleTypeException.VALUE_NULL_NOT_ALLOWED); > } > } > A pull request has been created aim to fix it at > https://github.com/apache/olingo-odata2/pull/14 -- This message was sent by Atlassian JIRA (v7.6.3#76005)