Unique Field and Automatic Node Titles

Parkes Design - August 8, 2009 - 17:07
Project:Unique field
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:by design
Description

Hi great module, it seems that unique field and automatic node titles don't work well together. The unique field validates before the automatic node title fills the title field.

Do you have any suggestions on how to over come this?

Thanks,

Daimian

#1

detour - August 8, 2009 - 22:18
Status:active» by design

If you're using Automatic Node Titles to generate a title that is based on fields from the node, then I would suggest using Unique Field to ensure that this combination of fields is unique.

If all of the fields used to generate the titles are unique, then the generated title should also be unique. (This assumes that all nodes within the scope have always been generated with the same pattern.)

#2

Parkes Design - August 12, 2009 - 03:38

Thanks for the suggestion. I'll see what I can do to get this to work. Does anyone know why the validation repeats the error message twice for combination fields?

#3

tpainton - September 22, 2009 - 04:59

Hi, one problem is that I use today's date as an Automatic Node Title. I am coming up with 2-3 day nodes for a person(field) when they should only have one.

 
 

Drupal is a registered trademark of Dries Buytaert.