{"action":"closed","issue":{"url":"https://api.github.com/repos/craftcms/cms/issues/3257","repository_url":"https://api.github.com/repos/craftcms/cms","labels_url":"https://api.github.com/repos/craftcms/cms/issues/3257/labels{/name}","comments_url":"https://api.github.com/repos/craftcms/cms/issues/3257/comments","events_url":"https://api.github.com/repos/craftcms/cms/issues/3257/events","html_url":"https://github.com/craftcms/cms/issues/3257","id":356316807,"node_id":"MDU6SXNzdWUzNTYzMTY4MDc=","number":3257,"title":"\"Cache is corrupted\" Twig error in Control Panel","user":{"login":"angrybrad","id":61869,"node_id":"MDQ6VXNlcjYxODY5","avatar_url":"https://avatars1.githubusercontent.com/u/61869?v=4","gravatar_id":"","url":"https://api.github.com/users/angrybrad","html_url":"https://github.com/angrybrad","followers_url":"https://api.github.com/users/angrybrad/followers","following_url":"https://api.github.com/users/angrybrad/following{/other_user}","gists_url":"https://api.github.com/users/angrybrad/gists{/gist_id}","starred_url":"https://api.github.com/users/angrybrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angrybrad/subscriptions","organizations_url":"https://api.github.com/users/angrybrad/orgs","repos_url":"https://api.github.com/users/angrybrad/repos","events_url":"https://api.github.com/users/angrybrad/events{/privacy}","received_events_url":"https://api.github.com/users/angrybrad/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":527382451,"node_id":"MDU6TGFiZWw1MjczODI0NTE=","url":"https://api.github.com/repos/craftcms/cms/labels/severity:normal","name":"severity:normal","color":"f45d43","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-02T21:51:19Z","updated_at":"2018-09-03T14:51:00Z","closed_at":"2018-09-03T14:51:00Z","author_association":"MEMBER","body":"### Description\r\n\r\nThere are some circumstances where you can get a Twig Runtime Error that states \"cache is corrupted\" when using an Asset field with the \"Restrict uploads to a single folder\" setting set and you use a `|kebab` filter or reference `postDate` without passing in a format.\r\n\r\n### Steps to reproduce\r\n\r\n1.  Make a fresh install of the latest Craft 3.\r\n2.  Create an Asset Volume.\r\n3.  Create an Asset field that uses the volume.\r\n4.  Check \"Restrict uploads to a single folder\"\r\n5.  Set the upload location to `test/{slug|kebab}` or `test/{postDate}`\r\n6.  Add the Asset field to a section.\r\n7.  Create a new entry in that section.\r\n8.  Get the following error:\r\n\r\n![annotation](https://user-images.githubusercontent.com/61869/44961071-982ef180-aebf-11e8-994c-e07669a756c1.png)\r\n\r\n### Additional info\r\n\r\n- Craft version: 3.0.22\r\n- PHP version: 7.1\r\n- Database driver & version: MySQL 5.7\r\n- Plugins & versions: n/a\r\n"}}
{"actor":{"display_login":"brandonkelly"}}