Re: [RavenDB] Issue when trying to load multiple documents

13 views
Skip to first unread message

Fitzchak Yitzchaki

unread,
May 26, 2013, 2:36:14 AM5/26/13
to <ravendb@googlegroups.com>


On Sat, May 25, 2013 at 6:04 PM, esskar . <ess...@gmail.com> wrote:
Hello,

i am trying to load multiple documents at once

    var id1 = "Existing Attribute";
    var id2 = "Non-Existing Attribute"; 

    var attributes = session.Load<UserAttribute>(id1, id2);

this retuns an array of 2, but all elements in that array are null. id1 does exist.

When i do the following for testing

    var test = session.Load<UserAttribute>(id1);

    var attributes = session.Load<UserAttribute>(id1, id2);

Then test points to the existing attribute. attributes[0] is also not null, and points to the same document as test

Looks like a bug to me. The version i am using is

Raven is ready to process requests. Build 2360, Version 2.0.3 / 4ab4776


Cheers,
esskar

--
You received this message because you are subscribed to the Google Groups "ravendb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages