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.
Well, it took me to add 18 fields to the profile until this weird bug popped up. There is an old piece of code from May 12 (probably used for debugging) in profile.module that creates this problem. Somebody really did not like numbers 18,19 and 20 :)
if ($field->fid == 18 || $field->fid == 19 || $field->fid == 20) {
return;
}
The patch also fixes a small bug in displaying the user fields (should be ordered by category, then weight, not just weight).
Comments
Comment #1
darius CreditAttribution: darius commentedFYI, the offending lines appeared in version 1.97: http://cvs.drupal.org/viewcvs/drupal/drupal/modules/profile.module?r1=1....
Comment #2
chx CreditAttribution: chx commentedCongrats. This however tells us a lot on the review rate of profile modue...
Comment #3
Dries CreditAttribution: Dries commentedOops. Committed to HEAD. Thanks.
Comment #4
Dries CreditAttribution: Dries commented