{"action":"created","issue":{"url":"https://api.github.com/repos/inveniosoftware/invenio/issues/2582","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/2582/labels{/name}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/2582/comments","events_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/2582/events","html_url":"https://github.com/inveniosoftware/invenio/issues/2582","id":50181587,"number":2582,"title":"BibEdit: correct uploading of controlfields","user":{"login":"tiborsimko","id":517546,"avatar_url":"https://avatars.githubusercontent.com/u/517546?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborsimko","html_url":"https://github.com/tiborsimko","followers_url":"https://api.github.com/users/tiborsimko/followers","following_url":"https://api.github.com/users/tiborsimko/following{/other_user}","gists_url":"https://api.github.com/users/tiborsimko/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborsimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborsimko/subscriptions","organizations_url":"https://api.github.com/users/tiborsimko/orgs","repos_url":"https://api.github.com/users/tiborsimko/repos","events_url":"https://api.github.com/users/tiborsimko/events{/privacy}","received_events_url":"https://api.github.com/users/tiborsimko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/c_BibEdit","name":"c_BibEdit","color":"ededed"},{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/legacy","name":"legacy","color":"d4c5f9"},{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/p_major","name":"p_major","color":"e11d21"},{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/s_TIND","name":"s_TIND","color":"207de5"},{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/t_bug","name":"t_bug","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/inveniosoftware/invenio/milestones/5","html_url":"https://github.com/inveniosoftware/invenio/milestones/v1.4.0","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/milestones/5/labels","id":696655,"number":5,"title":"v1.4.0","description":"","creator":{"login":"tiborsimko","id":517546,"avatar_url":"https://avatars.githubusercontent.com/u/517546?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborsimko","html_url":"https://github.com/tiborsimko","followers_url":"https://api.github.com/users/tiborsimko/followers","following_url":"https://api.github.com/users/tiborsimko/following{/other_user}","gists_url":"https://api.github.com/users/tiborsimko/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborsimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborsimko/subscriptions","organizations_url":"https://api.github.com/users/tiborsimko/orgs","repos_url":"https://api.github.com/users/tiborsimko/repos","events_url":"https://api.github.com/users/tiborsimko/events{/privacy}","received_events_url":"https://api.github.com/users/tiborsimko/received_events","type":"User","site_admin":false},"open_issues":124,"closed_issues":49,"state":"open","created_at":"2014-06-20T11:01:24Z","updated_at":"2015-09-21T14:42:02Z","due_on":"2015-09-29T22:00:00Z","closed_at":null},"comments":4,"created_at":"2014-11-26T14:08:08Z","updated_at":"2015-09-21T14:42:02Z","closed_at":"2015-09-21T14:42:02Z","body":"When you try to upload a record having controlfield such as:\r\n\r\n```xml\r\n <controlfield tag=\"008\">this is some text    after spaces</controlfield>\r\n```\r\n\r\nAfter upload you will get this:\r\n\r\n```xml\r\n<datafield tag=\"008\" ind1=\" \" ind2=\" \">\r\n  </datafield>\r\n```\r\n\r\nBibUpload should treat 001-009 as controlfields.  (with special treatment of 001 and 005)\r\n\r\nP.S. See also #230.\r\n\r\nCC @Kennethhole"},"comment":{"url":"https://api.github.com/repos/inveniosoftware/invenio/issues/comments/142002755","html_url":"https://github.com/inveniosoftware/invenio/issues/2582#issuecomment-142002755","issue_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/2582","id":142002755,"user":{"login":"tiborsimko","id":517546,"avatar_url":"https://avatars.githubusercontent.com/u/517546?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborsimko","html_url":"https://github.com/tiborsimko","followers_url":"https://api.github.com/users/tiborsimko/followers","following_url":"https://api.github.com/users/tiborsimko/following{/other_user}","gists_url":"https://api.github.com/users/tiborsimko/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborsimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborsimko/subscriptions","organizations_url":"https://api.github.com/users/tiborsimko/orgs","repos_url":"https://api.github.com/users/tiborsimko/repos","events_url":"https://api.github.com/users/tiborsimko/events{/privacy}","received_events_url":"https://api.github.com/users/tiborsimko/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T14:42:02Z","updated_at":"2015-09-21T14:42:02Z","body":"TIND's workaround is replace all whitespaces before the treatment, hence closing this issue as per the legacy code base freeze."}}