Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have created a field validator which prevents duplicate field values per user. When adding new nodes using node_save($node)
, unique field validation does not prevent the creation of duplicate nodes (nodes with similar value on a particular field). Any idea how to fix this and make the validation be raised? Thank you.
Comments
Comment #2
NWOM CreditAttribution: NWOM commentedThis appears to be a bug. When importing nodes via Feeds, directly with an assigned author, the field validation is ignored.