- First commit to issue fork.
- Merge request !11591throwing error while creating tags which have required field. → (Open) created by KumudB
- 🇮🇳India KumudB Ahmedabad
Steps to Reproduce:
- Install a standard Drupal profile.
- Add a required field to the Tags taxonomy.
- Ensure that the Tags field on the Article content type is configured to auto-create new terms.
- Create a new Article with a tag that does not exist.
- The new term is created with the required field empty, leading to data inconsistency.
Here I have attached After fixing Screen shot
- 🇬🇧United Kingdom MrDaleSmith
Not 100% sure about the message being set - see comments on MR.
Possibly unrelated to this issue, but this change would effectively make the "create term if it doesn't exist" setting impossible to use on any term vocabulary that had required fields: you would never be able to create the terms as the validation would always fail but the edit form has no ability to let you set the field values on the new term.
My personal preference here would be the current behaviour - stub taxonomy created that requires future updating - so that the setting on the field actually has a function. I can understand that not everybody would, however: perhaps we need some kind of validation on the field settings form that advises terms with required fields can't use this setting (if this change is ti progress)? Or at least a warning in the help text?