google-code-export / camlistore

Automatically exported from code.google.com/p/camlistore
Apache License 2.0
0 stars 0 forks source link

Duplicate attributes on claims :( #510

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Client: Trunk-ish (8d79f599085741fccded89243f762f26c4b8684b)
Server: Trunk-ish (95bf8e42a3681c508e8455b0c25ecb1b7902e603)

Note duplicate claimType attributes below:

$ ./bin/camput share sha1-e960efef057fcf5a6d0e96720f05bd6cfe89834a
sha1-4fd4811c8120a046362bfc7affe6d76b20ffb9a6

$ ./bin/camget sha1-4fd4811c8120a046362bfc7affe6d76b20ffb9a6
{"camliVersion": 1,
  "authType": "haveref",
  "camliSigner": "sha1-1be3fb0358c44b59322ecf46b07931cbefef844a",
  "camliType": "claim",
  "claimDate": "2014-09-01T02:44:26.690609323Z",
  "claimType": "share",
  "target": "sha1-e960efef057fcf5a6d0e96720f05bd6cfe89834a",
  "transitive": false
,"camliSig":...

$ ./bin/camput delete sha1-4fd4811c8120a046362bfc7affe6d76b20ffb9a6
sha1-5264690b29fa554ba3ee64f838ca128f6b1c93f9

$ ./bin/camget sha1-5264690b29fa554ba3ee64f838ca128f6b1c93f9
{"camliVersion": 1,
  "camliSigner": "sha1-1be3fb0358c44b59322ecf46b07931cbefef844a",
  "camliType": "claim",
  "claimDate": "2014-09-01T02:45:47.178108991Z",
  "claimType": "delete",
  "target": "sha1-4fd4811c8120a046362bfc7affe6d76b20ffb9a6"
,"camliSig":...

Original issue reported on code.google.com by zbo...@gmail.com on 1 Sep 2014 at 2:49

GoogleCodeExporter commented 9 years ago
What's the bug?

Are you misreading camliType vs. claimType? They are anagrams. Perhaps that's 
unfortunate. It wasn't intentional, but we're also not changing it now.

Original comment by bradfitz on 1 Sep 2014 at 3:47

GoogleCodeExporter commented 9 years ago

Original comment by bradfitz on 1 Sep 2014 at 4:08

GoogleCodeExporter commented 9 years ago
whoops

Original comment by zbo...@gmail.com on 4 Sep 2014 at 7:59

GoogleCodeExporter commented 9 years ago
This issue has moved to https://camlistore.org/issue/510

Original comment by bradfitz on 14 Dec 2014 at 11:37