{"action":"created","issue":{"url":"https://api.github.com/repos/inspirehep/inspire-next/issues/979","repository_url":"https://api.github.com/repos/inspirehep/inspire-next","labels_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/979/labels{/name}","comments_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/979/comments","events_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/979/events","html_url":"https://github.com/inspirehep/inspire-next/issues/979","id":139282703,"number":979,"title":"Validation errors in record migration","user":{"login":"jalavik","id":633680,"avatar_url":"https://avatars.githubusercontent.com/u/633680?v=3","gravatar_id":"","url":"https://api.github.com/users/jalavik","html_url":"https://github.com/jalavik","followers_url":"https://api.github.com/users/jalavik/followers","following_url":"https://api.github.com/users/jalavik/following{/other_user}","gists_url":"https://api.github.com/users/jalavik/gists{/gist_id}","starred_url":"https://api.github.com/users/jalavik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalavik/subscriptions","organizations_url":"https://api.github.com/users/jalavik/orgs","repos_url":"https://api.github.com/users/jalavik/repos","events_url":"https://api.github.com/users/jalavik/events{/privacy}","received_events_url":"https://api.github.com/users/jalavik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/inspirehep/inspire-next/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"tomaszgy","id":10139760,"avatar_url":"https://avatars.githubusercontent.com/u/10139760?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszgy","html_url":"https://github.com/tomaszgy","followers_url":"https://api.github.com/users/tomaszgy/followers","following_url":"https://api.github.com/users/tomaszgy/following{/other_user}","gists_url":"https://api.github.com/users/tomaszgy/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszgy/subscriptions","organizations_url":"https://api.github.com/users/tomaszgy/orgs","repos_url":"https://api.github.com/users/tomaszgy/repos","events_url":"https://api.github.com/users/tomaszgy/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszgy/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/inspirehep/inspire-next/milestones/14","html_url":"https://github.com/inspirehep/inspire-next/milestones/Information%20architecture%20-%20third%20iteration","labels_url":"https://api.github.com/repos/inspirehep/inspire-next/milestones/14/labels","id":1455754,"number":14,"title":"Information architecture - third iteration","description":"","creator":{"login":"jmartinm","id":580727,"avatar_url":"https://avatars.githubusercontent.com/u/580727?v=3","gravatar_id":"","url":"https://api.github.com/users/jmartinm","html_url":"https://github.com/jmartinm","followers_url":"https://api.github.com/users/jmartinm/followers","following_url":"https://api.github.com/users/jmartinm/following{/other_user}","gists_url":"https://api.github.com/users/jmartinm/gists{/gist_id}","starred_url":"https://api.github.com/users/jmartinm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmartinm/subscriptions","organizations_url":"https://api.github.com/users/jmartinm/orgs","repos_url":"https://api.github.com/users/jmartinm/repos","events_url":"https://api.github.com/users/jmartinm/events{/privacy}","received_events_url":"https://api.github.com/users/jmartinm/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":25,"state":"open","created_at":"2015-12-11T10:33:17Z","updated_at":"2016-06-15T16:06:38Z","due_on":"2016-05-30T22:00:00Z","closed_at":null},"comments":1,"created_at":"2016-03-08T13:48:43Z","updated_at":"2016-06-15T16:06:39Z","closed_at":"2016-06-15T16:06:38Z","body":"**NOTE that some codepaths will be different on Invenio 3 version of INSPIRE.**\r\n\r\n(from QA) but should be applicable in v3 as well. All recid references can be resolved on `inspirehep.net/record/{{ recid }}/export/xme`\r\n\r\n- [ ] hidden_notes\r\n\r\n```\r\n[2016-03-08 14:42:09,559: WARNING/Worker-2] ValidationError: Record 1399215: ('E', 'E') is not of type u'string'\r\n\r\nFailed validating u'type' in schema[u'properties'][u'hidden_notes'][u'items'][u'properties'][u'value']:\r\n    {u'type': u'string'}\r\n\r\nOn instance[u'hidden_notes'][2][u'value']:\r\n    ('E', 'E')\r\n```\r\n\r\n- [ ] Outdated Enumeration in abstracts.source (maybe we can skip the enumeration?) It also fails on 'desy' and 'cern'.  @kaplun \r\n\r\n```\r\n2016-03-08 14:42:09,818: WARNING/Worker-2] ValidationError: Record 1243363: 'Czech Technical University in Prague' is not one of [u'arXiv', u'AIP', u'APS', u'Annual Reviews', u'Astronomical Society of the Pacific', u'Author', u'Bulgarian Academy of Sciences', u'CERN', u'CERN/SLAC', u'Cambridge University Press', u'Canadian Center of Science and Education', u'DESY', u'DESY/SLAC', u'EDP Sciences', u'ELSEVIER', u'Education and Upbringing', u'Elsevier', u'European Astronomical Society', u'HEPDATA', u'HINDAWI', u'IEEE', u'INDICO', u'INSPIRE', u'IOP', u'IOS Press', u'IPAP', u'Indian National Science Academy', u'International Press', u'International Society for Optics and Photonics', u'Internet Academy', u'JACoW', u'Kharkov Institute of Physics and Technology', u'MDPI', u'MPI Grav. Phys., Potsdam', u'NRC Research Press', u'National Academy of Sciences of Armenia', u'Niscair', u'Oxford Journals', u'Oxford University Press', u'Physical Society of Japan', u'Polish Physical Society', u'Publisher', u'Royal Society', u'SIGMA', u'Springer', u'Tomsk State Pedagogical University', u'T\\xdcB\\u0130TAK', u'WILEY', u'WS', u'WSP', u'World Scientific']\r\n\r\nFailed validating u'enum' in schema[u'properties'][u'abstracts'][u'items'][u'properties'][u'source']:\r\n```\r\n\r\n- [ ] oai_pmh.previous_set as array\r\n\r\n```\r\n[2016-03-09 11:25:49,095: WARNING/Worker-4] ValidationError: Record 19325: ('CERN', 'INSPIRE:HEP') is not of type u'string'\r\n\r\nFailed validating u'type' in schema[u'properties'][u'oai_pmh'][u'items'][u'properties'][u'previous_set']:\r\n    {u'type': u'string'}\r\n\r\nOn instance[u'oai_pmh'][0][u'previous_set']:\r\n    ('CERN', 'INSPIRE:HEP')\r\n```\r\n\r\n- [ ] references.editors as array\r\n\r\n```\r\n[2016-03-08 11:41:56,396: WARNING/Worker-1] ValidationError: Record 1280730: ('O. Sawada', 'S. Sugamoto') is not of type u'string'\r\n\r\nFailed validating u'type' in schema[u'properties'][u'references'][u'items'][u'properties'][u'editors']:\r\n    {u'type': u'string'}\r\n\r\nOn instance[u'references'][30][u'editors']:\r\n    ('O. Sawada', 'S. Sugamoto')\r\n```\r\n\r\n- [ ] non uniqueitems in name_variants\r\n\r\n```\r\n[2016-03-10 02:49:02,683: WARNING/Worker-11] ValidationError: Record 902825: [{'source': 'DESY_AFF', 'value': ('GOTHENBURG CHALMERS UNIV',)}, {'source': 'DESY_AFF', 'value': ('GOETEBORG TECH UNIV',)}, {'source': 'DESY_AFF', 'value': ('GOETEBORG CHALMERS UNIV TECHNOL',)}, {'source': 'DESY_AFF', 'value': ('GOETEBORG CHALMERS UNIV TECHNOL',)}, {'source': 'DESY', 'value': ('Goeteborg Chalmers U. Technol.',)}] has non-unique elements\r\n\r\nFailed validating u'uniqueItems' in schema[u'properties'][u'name_variants']:\r\n    {u'items': {u'properties': {u'source': {u'description': u'FIXME: Do we really care about the source?',\r\n                                            u'enum': [u'DESY',\r\n                                                      u'DESY_AFF',\r\n                                                      u'ADS'],\r\n                                            u'title': u'Name variant source',\r\n                                            u'type': u'string'},\r\n                                u'value': {u'title': u'Name variant',\r\n                                           u'type': u'array'}},\r\n                u'title': u'Name variant',\r\n                u'type': u'object'},\r\n     u'title': u'Name variants',\r\n     u'type': u'array',\r\n     u'uniqueItems': True}\r\n\r\nOn instance[u'name_variants']:\r\n    [{'source': 'DESY_AFF', 'value': ('GOTHENBURG CHALMERS UNIV',)},\r\n     {'source': 'DESY_AFF', 'value': ('GOETEBORG TECH UNIV',)},\r\n     {'source': 'DESY_AFF', 'value': ('GOETEBORG CHALMERS UNIV TECHNOL',)},\r\n     {'source': 'DESY_AFF', 'value': ('GOETEBORG CHALMERS UNIV TECHNOL',)},\r\n     {'source': 'DESY', 'value': ('Goeteborg Chalmers U. Technol.',)}]\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/inspirehep/inspire-next/issues/comments/226236326","html_url":"https://github.com/inspirehep/inspire-next/issues/979#issuecomment-226236326","issue_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/979","id":226236326,"user":{"login":"jalavik","id":633680,"avatar_url":"https://avatars.githubusercontent.com/u/633680?v=3","gravatar_id":"","url":"https://api.github.com/users/jalavik","html_url":"https://github.com/jalavik","followers_url":"https://api.github.com/users/jalavik/followers","following_url":"https://api.github.com/users/jalavik/following{/other_user}","gists_url":"https://api.github.com/users/jalavik/gists{/gist_id}","starred_url":"https://api.github.com/users/jalavik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalavik/subscriptions","organizations_url":"https://api.github.com/users/jalavik/orgs","repos_url":"https://api.github.com/users/jalavik/repos","events_url":"https://api.github.com/users/jalavik/events{/privacy}","received_events_url":"https://api.github.com/users/jalavik/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T16:06:38Z","updated_at":"2016-06-15T16:06:38Z","body":"Superseded by #1206"}}
{"actor":{"display_login":"jalavik"}}