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

fieldValue cannot be a field's handle, but no error is thrown when creating the field #2893

Closed
mijewe opened this issue May 16, 2018 · 0 comments

Comments

@mijewe
Copy link

mijewe commented May 16, 2018

Description

Upon saving an entry with a field who's handle is fieldValue, we get a bit old error

Too few arguments to function craft\base\Element::getFieldValue()

It should either be able to handle field's called fieldValue, or not allow you to create them in the first place.

Steps to reproduce

  1. Create a field who's handle is fieldValue
  2. Save an entry with that field.

Additional info

  • Craft version: 3.0.8
  • PHP version: 7.1.13
  • Database driver & version: MySQL 5.5.5
  • Plugins & versions:
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

1 participant