{"action":"created","issue":{"url":"https://api.github.com/repos/zikula/core/issues/2942","repository_url":"https://api.github.com/repos/zikula/core","labels_url":"https://api.github.com/repos/zikula/core/issues/2942/labels{/name}","comments_url":"https://api.github.com/repos/zikula/core/issues/2942/comments","events_url":"https://api.github.com/repos/zikula/core/issues/2942/events","html_url":"https://github.com/zikula/core/issues/2942","id":166621698,"number":2942,"title":"Wired problem with username validation \"The user name you entered is reserved. It cannot be used.\"","user":{"login":"Kaik","id":966910,"avatar_url":"https://avatars.githubusercontent.com/u/966910?v=3","gravatar_id":"","url":"https://api.github.com/users/Kaik","html_url":"https://github.com/Kaik","followers_url":"https://api.github.com/users/Kaik/followers","following_url":"https://api.github.com/users/Kaik/following{/other_user}","gists_url":"https://api.github.com/users/Kaik/gists{/gist_id}","starred_url":"https://api.github.com/users/Kaik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kaik/subscriptions","organizations_url":"https://api.github.com/users/Kaik/orgs","repos_url":"https://api.github.com/users/Kaik/repos","events_url":"https://api.github.com/users/Kaik/events{/privacy}","received_events_url":"https://api.github.com/users/Kaik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zikula/core/labels/Not%20core","name":"Not core","color":"444444"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-07-20T16:14:24Z","updated_at":"2016-07-21T12:25:35Z","closed_at":null,"body":"| Q                 | A\r\n| ----------------- | ---\r\n| Zikula Version    | 1.4.3\r\n| PHP Version       | 5.6\r\n\r\nIn ZikulaIntercomModule which I'm refactoring, I have a new message form and there is a recipient field.\r\nhttps://github.com/Kaik/InterCom/blob/master/Form/Type/MessageType.php#L30\r\nWhen I type admin as recipient and press send it shows me this error above that field ``` The user name you entered is reserved. It cannot be used.``` Since I did not implement this kind of validation I have looked in core and it is present here https://github.com/zikula/core/blob/02ec0226f7d18196d2cab099f2ab2b26327b1fdd/src/system/ZAuthModule/Validator/Constraints/ValidUnameValidator.php#L84\r\nand here\r\nhttps://github.com/zikula/core/blob/02ec0226f7d18196d2cab099f2ab2b26327b1fdd/src/system/UsersModule/Validator/Constraints/ValidUnameValidator.php#L84\r\n\r\n### Expected behavior\r\nUsersModule and ZAuth module username validation to work only in those modules.\r\n\r\n### Actual behavior\r\nUsersModule and ZAuth module username validation works globally?\r\n\r\n### Steps to reproduce\r\nInstall master from here https://github.com/Kaik/InterCom and send a message to admin. Of course, admin username needs to be restricted in UsersModule settings\r\n\r\nThis is very wired... @craigh "},"comment":{"url":"https://api.github.com/repos/zikula/core/issues/comments/234238177","html_url":"https://github.com/zikula/core/issues/2942#issuecomment-234238177","issue_url":"https://api.github.com/repos/zikula/core/issues/2942","id":234238177,"user":{"login":"cmfcmf","id":2145092,"avatar_url":"https://avatars.githubusercontent.com/u/2145092?v=3","gravatar_id":"","url":"https://api.github.com/users/cmfcmf","html_url":"https://github.com/cmfcmf","followers_url":"https://api.github.com/users/cmfcmf/followers","following_url":"https://api.github.com/users/cmfcmf/following{/other_user}","gists_url":"https://api.github.com/users/cmfcmf/gists{/gist_id}","starred_url":"https://api.github.com/users/cmfcmf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmfcmf/subscriptions","organizations_url":"https://api.github.com/users/cmfcmf/orgs","repos_url":"https://api.github.com/users/cmfcmf/repos","events_url":"https://api.github.com/users/cmfcmf/events{/privacy}","received_events_url":"https://api.github.com/users/cmfcmf/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T12:25:35Z","updated_at":"2016-07-21T12:25:35Z","body":"> holy smokes. overreact much? take a breath.\r\n\r\nI am tempted to agree with @Kaik though."}}
{"actor":{"display_login":"cmfcmf"}}