{"action":"created","issue":{"url":"https://api.github.com/repos/ball-hayden/Collaborate/issues/2","repository_url":"https://api.github.com/repos/ball-hayden/Collaborate","labels_url":"https://api.github.com/repos/ball-hayden/Collaborate/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ball-hayden/Collaborate/issues/2/comments","events_url":"https://api.github.com/repos/ball-hayden/Collaborate/issues/2/events","html_url":"https://github.com/ball-hayden/Collaborate/issues/2","id":180549324,"number":2,"title":"Both operations have to have the same base length","user":{"login":"Pasta","id":127458,"avatar_url":"https://avatars.githubusercontent.com/u/127458?v=3","gravatar_id":"","url":"https://api.github.com/users/Pasta","html_url":"https://github.com/Pasta","followers_url":"https://api.github.com/users/Pasta/followers","following_url":"https://api.github.com/users/Pasta/following{/other_user}","gists_url":"https://api.github.com/users/Pasta/gists{/gist_id}","starred_url":"https://api.github.com/users/Pasta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pasta/subscriptions","organizations_url":"https://api.github.com/users/Pasta/orgs","repos_url":"https://api.github.com/users/Pasta/repos","events_url":"https://api.github.com/users/Pasta/events{/privacy}","received_events_url":"https://api.github.com/users/Pasta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-03T01:36:55Z","updated_at":"2016-10-04T17:33:47Z","closed_at":null,"body":"Hello there,\r\n\r\nI followed the simple steps of the README (perfect BTW), but I keep getting this error when I reload a page containing a collaborative attribute.\r\n\r\nBasically, the first time I load the page, it just streams the data correctly. As soon as I reload the page, it stops working and I have this error:\r\n\r\nCould not execute command from {\"command\"=>\"message\", \"identifier\"=>\"{\\\"channel\\\":\\\"DocumentChannel\\\",\\\"documentId\\\":\\\"2\\\"}\", \"data\"=>\"{\\\"operation\\\":[78,\\\"\\\\n\\\"],\\\"attribute\\\":\\\"agenda\\\",\\\"version\\\":1,\\\"client_id\\\":\\\"cd71aa7f-dabf-4314-86da-849e8c6e28cd\\\",\\\"document_id\\\":\\\"2\\\",\\\"action\\\":\\\"operation\\\"}\"}) [RuntimeError - Both operations have to have the same base length]: /bundle/gems/ot-0.1.1/lib/ot/text_operation.rb:446:in `transform' | /bundle/bundler/gems/Collaborate-d0e0d485259a/lib/collaborate/document_attribute.rb:82:in `block in transform_old_operation' | /bundle/bundler/gems/Collaborate-d0e0d485259a/lib/collaborate/document_attribute.rb:81:in `each' | /bundle/bundler/gems/Collaborate-d0e0d485259a/lib/collaborate/document_attribute.rb:81:in `transform_old_operation' | /bundle/bundler/gems/Collaborate-d0e0d485259a/lib/collaborate/document_attribute.rb:17:in `apply_operation'\r\n\r\nWondering if it happened to you before or if there is something I forgot to setup?\r\n\r\nBests,"},"comment":{"url":"https://api.github.com/repos/ball-hayden/Collaborate/issues/comments/251457117","html_url":"https://github.com/ball-hayden/Collaborate/issues/2#issuecomment-251457117","issue_url":"https://api.github.com/repos/ball-hayden/Collaborate/issues/2","id":251457117,"user":{"login":"ball-hayden","id":1596233,"avatar_url":"https://avatars.githubusercontent.com/u/1596233?v=3","gravatar_id":"","url":"https://api.github.com/users/ball-hayden","html_url":"https://github.com/ball-hayden","followers_url":"https://api.github.com/users/ball-hayden/followers","following_url":"https://api.github.com/users/ball-hayden/following{/other_user}","gists_url":"https://api.github.com/users/ball-hayden/gists{/gist_id}","starred_url":"https://api.github.com/users/ball-hayden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ball-hayden/subscriptions","organizations_url":"https://api.github.com/users/ball-hayden/orgs","repos_url":"https://api.github.com/users/ball-hayden/repos","events_url":"https://api.github.com/users/ball-hayden/events{/privacy}","received_events_url":"https://api.github.com/users/ball-hayden/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T17:33:47Z","updated_at":"2016-10-04T17:33:47Z","body":"Yeah. \r\nWhen `Collaborate.Cable` is connected, it should be performing `document`, which in turn should be sending over all the attributes (received [here](https://github.com/ball-hayden/Collaborate/blob/master/app/assets/javascripts/collaborate/cable.coffee#L52))"}}
{"actor":{"display_login":"ball-hayden"}}