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).

CommentFileSizeAuthor
patch_201.17 KBdarius
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

darius’s picture

FYI, the offending lines appeared in version 1.97: http://cvs.drupal.org/viewcvs/drupal/drupal/modules/profile.module?r1=1....

chx’s picture

Status: Needs review » Reviewed & tested by the community

Congrats. This however tells us a lot on the review rate of profile modue...

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Oops. Committed to HEAD. Thanks.

Dries’s picture

Status: Fixed » Closed (fixed)