[drupal-devel] [bug] Profile: Specified title in use

wulff drupal-devel at drupal.org
Fri Jan 21 09:28:45 UTC 2005

 Project:      Drupal
 Version:      cvs
 Component:    profile.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  wulff
 Updated by:   wulff
 Status:       patch
 Attachment:   http://drupal.org/files/issues/profile.module_1.patch (732 bytes)

When adding profile fields, the title must be unique across all
categories. Is this by design? I think it makes sense to only have
titles unique within a category.

The following steps result in an error with the current

1. go to admin/user/configure/profile
2. add single-line text-field: category: bar, title: foo
3. add single-line text-field: category: baz, title: foo
4. error: "The specified title is already in use."

The attached patch changes the behavior so titles only need to be
unique in a category.


View: http://drupal.org/node/15937
Edit: http://drupal.org/project/comments/add/15937

More information about the drupal-devel mailing list