{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/9593","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9593/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9593/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9593/events","html_url":"https://github.com/joomla/joomla-cms/issues/9593","id":143535240,"number":9593,"title":"JFormFieldUser broken since 3.5.0","user":{"login":"OctavianC","id":1422378,"avatar_url":"https://avatars.githubusercontent.com/u/1422378?v=3","gravatar_id":"","url":"https://api.github.com/users/OctavianC","html_url":"https://github.com/OctavianC","followers_url":"https://api.github.com/users/OctavianC/followers","following_url":"https://api.github.com/users/OctavianC/following{/other_user}","gists_url":"https://api.github.com/users/OctavianC/gists{/gist_id}","starred_url":"https://api.github.com/users/OctavianC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OctavianC/subscriptions","organizations_url":"https://api.github.com/users/OctavianC/orgs","repos_url":"https://api.github.com/users/OctavianC/repos","events_url":"https://api.github.com/users/OctavianC/events{/privacy}","received_events_url":"https://api.github.com/users/OctavianC/received_events","type":"User","site_admin":false},"labels":[{"id":138443932,"url":"https://api.github.com/repos/joomla/joomla-cms/labels/No%20Code%20Attached%20Yet","name":"No Code Attached Yet","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-03-25T16:27:59Z","updated_at":"2016-11-08T19:04:04Z","closed_at":"2016-03-30T09:20:29Z","body":"#### Steps to reproduce the issue\n\nThere are two ways to reproduce this:\n- Switch to the Hathor template. I know it's out of date and never updated, but it serves this point for now. Go to Content > Articles > Add New Article. Click on the User icon next to the Created By field. The Modal window shows up (it should be based on MooTools). Click on any user in there and nothing happens.\n- I've also noticed that both Protostar and Isis have layout overrides in `/html/layouts/joomla/form/field/user.php`. I do understand that they need overrides to use Bootstrap, but if I remove them I would expect them unstyled but functional. Removing overrides and re-doing the steps above will exhibit the same error.\n#### Expected result\n\nClicking on a user should close the modal window and assign the user to the hidden field.\n#### Actual result\n\nClicking on a user does nothing.\n#### System information (as much as possible)\n\nJoomla! 3.5.0 Stable [ Unicorn ] 21-March-2016 22:00 GMT \n#### Additional comments\n\nSeems to be caused by https://github.com/joomla/joomla-cms/pull/5655\nI've noticed this part https://github.com/joomla/joomla-cms/blob/staging/layouts/joomla/form/field/user.php#L50 that seems strange to me:\n\n``` php\n. ($required ? 1 : 0) . '&amp;field={field-user-id}'\n```\n\nI'm guessing replacing it with:\n\n``` php\n. ($required ? 1 : 0) . '&amp;field=' . htmlspecialchars($id, ENT_COMPAT, 'UTF-8')\n```\n\nWould do the trick. But I'm not sure if I'm missing something.\n"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/259228041","html_url":"https://github.com/joomla/joomla-cms/issues/9593#issuecomment-259228041","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/9593","id":259228041,"user":{"login":"dgt41","id":3889375,"avatar_url":"https://avatars.githubusercontent.com/u/3889375?v=3","gravatar_id":"","url":"https://api.github.com/users/dgt41","html_url":"https://github.com/dgt41","followers_url":"https://api.github.com/users/dgt41/followers","following_url":"https://api.github.com/users/dgt41/following{/other_user}","gists_url":"https://api.github.com/users/dgt41/gists{/gist_id}","starred_url":"https://api.github.com/users/dgt41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgt41/subscriptions","organizations_url":"https://api.github.com/users/dgt41/orgs","repos_url":"https://api.github.com/users/dgt41/repos","events_url":"https://api.github.com/users/dgt41/events{/privacy}","received_events_url":"https://api.github.com/users/dgt41/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T19:04:03Z","updated_at":"2016-11-08T19:04:03Z","body":"@marclight update to 3.6.4"}}
{"actor":{"display_login":"dgt41"}}