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.
I noticed that the value stored in the value column in the {profile_values} table is the name from the {term_data} table. while this might be useful for display purposes, it **might** not be useful if the value will be used by other modules if more than one term has the same name. the tid will be more useful in such cases as it is guaranteed to be unique.
Comments
Comment #1
gnindl CreditAttribution: gnindl commentedIn the profile field options only values can be stored. I am fully aware that the limitation to names is not that unique as ids. Nevertheless it should work out in most cases. This is a limitation of the profile module itself which can only be changed with a patch.
Additionally storing the tid in the profile_values table would require additional theming, e. g. when viewing the user profile form a name and not the id should be displayed. Therefore I decided to go the "profile" way.
If you encounter any problems with the 1.0-rc2 release, feel free to report them.