It was first reported on an issue related to field_collection module: #1684262: Unique validation triggered during field collection editing even if entity is unchanged.
Problem is that Profile2 edit form does not have any information on current profile id.
Additionally profile2_path module can override path of edit form.
Here's first attempt to fix this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| field_validation_profile2.patch | 1.22 KB | zambrey |
Comments
Comment #1
prezaeis commentedim trying to use this module with profile2 fields, however i cant see the settings for it in the fields, am i missing something?
also tried this patch, didnt work
Comment #2
zambrey commentedValidation settings for all fields are stored on Admin -> Structure -> Field Validation
Without this patch when you set up unique validation for one on the fields on Profile entity, you will get validation error every time you save a profile.
Comment #3
g089h515r806 commentedThe patch commited.
Comment #4
prezaeis commentedthats the thing, i dont see that link in admin
Comment #5
zambrey commentedIt's fixed then. Thanks.
@prezaeis: make sure you have field_validation_ui module enabled.
You can create support request if problem still exists.
Comment #6
zambrey commentedOh you did: #1857692: validation tab does not appear
I'm glad you have this resolved.