Unique field does not work if used with Automatic Entity Label.
I am guessing it is because the title is not created until after the node is saved.

I understand that technically we should be able to just validate the specific fields that make up the title, but that does not always work.

Other related issues:

https://www.drupal.org/node/1075036
https://www.drupal.org/node/1546744

Comments

animare created an issue. See original summary.

P2790’s picture

Title: Unique field does not work if used with Automatic Entity Label » Unique title does not work if used with Automatic Entity Label
P2790’s picture

Strongly recommend using below module if you are are having this issue:

https://www.drupal.org/project/entity_unique