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

'fieldValues' should be a restricted handle in matrix blocks #4453

Closed
dmatthams opened this issue Jun 26, 2019 · 1 comment
Closed

'fieldValues' should be a restricted handle in matrix blocks #4453

dmatthams opened this issue Jun 26, 2019 · 1 comment

Comments

@dmatthams
Copy link

dmatthams commented Jun 26, 2019

Description

Had a table field within a matrix block with the handle 'fieldValues' which when attempting to loop via twig, caused an error stating I was attempting to loop a string – leading to much head scratching.

Steps to reproduce

  1. Create a matrix block containing a table field (or any field it seems) with the handle 'fieldValues'
  2. Attempt to loop through 'fieldValues' with twig

Additional info

  • Craft version: 3.1.28
  • PHP version: 7.0
  • Database driver & version: MySQL
brandonkelly added a commit that referenced this issue Jun 27, 2019
@brandonkelly
Copy link
Member

Just added that for the next Craft 3.2 RC release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants