{"action":"created","issue":{"url":"https://api.github.com/repos/craftcms/cms/issues/1666","repository_url":"https://api.github.com/repos/craftcms/cms","labels_url":"https://api.github.com/repos/craftcms/cms/issues/1666/labels{/name}","comments_url":"https://api.github.com/repos/craftcms/cms/issues/1666/comments","events_url":"https://api.github.com/repos/craftcms/cms/issues/1666/events","html_url":"https://github.com/craftcms/cms/issues/1666","id":224012121,"node_id":"MDU6SXNzdWUyMjQwMTIxMjE=","number":1666,"title":"Draft Preview: Disabled matrix blocks still appear","user":{"login":"michaelroper","id":60287,"node_id":"MDQ6VXNlcjYwMjg3","avatar_url":"https://avatars0.githubusercontent.com/u/60287?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelroper","html_url":"https://github.com/michaelroper","followers_url":"https://api.github.com/users/michaelroper/followers","following_url":"https://api.github.com/users/michaelroper/following{/other_user}","gists_url":"https://api.github.com/users/michaelroper/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelroper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelroper/subscriptions","organizations_url":"https://api.github.com/users/michaelroper/orgs","repos_url":"https://api.github.com/users/michaelroper/repos","events_url":"https://api.github.com/users/michaelroper/events{/privacy}","received_events_url":"https://api.github.com/users/michaelroper/received_events","type":"User","site_admin":false},"labels":[{"id":527359859,"node_id":"MDU6TGFiZWw1MjczNTk4NTk=","url":"https://api.github.com/repos/craftcms/cms/labels/bug","name":"bug","color":"EE3F46","default":true},{"id":848946505,"node_id":"MDU6TGFiZWw4NDg5NDY1MDU=","url":"https://api.github.com/repos/craftcms/cms/labels/feature:%20matrix%20:dark_sunglasses:","name":"feature: matrix :dark_sunglasses:","color":"FFC274","default":false},{"id":527382552,"node_id":"MDU6TGFiZWw1MjczODI1NTI=","url":"https://api.github.com/repos/craftcms/cms/labels/severity:minor","name":"severity:minor","color":"f45d43","default":false}],"state":"closed","locked":false,"assignee":{"login":"brandonkelly","id":47792,"node_id":"MDQ6VXNlcjQ3Nzky","avatar_url":"https://avatars1.githubusercontent.com/u/47792?v=4","gravatar_id":"","url":"https://api.github.com/users/brandonkelly","html_url":"https://github.com/brandonkelly","followers_url":"https://api.github.com/users/brandonkelly/followers","following_url":"https://api.github.com/users/brandonkelly/following{/other_user}","gists_url":"https://api.github.com/users/brandonkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonkelly/subscriptions","organizations_url":"https://api.github.com/users/brandonkelly/orgs","repos_url":"https://api.github.com/users/brandonkelly/repos","events_url":"https://api.github.com/users/brandonkelly/events{/privacy}","received_events_url":"https://api.github.com/users/brandonkelly/received_events","type":"User","site_admin":false},"assignees":[{"login":"brandonkelly","id":47792,"node_id":"MDQ6VXNlcjQ3Nzky","avatar_url":"https://avatars1.githubusercontent.com/u/47792?v=4","gravatar_id":"","url":"https://api.github.com/users/brandonkelly","html_url":"https://github.com/brandonkelly","followers_url":"https://api.github.com/users/brandonkelly/followers","following_url":"https://api.github.com/users/brandonkelly/following{/other_user}","gists_url":"https://api.github.com/users/brandonkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonkelly/subscriptions","organizations_url":"https://api.github.com/users/brandonkelly/orgs","repos_url":"https://api.github.com/users/brandonkelly/repos","events_url":"https://api.github.com/users/brandonkelly/events{/privacy}","received_events_url":"https://api.github.com/users/brandonkelly/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-04-25T03:41:16Z","updated_at":"2018-10-02T18:59:32Z","closed_at":"2018-10-02T18:59:32Z","author_association":"NONE","body":"### Description\r\n\r\nSimilar to issue #1576, except if you are viewing the full preview link of an entry draft, any disabled matrix blocks still show on the front-end page. The disabled blocks don't show in Live Preview. Pretty sure this behaviour has only started since #1576 was fixed, because viewing the full preview link was my workaround for not seeing disabled blocks in Live Preview.\r\n\r\n### Steps to reproduce\r\n\r\n1. Create a new draft from an existing live entry\r\n2. Disable some matrix blocks on that entry\r\n3. View the full tokenized preview link for the draft entry\r\n4. See if disabled blocks are still showing\r\n\r\n### Additional info\r\n\r\n- Craft version: 2.6.2973\r\n- PHP version: 7.0.18\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/craftcms/cms/issues/comments/426391836","html_url":"https://github.com/craftcms/cms/issues/1666#issuecomment-426391836","issue_url":"https://api.github.com/repos/craftcms/cms/issues/1666","id":426391836,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjM5MTgzNg==","user":{"login":"brandonkelly","id":47792,"node_id":"MDQ6VXNlcjQ3Nzky","avatar_url":"https://avatars1.githubusercontent.com/u/47792?v=4","gravatar_id":"","url":"https://api.github.com/users/brandonkelly","html_url":"https://github.com/brandonkelly","followers_url":"https://api.github.com/users/brandonkelly/followers","following_url":"https://api.github.com/users/brandonkelly/following{/other_user}","gists_url":"https://api.github.com/users/brandonkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonkelly/subscriptions","organizations_url":"https://api.github.com/users/brandonkelly/orgs","repos_url":"https://api.github.com/users/brandonkelly/repos","events_url":"https://api.github.com/users/brandonkelly/events{/privacy}","received_events_url":"https://api.github.com/users/brandonkelly/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T18:59:32Z","updated_at":"2018-10-02T18:59:32Z","author_association":"MEMBER","body":"@stevehurst We've only managed to hide disabled Matrix blocks for Live Preview requests so far, not for Share URLs for entry drafts/versions. Feel free to submit a new issue about that."}}
{"actor":{"display_login":"brandonkelly"}}