{"action":"opened","issue":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1925","labels_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1925/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1925/comments","events_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1925/events","html_url":"https://github.com/ipfs/go-ipfs/issues/1925","id":114512747,"number":1925,"title":"patch add-link fails to write result to blockstore","user":{"login":"eminence","id":402454,"avatar_url":"https://avatars.githubusercontent.com/u/402454?v=3","gravatar_id":"","url":"https://api.github.com/users/eminence","html_url":"https://github.com/eminence","followers_url":"https://api.github.com/users/eminence/followers","following_url":"https://api.github.com/users/eminence/following{/other_user}","gists_url":"https://api.github.com/users/eminence/gists{/gist_id}","starred_url":"https://api.github.com/users/eminence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eminence/subscriptions","organizations_url":"https://api.github.com/users/eminence/orgs","repos_url":"https://api.github.com/users/eminence/repos","events_url":"https://api.github.com/users/eminence/events{/privacy}","received_events_url":"https://api.github.com/users/eminence/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-02T02:33:32Z","updated_at":"2015-11-02T02:33:32Z","closed_at":null,"body":"This isn't new, mostly recently tested with 36de29acceda06b50016539971d330d4504a550a\r\n\r\n```\r\n$ ipfs object new \r\nQmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n\r\n```\r\n\r\n```\r\n$ ipfs object patch QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n add-link name QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n\r\nQmaLj6BqZg5BnjpVCBeUVzqGQcGuZPdBtVxz9zS4MbDTnu\r\n```\r\n\r\nAt this point I expect this new hash (`Qm...Tnu`) to be available, but it isn't:\r\n\r\n```\r\n$ ipfs object stat QmaLj6BqZg5BnjpVCBeUVzqGQcGuZPdBtVxz9zS4MbDTnu\r\nError: merkledag: not found\r\n```\r\n\r\n\r\nOddly, the above sequence works if you start with a unixfs-dir object (instead of an empty object)"}}