{"action":"created","issue":{"url":"https://api.github.com/repos/advocacycommons/advocacycommons/issues/193","repository_url":"https://api.github.com/repos/advocacycommons/advocacycommons","labels_url":"https://api.github.com/repos/advocacycommons/advocacycommons/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/advocacycommons/advocacycommons/issues/193/comments","events_url":"https://api.github.com/repos/advocacycommons/advocacycommons/issues/193/events","html_url":"https://github.com/advocacycommons/advocacycommons/issues/193","id":230781420,"number":193,"title":"Not all AN attendees are synced to Affinity","user":{"login":"harpojaeger","id":4314013,"avatar_url":"https://avatars1.githubusercontent.com/u/4314013?v=3","gravatar_id":"","url":"https://api.github.com/users/harpojaeger","html_url":"https://github.com/harpojaeger","followers_url":"https://api.github.com/users/harpojaeger/followers","following_url":"https://api.github.com/users/harpojaeger/following{/other_user}","gists_url":"https://api.github.com/users/harpojaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/harpojaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harpojaeger/subscriptions","organizations_url":"https://api.github.com/users/harpojaeger/orgs","repos_url":"https://api.github.com/users/harpojaeger/repos","events_url":"https://api.github.com/users/harpojaeger/events{/privacy}","received_events_url":"https://api.github.com/users/harpojaeger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-23T17:10:46Z","updated_at":"2017-05-23T17:11:36Z","closed_at":null,"body":"This is for http://dev.advocacycommons.org/events/4/attendances.  The AN event has 27 RSVPs, but only 16 appear in Affinity.  Previously, http://dev.advocacycommons.org/events/5/attendances had the same problem, but after running the sync task it 'caught up' to AN."},"comment":{"url":"https://api.github.com/repos/advocacycommons/advocacycommons/issues/comments/303469481","html_url":"https://github.com/advocacycommons/advocacycommons/issues/193#issuecomment-303469481","issue_url":"https://api.github.com/repos/advocacycommons/advocacycommons/issues/193","id":303469481,"user":{"login":"harpojaeger","id":4314013,"avatar_url":"https://avatars1.githubusercontent.com/u/4314013?v=3","gravatar_id":"","url":"https://api.github.com/users/harpojaeger","html_url":"https://github.com/harpojaeger","followers_url":"https://api.github.com/users/harpojaeger/followers","following_url":"https://api.github.com/users/harpojaeger/following{/other_user}","gists_url":"https://api.github.com/users/harpojaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/harpojaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harpojaeger/subscriptions","organizations_url":"https://api.github.com/users/harpojaeger/orgs","repos_url":"https://api.github.com/users/harpojaeger/repos","events_url":"https://api.github.com/users/harpojaeger/events{/privacy}","received_events_url":"https://api.github.com/users/harpojaeger/received_events","type":"User","site_admin":false},"created_at":"2017-05-23T17:11:36Z","updated_at":"2017-05-23T17:11:36Z","body":"Output of `heroku run rake action_network_syncer:sync_groups --app dev-advocacycommons`:\r\n`Running rake action_network_syncer:sync_groups on ⬢ dev-advocacycommons... up, run.2213 (Hobby)\r\nD, [2017-05-23T17:11:15.290599 #4] DEBUG -- :   Group Load (2.3ms)  SELECT  \"groups\".* FROM \"groups\" ORDER BY \"groups\".\"id\" ASC LIMIT $1  [[\"LIMIT\", 1000]]\r\nD, [2017-05-23T17:11:15.329233 #4] DEBUG -- :    (1.6ms)  BEGIN\r\nI, [2017-05-23T17:11:15.337640 #4]  INFO -- : Api::ActionNetwork::Events#import! from https://actionnetwork.org/api/v2/events?filter=modified_date%20gt%20%272017-05-23T17:02:02Z%27\r\nD, [2017-05-23T17:11:15.829973 #4] DEBUG -- : Module#import! resources: 1 page: 1\r\nD, [2017-05-23T17:11:15.837406 #4] DEBUG -- :   Event Exists (2.0ms)  SELECT  1 AS one FROM \"events\" WHERE ('action_network:ba3f2670-daa8-4b77-8924-130c4e351466' = any (identifiers)) LIMIT $1  [[\"LIMIT\", 1]]\r\nD, [2017-05-23T17:11:15.841139 #4] DEBUG -- :   Event Load (1.7ms)  SELECT  \"events\".* FROM \"events\" WHERE ('action_network:ba3f2670-daa8-4b77-8924-130c4e351466' = any (identifiers)) AND (updated_at < '2017-05-23 17:06:22') ORDER BY \"events\".\"id\" ASC LIMIT $1  [[\"LIMIT\", 1]]\r\nD, [2017-05-23T17:11:15.847109 #4] DEBUG -- :   SQL (1.5ms)  UPDATE \"events\" SET \"updated_at\" = $1 WHERE \"events\".\"id\" = $2  [[\"updated_at\", 2017-05-23 17:06:22 UTC], [\"id\", 4]]\r\nD, [2017-05-23T17:11:15.847585 #4] DEBUG -- : Api::ActionNetwork::Events#import! new: 0 existing: 8 updated: 1\r\nI, [2017-05-23T17:11:15.848643 #4]  INFO -- : Api::ActionNetwork::People#import! from https://actionnetwork.org/api/v2/people?filter=modified_date%20gt%20%272017-05-23T17:02:02Z%27\r\nD, [2017-05-23T17:11:15.924142 #4] DEBUG -- : Module#import! resources: 0 page: 1\r\nD, [2017-05-23T17:11:15.924284 #4] DEBUG -- : Api::ActionNetwork::People#import! new: 0 existing: 8 updated: 0\r\nD, [2017-05-23T17:11:15.956056 #4] DEBUG -- :   Event Load (2.0ms)  SELECT \"events\".* FROM \"events\" INNER JOIN \"events_groups\" ON \"events\".\"id\" = \"events_groups\".\"event_id\" WHERE \"events_groups\".\"group_id\" = $1  [[\"group_id\", 1]]\r\nI, [2017-05-23T17:11:15.958953 #4]  INFO -- : Api::ActionNetwork::Attendances#import! from https://actionnetwork.org/api/v2/events/6748147d-b31a-4792-a64f-3dcbdc0e42f7/attendances?filter=modified_date%20gt%20%272017-05-23T17:02:02Z%27\r\nD, [2017-05-23T17:11:16.287808 #4] DEBUG -- : Module#import! resources: 0 page: 1\r\nD, [2017-05-23T17:11:16.287976 #4] DEBUG -- : Api::ActionNetwork::Attendances#import! new: 0 existing: 8 updated: 0\r\nI, [2017-05-23T17:11:16.288271 #4]  INFO -- : Api::ActionNetwork::Attendances#import! from https://actionnetwork.org/api/v2/events/184da52d-3bdf-4fc1-839c-8161ac36a77f/attendances?filter=modified_date%20gt%20%272017-05-23T17:02:02Z%27\r\nD, [2017-05-23T17:11:16.375585 #4] DEBUG -- : Module#import! resources: 0 page: 1\r\nD, [2017-05-23T17:11:16.376366 #4] DEBUG -- : Api::ActionNetwork::Attendances#import! new: 0 existing: 8 updated: 0\r\nI, [2017-05-23T17:11:16.376684 #4]  INFO -- : Api::ActionNetwork::Attendances#import! from https://actionnetwork.org/api/v2/events/5fb2170f-9e79-429b-a81f-3d6d08001d50/attendances?filter=modified_date%20gt%20%272017-05-23T17:02:02Z%27\r\nD, [2017-05-23T17:11:16.807909 #4] DEBUG -- : Module#import! resources: 0 page: 1\r\nD, [2017-05-23T17:11:16.808073 #4] DEBUG -- : Api::ActionNetwork::Attendances#import! new: 0 existing: 8 updated: 0\r\nI, [2017-05-23T17:11:16.808340 #4]  INFO -- : Api::ActionNetwork::Attendances#import! from https://actionnetwork.org/api/v2/events/ba3f2670-daa8-4b77-8924-130c4e351466/attendances?filter=modified_date%20gt%20%272017-05-23T17:02:02Z%27\r\nD, [2017-05-23T17:11:17.004316 #4] DEBUG -- : Module#import! resources: 0 page: 1\r\nD, [2017-05-23T17:11:17.004474 #4] DEBUG -- : Api::ActionNetwork::Attendances#import! new: 0 existing: 8 updated: 0\r\nI, [2017-05-23T17:11:17.004769 #4]  INFO -- : Api::ActionNetwork::Attendances#import! from https://actionnetwork.org/api/v2/events/e8ada11b-7294-4f8f-bb98-685eeb9e34e9/attendances?filter=modified_date%20gt%20%272017-05-23T17:02:02Z%27\r\nD, [2017-05-23T17:11:17.098333 #4] DEBUG -- : Module#import! resources: 0 page: 1\r\nD, [2017-05-23T17:11:17.098729 #4] DEBUG -- : Api::ActionNetwork::Attendances#import! new: 0 existing: 8 updated: 0\r\nI, [2017-05-23T17:11:17.099055 #4]  INFO -- : Api::ActionNetwork::Attendances#import! from https://actionnetwork.org/api/v2/events/9e54d75e-242b-4b79-b606-822f56517dfa/attendances?filter=modified_date%20gt%20%272017-05-23T17:02:02Z%27\r\nD, [2017-05-23T17:11:17.163269 #4] DEBUG -- : Module#import! resources: 0 page: 1\r\nD, [2017-05-23T17:11:17.163391 #4] DEBUG -- : Api::ActionNetwork::Attendances#import! new: 0 existing: 8 updated: 0\r\nI, [2017-05-23T17:11:17.163583 #4]  INFO -- : Api::ActionNetwork::Attendances#import! from https://actionnetwork.org/api/v2/events/f2e96c2a-10f0-4b25-92ac-884577efcea9/attendances?filter=modified_date%20gt%20%272017-05-23T17:02:02Z%27\r\nD, [2017-05-23T17:11:17.402569 #4] DEBUG -- : Module#import! resources: 0 page: 1\r\nD, [2017-05-23T17:11:17.403327 #4] DEBUG -- : Api::ActionNetwork::Attendances#import! new: 0 existing: 8 updated: 0\r\nI, [2017-05-23T17:11:17.403653 #4]  INFO -- : Api::ActionNetwork::Attendances#import! from https://actionnetwork.org/api/v2/events/08d74f0c-3e2d-434b-b54b-19ba1e6b4781/attendances?filter=modified_date%20gt%20%272017-05-23T17:02:02Z%27\r\nD, [2017-05-23T17:11:17.660019 #4] DEBUG -- : Module#import! resources: 0 page: 1\r\nD, [2017-05-23T17:11:17.660179 #4] DEBUG -- : Api::ActionNetwork::Attendances#import! new: 0 existing: 8 updated: 0\r\nI, [2017-05-23T17:11:17.660463 #4]  INFO -- : Api::ActionNetwork::Attendances#import! from https://actionnetwork.org/api/v2/events/4ae15e53-194c-4206-b8a1-f0864f7bfc0f/attendances?filter=modified_date%20gt%20%272017-05-23T17:02:02Z%27\r\nD, [2017-05-23T17:11:17.918181 #4] DEBUG -- : Module#import! resources: 0 page: 1\r\nD, [2017-05-23T17:11:17.918332 #4] DEBUG -- : Api::ActionNetwork::Attendances#import! new: 0 existing: 8 updated: 0\r\nI, [2017-05-23T17:11:17.918600 #4]  INFO -- : Api::ActionNetwork::Attendances#import! from https://actionnetwork.org/api/v2/events/2ed95909-3a69-47a0-a3a6-877d0a07c829/attendances?filter=modified_date%20gt%20%272017-05-23T17:02:02Z%27\r\nD, [2017-05-23T17:11:18.201589 #4] DEBUG -- : Module#import! resources: 0 page: 1\r\nD, [2017-05-23T17:11:18.201845 #4] DEBUG -- : Api::ActionNetwork::Attendances#import! new: 0 existing: 8 updated: 0\r\nD, [2017-05-23T17:11:18.207997 #4] DEBUG -- :   SQL (1.8ms)  UPDATE \"groups\" SET \"synced_at\" = $1, \"updated_at\" = $2 WHERE \"groups\".\"id\" = $3  [[\"synced_at\", 2017-05-23 17:11:15 UTC], [\"updated_at\", 2017-05-23 17:11:18 UTC], [\"id\", 1]]\r\nD, [2017-05-23T17:11:18.211368 #4] DEBUG -- :    (2.4ms)  COMMIT\r\nD, [2017-05-23T17:11:18.211558 #4] DEBUG -- : ### IMPORT FINISHED ###`"}}
{"actor":{"display_login":"harpojaeger"}}