{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/798","labels_url":"https://api.github.com/repos/mautic/mautic/issues/798/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/798/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/798/events","html_url":"https://github.com/mautic/mautic/pull/798","id":101696608,"number":798,"title":"Lead tags","user":{"login":"alanhartless","id":63312,"avatar_url":"https://avatars.githubusercontent.com/u/63312?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhartless","html_url":"https://github.com/alanhartless","followers_url":"https://api.github.com/users/alanhartless/followers","following_url":"https://api.github.com/users/alanhartless/following{/other_user}","gists_url":"https://api.github.com/users/alanhartless/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhartless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhartless/subscriptions","organizations_url":"https://api.github.com/users/alanhartless/orgs","repos_url":"https://api.github.com/users/alanhartless/repos","events_url":"https://api.github.com/users/alanhartless/events{/privacy}","received_events_url":"https://api.github.com/users/alanhartless/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mautic/mautic/labels/Feature%20Request","name":"Feature Request","color":"207de5"},{"url":"https://api.github.com/repos/mautic/mautic/labels/Ready%20To%20Test","name":"Ready To Test","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mautic/mautic/milestones/6","html_url":"https://github.com/mautic/mautic/milestones/1.1.4","labels_url":"https://api.github.com/repos/mautic/mautic/milestones/6/labels","id":1213199,"number":6,"title":"1.1.4","description":"","creator":{"login":"alanhartless","id":63312,"avatar_url":"https://avatars.githubusercontent.com/u/63312?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhartless","html_url":"https://github.com/alanhartless","followers_url":"https://api.github.com/users/alanhartless/followers","following_url":"https://api.github.com/users/alanhartless/following{/other_user}","gists_url":"https://api.github.com/users/alanhartless/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhartless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhartless/subscriptions","organizations_url":"https://api.github.com/users/alanhartless/orgs","repos_url":"https://api.github.com/users/alanhartless/repos","events_url":"https://api.github.com/users/alanhartless/events{/privacy}","received_events_url":"https://api.github.com/users/alanhartless/received_events","type":"User","site_admin":false},"open_issues":64,"closed_issues":9,"state":"open","created_at":"2015-07-17T16:17:11Z","updated_at":"2015-08-19T08:58:04Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-08-18T16:36:06Z","updated_at":"2015-08-20T08:12:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mautic/mautic/pulls/798","html_url":"https://github.com/mautic/mautic/pull/798","diff_url":"https://github.com/mautic/mautic/pull/798.diff","patch_url":"https://github.com/mautic/mautic/pull/798.patch"},"body":"**Description**\r\nThis adds tagging to leads.\r\n\r\n1) Manually tag/untag through lead profile page\r\n2) Tag through API lead endpoints by using tags=tag1,tag2,-tag3 (use - to remove the tag)\r\n3) Tag through tracking pixel by appending tags=tag1,tag2,-tag3 (use - to remove the tag)\r\n4) Tag through campaign action, form submit action, point trigger action\r\n5) Search for leads by tag by using tag:TAG annotation\r\n6) Tag on import\r\n\r\n**Testing**\r\nAfter applying the PR, clear cache and update doctrine schema to install new tables.\r\n\r\nTest above feature list."},"comment":{"url":"https://api.github.com/repos/mautic/mautic/issues/comments/132928081","html_url":"https://github.com/mautic/mautic/pull/798#issuecomment-132928081","issue_url":"https://api.github.com/repos/mautic/mautic/issues/798","id":132928081,"user":{"login":"escopecz","id":1235442,"avatar_url":"https://avatars.githubusercontent.com/u/1235442?v=3","gravatar_id":"","url":"https://api.github.com/users/escopecz","html_url":"https://github.com/escopecz","followers_url":"https://api.github.com/users/escopecz/followers","following_url":"https://api.github.com/users/escopecz/following{/other_user}","gists_url":"https://api.github.com/users/escopecz/gists{/gist_id}","starred_url":"https://api.github.com/users/escopecz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escopecz/subscriptions","organizations_url":"https://api.github.com/users/escopecz/orgs","repos_url":"https://api.github.com/users/escopecz/repos","events_url":"https://api.github.com/users/escopecz/events{/privacy}","received_events_url":"https://api.github.com/users/escopecz/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T08:12:27Z","updated_at":"2015-08-20T08:12:27Z","body":"Update of test:\r\n1) Works\r\n2) There is the problem that new lead cannot be created via API. Or is it problem on my local?\r\n3) Works\r\n4) Form works now. But there is this error on triggering the campaign:\r\n```\r\nphp app/console mautic:campaign:trigger\r\nTriggering events for campaign 25\r\nTriggering first level events\r\n1 total events(s) to be processed in batches of 100\r\n 0/1 [>---------------------------]   0%PHP Catchable fatal error:  Argument 1 passed to Mautic\\LeadBundle\\Helper\\EventHelper::updateTags() must be an instance of Mautic\\LeadBundle\\Helper\\Lead, instance of Mautic\\LeadBundle\\Entity\\Lead given in app/bundles/LeadBundle/Helper/EventHelper.php on line 21\r\n```\r\n5) Works\r\n6) Works"}}