{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/addons-server/issues/3518","repository_url":"https://api.github.com/repos/mozilla/addons-server","labels_url":"https://api.github.com/repos/mozilla/addons-server/issues/3518/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/addons-server/issues/3518/comments","events_url":"https://api.github.com/repos/mozilla/addons-server/issues/3518/events","html_url":"https://github.com/mozilla/addons-server/issues/3518","id":177120998,"number":3518,"title":"Blocklists certificates missing in XML and JSON file.","user":{"login":"Natim","id":229453,"avatar_url":"https://avatars.githubusercontent.com/u/229453?v=3","gravatar_id":"","url":"https://api.github.com/users/Natim","html_url":"https://github.com/Natim","followers_url":"https://api.github.com/users/Natim/followers","following_url":"https://api.github.com/users/Natim/following{/other_user}","gists_url":"https://api.github.com/users/Natim/gists{/gist_id}","starred_url":"https://api.github.com/users/Natim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Natim/subscriptions","organizations_url":"https://api.github.com/users/Natim/orgs","repos_url":"https://api.github.com/users/Natim/repos","events_url":"https://api.github.com/users/Natim/events{/privacy}","received_events_url":"https://api.github.com/users/Natim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-15T08:44:10Z","updated_at":"2016-09-15T13:39:32Z","closed_at":null,"body":"### Describe the problem and steps to reproduce it:\r\n\r\nIf you look at both URLs:\r\n\r\n- https://addons.allizom.org/blocklist/3/%7Bec8030f7-c20a-464f-9b0e-13a3a9e97384%7D/46.0/\r\n- https://addons.allizom.org/blocked/blocklists.json\r\n\r\nYou will see that there is a difference:\r\n\r\nYou can find `ESFfLkWTIV5an6YQtSudbzKT` in the XML one and not in the JSON one, the other way around for `CZua`\r\n\r\n```\r\n                 {\r\n-                    \"@issuerName\": \"MEwxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMSIwIAYDVQQDExlBbHBoYVNTTCBDQSAtIFNIQTI1NiAtIEcy\", \r\n-                    \"serialNumber\": \"ESFfLkWTIV5an6YQtSudbzKT\"\r\n+                    \"@issuerName\": \"MEcxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMSAwHgYDVQQDExdSYXBpZFNTTCBTSEEyNTYgQ0EgLSBHMw==\", \r\n+                    \"serialNumber\": \"CZua\"\r\n                 }, \r\n```\r\n\r\n### What happened?\r\n\r\nAt first we thought it was a similar issue as #3405 but for #3405 this is related to having two blocked item with the same add-ons `guid`.\r\n\r\n### What did you expect to happen?\r\n\r\nI know that the block ID for `CZua` is `c1154` however I couldn't find yet the one for `ESFfLkWTIV5an6YQtSudbzKT`\r\n\r\nThis is really a strange behavior, because the view uses directly `issuerCertBlocks = BlocklistIssuerCert.objects.all()` to get all the blocked certificates and both views JSON and XML are using it. I don't see how one could be overridden somewhere.\r\n\r\n### Anything else we should know?\r\n\r\nThis is a major bug for the [synchronization mecanism](https://github.com/mozilla-services/amo2kinto) between AMO and Kinto."},"comment":{"url":"https://api.github.com/repos/mozilla/addons-server/issues/comments/247330496","html_url":"https://github.com/mozilla/addons-server/issues/3518#issuecomment-247330496","issue_url":"https://api.github.com/repos/mozilla/addons-server/issues/3518","id":247330496,"user":{"login":"Natim","id":229453,"avatar_url":"https://avatars.githubusercontent.com/u/229453?v=3","gravatar_id":"","url":"https://api.github.com/users/Natim","html_url":"https://github.com/Natim","followers_url":"https://api.github.com/users/Natim/followers","following_url":"https://api.github.com/users/Natim/following{/other_user}","gists_url":"https://api.github.com/users/Natim/gists{/gist_id}","starred_url":"https://api.github.com/users/Natim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Natim/subscriptions","organizations_url":"https://api.github.com/users/Natim/orgs","repos_url":"https://api.github.com/users/Natim/repos","events_url":"https://api.github.com/users/Natim/events{/privacy}","received_events_url":"https://api.github.com/users/Natim/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T13:39:32Z","updated_at":"2016-09-15T13:39:32Z","body":"I don't have any diff between both version so far. I will close this until I can reproduce the error. Thanks everyone."}}
{"actor":{"display_login":"Natim"}}