- 🇮🇹Italy kopeboy Milan
Any update? 🙏🏻
Maybe it's related so I let you know that this module doesn't work with editablefields too:
When trying to edit a unique field inside a View (using "Editable Field" formatter), other modules' defined validations on the same field work (for example machine_name), but the one provided by this module throws a silent php error:
Error: Call to undefined method Drupal\editablefields\Form\EditableFieldsForm::getEntity() in unique_content_field_validation_validate_unique() (line 232 of /var/www/html/web/modules/contrib/unique_content_field_validation/unique_content_field_validation.module).
- 🇪🇸Spain selvira Seville, Spain 🇪🇸, UTC+2 🇪🇺
Hi @kopeboy I think this could help you:
https://www.drupal.org/project/unique_content_field_validation/issues/33... 🐛 Bulk operation not working on nodes. Fixed check the patch I uploaded maybe it solves your problem because I got the same error as you previously.Greetings.
- Assigned to fabiansierra5191
- Status changed to Active
almost 2 years ago 9:39pm 7 April 2023 - 🇨🇴Colombia fabiansierra5191
FYI, I started to work on version 2.X, for now, the changes include:
- Use Drupal Constraints for validation
- Plugin system to create/add custom fields to the validationSo, I take this ticket to follow up and communicate things regarding the new version