{"action":"created","issue":{"url":"https://api.github.com/repos/inverse-inc/packetfence/issues/1925","repository_url":"https://api.github.com/repos/inverse-inc/packetfence","labels_url":"https://api.github.com/repos/inverse-inc/packetfence/issues/1925/labels{/name}","comments_url":"https://api.github.com/repos/inverse-inc/packetfence/issues/1925/comments","events_url":"https://api.github.com/repos/inverse-inc/packetfence/issues/1925/events","html_url":"https://github.com/inverse-inc/packetfence/issues/1925","id":196934764,"number":1925,"title":"Admin: Issue with authentication source wasn't found","user":{"login":"julsemaan","id":3857942,"avatar_url":"https://avatars.githubusercontent.com/u/3857942?v=3","gravatar_id":"","url":"https://api.github.com/users/julsemaan","html_url":"https://github.com/julsemaan","followers_url":"https://api.github.com/users/julsemaan/followers","following_url":"https://api.github.com/users/julsemaan/following{/other_user}","gists_url":"https://api.github.com/users/julsemaan/gists{/gist_id}","starred_url":"https://api.github.com/users/julsemaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julsemaan/subscriptions","organizations_url":"https://api.github.com/users/julsemaan/orgs","repos_url":"https://api.github.com/users/julsemaan/repos","events_url":"https://api.github.com/users/julsemaan/events{/privacy}","received_events_url":"https://api.github.com/users/julsemaan/received_events","type":"User","site_admin":false},"labels":[{"id":586476,"url":"https://api.github.com/repos/inverse-inc/packetfence/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"jrouzierinverse","id":2727473,"avatar_url":"https://avatars.githubusercontent.com/u/2727473?v=3","gravatar_id":"","url":"https://api.github.com/users/jrouzierinverse","html_url":"https://github.com/jrouzierinverse","followers_url":"https://api.github.com/users/jrouzierinverse/followers","following_url":"https://api.github.com/users/jrouzierinverse/following{/other_user}","gists_url":"https://api.github.com/users/jrouzierinverse/gists{/gist_id}","starred_url":"https://api.github.com/users/jrouzierinverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrouzierinverse/subscriptions","organizations_url":"https://api.github.com/users/jrouzierinverse/orgs","repos_url":"https://api.github.com/users/jrouzierinverse/repos","events_url":"https://api.github.com/users/jrouzierinverse/events{/privacy}","received_events_url":"https://api.github.com/users/jrouzierinverse/received_events","type":"User","site_admin":false},"assignees":[{"login":"jrouzierinverse","id":2727473,"avatar_url":"https://avatars.githubusercontent.com/u/2727473?v=3","gravatar_id":"","url":"https://api.github.com/users/jrouzierinverse","html_url":"https://github.com/jrouzierinverse","followers_url":"https://api.github.com/users/jrouzierinverse/followers","following_url":"https://api.github.com/users/jrouzierinverse/following{/other_user}","gists_url":"https://api.github.com/users/jrouzierinverse/gists{/gist_id}","starred_url":"https://api.github.com/users/jrouzierinverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrouzierinverse/subscriptions","organizations_url":"https://api.github.com/users/jrouzierinverse/orgs","repos_url":"https://api.github.com/users/jrouzierinverse/repos","events_url":"https://api.github.com/users/jrouzierinverse/events{/privacy}","received_events_url":"https://api.github.com/users/jrouzierinverse/received_events","type":"User","site_admin":false},{"login":"julsemaan","id":3857942,"avatar_url":"https://avatars.githubusercontent.com/u/3857942?v=3","gravatar_id":"","url":"https://api.github.com/users/julsemaan","html_url":"https://github.com/julsemaan","followers_url":"https://api.github.com/users/julsemaan/followers","following_url":"https://api.github.com/users/julsemaan/following{/other_user}","gists_url":"https://api.github.com/users/julsemaan/gists{/gist_id}","starred_url":"https://api.github.com/users/julsemaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julsemaan/subscriptions","organizations_url":"https://api.github.com/users/julsemaan/orgs","repos_url":"https://api.github.com/users/julsemaan/repos","events_url":"https://api.github.com/users/julsemaan/events{/privacy}","received_events_url":"https://api.github.com/users/julsemaan/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/inverse-inc/packetfence/milestones/22","html_url":"https://github.com/inverse-inc/packetfence/milestone/22","labels_url":"https://api.github.com/repos/inverse-inc/packetfence/milestones/22/labels","id":2106823,"number":22,"title":"PacketFence-6.5","description":"","creator":{"login":"extrafu","id":1616141,"avatar_url":"https://avatars.githubusercontent.com/u/1616141?v=3","gravatar_id":"","url":"https://api.github.com/users/extrafu","html_url":"https://github.com/extrafu","followers_url":"https://api.github.com/users/extrafu/followers","following_url":"https://api.github.com/users/extrafu/following{/other_user}","gists_url":"https://api.github.com/users/extrafu/gists{/gist_id}","starred_url":"https://api.github.com/users/extrafu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/extrafu/subscriptions","organizations_url":"https://api.github.com/users/extrafu/orgs","repos_url":"https://api.github.com/users/extrafu/repos","events_url":"https://api.github.com/users/extrafu/events{/privacy}","received_events_url":"https://api.github.com/users/extrafu/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":53,"state":"open","created_at":"2016-11-01T12:57:10Z","updated_at":"2017-01-20T20:09:46Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-12-21T13:37:40Z","updated_at":"2017-01-23T14:50:44Z","closed_at":null,"body":"When modifying an authentication source rule, if when you save the rule and the validation doesn't pass, then all the future attempts to save will fail.\r\n\r\nThen after this, I'll get an occasional 'The authentication source wasn't found' when continuing to edit the sources\r\n\r\nSteps to replicate:\r\n- Clear cache 'bin/pfcmd cache configfiles clear' and restart admin\r\n- Go in Configuration->Sources\r\n- Edit the sms source\r\n- Edit the catchall rule\r\n- Add 'Role -> default' in the actions so there is a double role\r\n![image](https://cloud.githubusercontent.com/assets/3857942/21391221/b656edb6-c758-11e6-9fe4-7e51c4a161d5.png)\r\n\r\n- Try to save the rule, it will say 'You can't have more than one action of the same type.'\r\n- Remove the double role action and save again and it will say 'The authentication source wasn't found'\r\n- Navigate the authentication sources and get an occasional 'The authentication source wasn't found'\r\n\r\nLogs in trace starting from the save of the catchall rule:\r\nhttp://pastebin.com/RYEjnPfH\r\n\r\nCatalyst log starting from the save of the catchall rule:\r\nhttp://pastebin.com/nhBp2CnS\r\n\r\nThis seems to be happening consistently on my setup since pf::config::cached was removed\r\n\r\nThis is using the latest devel (1af8c141f8905539bfca14ed8f4ba954be59d7fa)"},"comment":{"url":"https://api.github.com/repos/inverse-inc/packetfence/issues/comments/274507417","html_url":"https://github.com/inverse-inc/packetfence/issues/1925#issuecomment-274507417","issue_url":"https://api.github.com/repos/inverse-inc/packetfence/issues/1925","id":274507417,"user":{"login":"julsemaan","id":3857942,"avatar_url":"https://avatars.githubusercontent.com/u/3857942?v=3","gravatar_id":"","url":"https://api.github.com/users/julsemaan","html_url":"https://github.com/julsemaan","followers_url":"https://api.github.com/users/julsemaan/followers","following_url":"https://api.github.com/users/julsemaan/following{/other_user}","gists_url":"https://api.github.com/users/julsemaan/gists{/gist_id}","starred_url":"https://api.github.com/users/julsemaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julsemaan/subscriptions","organizations_url":"https://api.github.com/users/julsemaan/orgs","repos_url":"https://api.github.com/users/julsemaan/repos","events_url":"https://api.github.com/users/julsemaan/events{/privacy}","received_events_url":"https://api.github.com/users/julsemaan/received_events","type":"User","site_admin":false},"created_at":"2017-01-23T14:50:44Z","updated_at":"2017-01-23T14:50:44Z","body":"@jrouzierinverse \r\n\r\nAnything else required for fixing that from me ?\r\n\r\nThis is a release stopper and a pain to test all cases so it would be nice if we could have the fix ASAP"}}
{"actor":{"display_login":"julsemaan"}}