Open GoogleCodeExporter opened 8 years ago
Thank you for the bug report.
I couldn't reproduce this problem. I am running the Java TestApp, which is
included with the Java bindings, and this application successfully deletes all
objects it creates. Could you run this application to check whether it deletes
data objects when you are running it?
Instructions for running TestApp can be found in /src/libhaggle/jni/README. I
recommend checking the sqlite data base for extra confirmation. Open haggle.db
(it is located in ~/.Haggle on, e.g., Linux) and input the following query:
"select * from table_dataobjects;". You should see no data objects in this
table in case deletion works (this is the result for me). If you do not delete
data objects in your application (i.e., uncomment the delete call in TestApp),
you will see that the data objects remain in the table.
Erik
Original comment by erik.nor...@gmail.com
on 22 May 2011 at 3:52
Ok, I think I've been able to reproduce this problem. As you describe, the
issue is probably the hashing order of attributes. The solution is probably to
always calculate the SHA1 hash in the order attributes appear in the XML header.
Original comment by erik.nor...@gmail.com
on 22 May 2011 at 4:04
Yes,dataobjects with multi-attributes will lead to this problem.
Original comment by Donzell...@gmail.com
on 23 May 2011 at 7:30
Original issue reported on code.google.com by
Donzell...@gmail.com
on 22 May 2011 at 2:30