Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 4.7.28
-
Fix Version/s: 5.3
-
Component/s: None
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Contributed Code
-
Verified?:No
Description
e.g
In Profile
Add email field with Primary Location Type
Add email field with Work Location Type
Then Edit primary email field and save with/o change.
you will get message
Field Not Added
The selected field already exists in this profile.
This is happening because when form submitted it check for duplicate field present in same profile. For primary location type field (location_type_id = NULL in DB and location_type_id = 0 in form)
During validation location_type_id get skipped, since there is already another email field with different location type found. Then above error message shown.