{"action":"closed","issue":{"url":"https://api.github.com/repos/craftcms/cms/issues/2953","repository_url":"https://api.github.com/repos/craftcms/cms","labels_url":"https://api.github.com/repos/craftcms/cms/issues/2953/labels{/name}","comments_url":"https://api.github.com/repos/craftcms/cms/issues/2953/comments","events_url":"https://api.github.com/repos/craftcms/cms/issues/2953/events","html_url":"https://github.com/craftcms/cms/issues/2953","id":329017515,"node_id":"MDU6SXNzdWUzMjkwMTc1MTU=","number":2953,"title":"Caching an empty field gives \"Integrity constraint violation\"","user":{"login":"darylknight","id":1250017,"node_id":"MDQ6VXNlcjEyNTAwMTc=","avatar_url":"https://avatars0.githubusercontent.com/u/1250017?v=4","gravatar_id":"","url":"https://api.github.com/users/darylknight","html_url":"https://github.com/darylknight","followers_url":"https://api.github.com/users/darylknight/followers","following_url":"https://api.github.com/users/darylknight/following{/other_user}","gists_url":"https://api.github.com/users/darylknight/gists{/gist_id}","starred_url":"https://api.github.com/users/darylknight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darylknight/subscriptions","organizations_url":"https://api.github.com/users/darylknight/orgs","repos_url":"https://api.github.com/users/darylknight/repos","events_url":"https://api.github.com/users/darylknight/events{/privacy}","received_events_url":"https://api.github.com/users/darylknight/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-04T11:34:09Z","updated_at":"2018-06-05T16:33:43Z","closed_at":"2018-06-05T16:33:43Z","author_association":"NONE","body":"### Description\r\nIf I wrap an include in `{% cache %}{% endcache %}`, and the field inside that cache tag is empty, I get the following error message:\r\n\r\n![image](https://user-images.githubusercontent.com/1250017/40915305-38da6482-6804-11e8-8388-0e1247d5ad53.png)\r\n\r\n### Steps to reproduce\r\n\r\n1. Wrap an empty field in a cache tag\r\n\r\n### Additional info\r\n\r\n- Craft version: 3.0.9\r\n- PHP version: 7.1.15\r\n- Database driver & version: MySql\r\n"}}
{"actor":{"display_login":"brandonkelly"}}