I had stored object in first place, but now I want to link to another
object, and At this phase, It got an error when, I try to get metatada:
{ok, RiakObj} = riakc_pb_socket:get(RiakPid, Bucket, Key),
Meta = riakc_object:get_metadata( RiakObj )
this is the error:
_Reason = {undef,
[{riakc_object,get_metadata,
[{riakc_obj,<<"GrupoFirmas">>,<<"normal">>,
<<107,206,97,96,96,96,204,96,202,5,82,28,234,
171,119,
69,6,121,94,207,203,96,74,100,204,99,101,216,
59,
119,255,105,190,44,0>>,
[{{dict,3,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[
],[],
[]},
{{[],[],[],[],[],[],[],[],[],[],
[[<<"content-type">>,97,112,112,108,105
,99,
97,116,105,111,110,47,106,115,111,110
],
[<<"X-Riak-VTag">>,53,118,90,83,116,
119,
114,68,102,56,108,65,115,50,121,56,49
,54,
85,81,76,69]],
[],[],
[[<<"X-Riak-Last-Modified">>|
{1380,655549,227370}]],
[],[]}}},
<<"{\"grupo\":\"normal\",\"descripcion\":\"programas
normales\"}">>}],
undefined,undefined}],
[]},
{sicap_GrupoFirmasDetails,update_grupo_link,3,
[{file,"sicap_GrupoFirmasDetails.erl"},{line,79}]},
{sicap_GrupoFirmasDetails,save,2,
[{file,"sicap_GrupoFirmasDetails.erl"},{line,52}]},
{sicap_core_server,handle_call,3,
[{file,"sicap_core_server.erl"},{line,99}]}]}
Thanks in advance
--
JCesar
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com