Hi,
When getting a set object from riak bucket and trying to remove an item from non existing riak object in the database, it throws an exception that the context is needed to be fetched. when i'm trying to call reload() - this still won't work (no context). this is probably for new object. I would have think that the 'exists' flag will be available on the object though it isn't, so in order to check if the object exists in the database i need to check if after the get() call i got a context object.
I assume that there should be an easier way of doing that...
Thanks,
Oded
Hi, When getting a set object from riak bucket and trying to remove an item from non existing riak object in the database, it throws an exception that the context is needed to be fetched. when i'm trying to call reload() - this still won't work (no context). this is probably for new object. I would have think that the 'exists' flag will be available on the object though it isn't, so in order to check if the object exists in the database i need to check if after the get() call i got a context object.
I assume that there should be an easier way of doing that... Thanks, Oded