Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching an empty field gives "Integrity constraint violation" #2953

Closed
darylknight opened this issue Jun 4, 2018 · 0 comments

Comments

@darylknight
Copy link

commented Jun 4, 2018

Description

If I wrap an include in {% cache %}{% endcache %}, and the field inside that cache tag is empty, I get the following error message:

image

Steps to reproduce

  1. Wrap an empty field in a cache tag

Additional info

  • Craft version: 3.0.9
  • PHP version: 7.1.15
  • Database driver & version: MySql
brandonkelly added a commit that referenced this issue Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.