{"action":"created","issue":{"url":"https://api.github.com/repos/next-l/enju_leaf/issues/1053","labels_url":"https://api.github.com/repos/next-l/enju_leaf/issues/1053/labels{/name}","comments_url":"https://api.github.com/repos/next-l/enju_leaf/issues/1053/comments","events_url":"https://api.github.com/repos/next-l/enju_leaf/issues/1053/events","html_url":"https://github.com/next-l/enju_leaf/issues/1053","id":123162750,"number":1053,"title":"既にある書誌に、所蔵を追加するTSVインポートをする場合に「item_identifier」がない場合は作成されない","user":{"login":"yegusa","id":1328499,"avatar_url":"https://avatars.githubusercontent.com/u/1328499?v=3","gravatar_id":"","url":"https://api.github.com/users/yegusa","html_url":"https://github.com/yegusa","followers_url":"https://api.github.com/users/yegusa/followers","following_url":"https://api.github.com/users/yegusa/following{/other_user}","gists_url":"https://api.github.com/users/yegusa/gists{/gist_id}","starred_url":"https://api.github.com/users/yegusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegusa/subscriptions","organizations_url":"https://api.github.com/users/yegusa/orgs","repos_url":"https://api.github.com/users/yegusa/repos","events_url":"https://api.github.com/users/yegusa/events{/privacy}","received_events_url":"https://api.github.com/users/yegusa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/next-l/enju_leaf/labels/bug","name":"bug","color":"444444"},{"url":"https://api.github.com/repos/next-l/enju_leaf/labels/discussion","name":"discussion","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/next-l/enju_leaf/milestones/18","html_url":"https://github.com/next-l/enju_leaf/milestones/1.2.0","labels_url":"https://api.github.com/repos/next-l/enju_leaf/milestones/18/labels","id":1412053,"number":18,"title":"1.2.0","description":"","creator":{"login":"nabeta","id":11428,"avatar_url":"https://avatars.githubusercontent.com/u/11428?v=3","gravatar_id":"","url":"https://api.github.com/users/nabeta","html_url":"https://github.com/nabeta","followers_url":"https://api.github.com/users/nabeta/followers","following_url":"https://api.github.com/users/nabeta/following{/other_user}","gists_url":"https://api.github.com/users/nabeta/gists{/gist_id}","starred_url":"https://api.github.com/users/nabeta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabeta/subscriptions","organizations_url":"https://api.github.com/users/nabeta/orgs","repos_url":"https://api.github.com/users/nabeta/repos","events_url":"https://api.github.com/users/nabeta/events{/privacy}","received_events_url":"https://api.github.com/users/nabeta/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":57,"state":"open","created_at":"2015-11-15T07:15:16Z","updated_at":"2015-12-27T15:14:25Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-12-20T14:23:58Z","updated_at":"2015-12-28T10:24:50Z","closed_at":null,"body":"#1019 (書誌と所蔵を同時に登録する際に、item_ideitifierがないと登録できない)とも関連する。\r\n\r\n所蔵情報IDはなく、請求記号だけ追加するということもあるので、\r\n所蔵情報ID（item_identifier）なしのばあいTSVインポートで所蔵が追加できないのは困る。\r\n\r\n例：\r\n<pre>\r\nmanifestation_identifier\tcirculation_status\tuse_restriction\tcall_number\r\nhttp://iss.ndl.go.jp/books/R100000002-I000003018903-00\tAvailable On Shelf\tLimited Circulation, Normal Loan Period\t547.483|テaa\r\nhttp://iss.ndl.go.jp/books/R100000002-I000010835920-00\tAvailable On Shelf\tLimited Circulation, Normal Loan Period\t547.483|ヤbb\r\nhttp://iss.ndl.go.jp/books/R100000002-I000007549561-00\tAvailable On Shelf\tLimited Circulation, Normal Loan Period\t375.1|シcc\r\n</pre>\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1328499/11918327/7cd46096-a76f-11e5-88c4-cd6b9e6fbaef.png)\r\n\r\n----\r\n\r\n参考：　item_identifier があれば、ちゃんと所蔵が追加される　\r\n\r\n<pre>\r\nmanifestation_identifier\titem_identifier\tcirculation_status\tuse_restriction\tcall_number\r\nhttp://iss.ndl.go.jp/books/R100000002-I000003018903-00\t554101\tAvailable On Shelf\tLimited Circulation, Normal Loan Period\t547.483|テp\r\nhttp://iss.ndl.go.jp/books/R100000002-I000010835920-00\t554102\tAvailable On Shelf\tLimited Circulation, Normal Loan Period\t547.483|ヤp\r\nhttp://iss.ndl.go.jp/books/R100000002-I000007549561-00\t554103\tAvailable On Shelf\tLimited Circulation, Normal Loan Period\t375.1|シp\r\n</pre>\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1328499/11918288/2d397fd6-a76e-11e5-85e0-8a0d68fef79d.png)\r\n\r\nvagrant@vagrant-ubuntu-trusty-64:~/enju$ bundle list | grep enju\r\n  * enju_biblio (0.1.1)\r\n  * enju_circulation (0.1.1 caa363f)\r\n  * enju_event (0.1.17 f886ee3)\r\n  * enju_flower (0.1.0)\r\n  * enju_leaf (1.1.2 cd28c42)\r\n  * enju_library (0.1.0)\r\n  * enju_manifestation_viewer (0.1.0)\r\n  * enju_message (0.1.14)\r\n  * enju_ndl (0.1.0)\r\n  * enju_purchase_request (0.1.0 78c4280)\r\n  * enju_subject (0.1.0)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/next-l/enju_leaf/issues/comments/167539031","html_url":"https://github.com/next-l/enju_leaf/issues/1053#issuecomment-167539031","issue_url":"https://api.github.com/repos/next-l/enju_leaf/issues/1053","id":167539031,"user":{"login":"nabeta","id":11428,"avatar_url":"https://avatars.githubusercontent.com/u/11428?v=3","gravatar_id":"","url":"https://api.github.com/users/nabeta","html_url":"https://github.com/nabeta","followers_url":"https://api.github.com/users/nabeta/followers","following_url":"https://api.github.com/users/nabeta/following{/other_user}","gists_url":"https://api.github.com/users/nabeta/gists{/gist_id}","starred_url":"https://api.github.com/users/nabeta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabeta/subscriptions","organizations_url":"https://api.github.com/users/nabeta/orgs","repos_url":"https://api.github.com/users/nabeta/repos","events_url":"https://api.github.com/users/nabeta/events{/privacy}","received_events_url":"https://api.github.com/users/nabeta/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T10:24:50Z","updated_at":"2015-12-28T10:24:50Z","body":"#1019 では請求記号が問題になっていますので、請求記号があれば所蔵情報が入力されているとみなしてインポートするのでいかがでしょうか。"}}