[ https://issues.apache.org/jira/browse/OLINGO-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15444309#comment-15444309 ]
Michael Strasser commented on OLINGO-1014: ------------------------------------------ Hi Michael I have discovered that the new test {{AnnotationsInMemoryDsTest#ensureTwoKeyEntityKeysAreUnique}} is non-deterministic and sometimes fails. I will produce a better version and attach a patch. Regards Michael > Preserve existing key values when saving an entity with multiple keys, if > possible. > ----------------------------------------------------------------------------------- > > Key: OLINGO-1014 > URL: https://issues.apache.org/jira/browse/OLINGO-1014 > Project: Olingo > Issue Type: Improvement > Components: odata2-annotation > Affects Versions: V2 2.0.7 > Reporter: Michael Strasser > Assignee: Michael Bolz > Priority: Minor > Fix For: V2 2.0.8 > > Attachments: > 0002-OLINGO-1014-Preserve-existing-key-values-of-an-entit.patch > > > In the annotation in-memory data store, if an entity with multiple keys is > stored with some key values set, all values are overwritten with generated > values. > This change preserves existing key values and generates new ones only for > those not set. However if the new set of keys is already in the store, new > values are generated for all keys. -- This message was sent by Atlassian JIRA (v6.3.4#6332)