{"action":"created","issue":{"url":"https://api.github.com/repos/processwire/processwire-issues/issues/49","repository_url":"https://api.github.com/repos/processwire/processwire-issues","labels_url":"https://api.github.com/repos/processwire/processwire-issues/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/processwire/processwire-issues/issues/49/comments","events_url":"https://api.github.com/repos/processwire/processwire-issues/issues/49/events","html_url":"https://github.com/processwire/processwire-issues/issues/49","id":183201777,"number":49,"title":"Locked pagefield loading all selectable pages","user":{"login":"LostKobrakai","id":2489835,"avatar_url":"https://avatars.githubusercontent.com/u/2489835?v=3","gravatar_id":"","url":"https://api.github.com/users/LostKobrakai","html_url":"https://github.com/LostKobrakai","followers_url":"https://api.github.com/users/LostKobrakai/followers","following_url":"https://api.github.com/users/LostKobrakai/following{/other_user}","gists_url":"https://api.github.com/users/LostKobrakai/gists{/gist_id}","starred_url":"https://api.github.com/users/LostKobrakai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LostKobrakai/subscriptions","organizations_url":"https://api.github.com/users/LostKobrakai/orgs","repos_url":"https://api.github.com/users/LostKobrakai/repos","events_url":"https://api.github.com/users/LostKobrakai/events{/privacy}","received_events_url":"https://api.github.com/users/LostKobrakai/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-15T10:21:44Z","updated_at":"2016-11-01T12:30:22Z","closed_at":"2016-11-01T12:30:22Z","body":"<!--\nIf you want your bug report\n* to be more difficult to process and understand\n* to have many unnecessary follow-up questions\n* to take longer to fix then necessary\ndon’t use this issue template.\n\nIf you want your bug report \n* to be concise and easy to understand\n* to not have any (or very few) follow-up questions\n* to take faster to fix\nuse this issue template. Thank you.\n-->\n### Short description of the issue\n\nA locked pagefield seems to still load all possible pages in the PageEditor, even though only the selected one should be displayed.\n### Expected behavior\n\nShow the selected page without issue.\n### Actual behavior\n\nI've an installation with ~9000 users, which started to time out on editing any registration page. Hiding the page field, where the corresponding user is selected,  from the editing form resolved the issue, while \"Open when populated, …, Locked\" as visibility did initiate the timeout. \n### Steps to reproduce the issue\n\n<!-- Provide an unambiguous set of steps to reproduce the issue. -->\n1. Have a page field with a large number of selectable pages.\n2. Add it to a template and set the visibility to \"Open when populated, Closed when empty, Locked\"\n3. Try to edit a page of that template.\n### Setup/Environment\n\n<!--\n* Include as many relevant details about your environment setup as possible.\n* Hint: Using the Tracy Debugger module makes this a breeze: https://processwire.com/blog/posts/introducing-tracy-debugger/#versions-list\n-->\n- ProcessWire version: 3.0.30\n- (Optional) PHP version: 7\n"},"comment":{"url":"https://api.github.com/repos/processwire/processwire-issues/issues/comments/257554830","html_url":"https://github.com/processwire/processwire-issues/issues/49#issuecomment-257554830","issue_url":"https://api.github.com/repos/processwire/processwire-issues/issues/49","id":257554830,"user":{"login":"ryancramerdesign","id":328272,"avatar_url":"https://avatars.githubusercontent.com/u/328272?v=3","gravatar_id":"","url":"https://api.github.com/users/ryancramerdesign","html_url":"https://github.com/ryancramerdesign","followers_url":"https://api.github.com/users/ryancramerdesign/followers","following_url":"https://api.github.com/users/ryancramerdesign/following{/other_user}","gists_url":"https://api.github.com/users/ryancramerdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/ryancramerdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryancramerdesign/subscriptions","organizations_url":"https://api.github.com/users/ryancramerdesign/orgs","repos_url":"https://api.github.com/users/ryancramerdesign/repos","events_url":"https://api.github.com/users/ryancramerdesign/events{/privacy}","received_events_url":"https://api.github.com/users/ryancramerdesign/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T12:30:22Z","updated_at":"2016-11-01T12:30:22Z","body":"Thanks @LostKobrakai I've pushed a fix for this issue. "}}
{"actor":{"display_login":"ryancramerdesign"}}