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.
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 profile.module:
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.
Comment | File | Size | Author |
---|---|---|---|
profile.module_1.patch | 732 bytes | wulff | |
Comments
Comment #1
Dries CreditAttribution: Dries commentedCommitted to HEAD. Thanks.
Comment #2
(not verified) CreditAttribution: commented