[ https://issues.apache.org/jira/browse/IGNITE-6081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16147442#comment-16147442 ]
ASF GitHub Bot commented on IGNITE-6081: ---------------------------------------- GitHub user ptupitsyn opened a pull request: https://github.com/apache/ignite/pull/2555 IGNITE-6081 .NET: Fix PutAll for dependent objects You can merge this pull request into a Git repository by running: $ git pull https://github.com/ptupitsyn/ignite ignite-6081 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/2555.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2555 ---- commit 91f70797d9cfd98c680e02c383127ec0a645a595 Author: Pavel Tupitsyn <ptupit...@apache.org> Date: 2017-08-30T14:52:40Z IGNITE-6081 .NET: Cannot get from cache values which were stored in cache with PutAll commit 9b701c00e9418f4b42043148b3cc34e9714a09f7 Author: Pavel Tupitsyn <ptupit...@apache.org> Date: 2017-08-30T14:58:54Z Improve tests commit ceab4ae086264adc148e18f6a587d9217904864f Author: Pavel Tupitsyn <ptupit...@apache.org> Date: 2017-08-30T15:04:34Z Fix WriteObjectDetached commit da46dbd3d0990e473c018faaef251b31403546a2 Author: Pavel Tupitsyn <ptupit...@apache.org> Date: 2017-08-30T15:23:59Z Fix tests commit 7196bc8d2ade90468c301a8113ac473419edbd56 Author: Pavel Tupitsyn <ptupit...@apache.org> Date: 2017-08-30T15:24:29Z Fix WriteDictionary commit 82e10797e4a3fb91ec787bd22f839fcc6042fded Author: Pavel Tupitsyn <ptupit...@apache.org> Date: 2017-08-30T15:30:04Z Fix test ---- > .NET: Cannot get from cache values which were stored in cache with PutAll > ------------------------------------------------------------------------- > > Key: IGNITE-6081 > URL: https://issues.apache.org/jira/browse/IGNITE-6081 > Project: Ignite > Issue Type: Bug > Components: platforms > Affects Versions: 2.1 > Reporter: Igor Sapego > Assignee: Pavel Tupitsyn > Priority: Critical > Fix For: 2.3 > > > If you try to put multiple non-primitive values with dictionary property to > cache using {{PutAll}}, you'd get an exception on attempt to read those > values. Code example below: > {code} > var entries = new Dictionary<long, SomeType>(); > for (int i = 0; i < 100; i++) > entries.Add(i, new SomeType { Id = i }); > var cache = Ignition.GetIgnite().GetCache<long, SomeType>("CacheName"); > cache.PutAll(entries); > cache.Get(42); > {code} > Pay attention, that {{SomeType}} should have dictionary property. -- This message was sent by Atlassian JIRA (v6.4.14#64029)