Not sure how I missed this in all the D5 to D6 upgrades I've done, but when upgrading from Drupal 5 to Drupal 6, we never convert the flags.fid column to auto-increment (or type = serial). This update converts the column to auto-increment.
We also have an auto-increment column in the flag_content table, but it is in inadvertently added in flag_update_6002() which was meant to upgrade D6->D6 between betas, but it does the job for users upgrading from D5 also.
| Comment | File | Size | Author |
|---|---|---|---|
| flag_update_fid.patch | 918 bytes | quicksketch |
Comments
Comment #1
quicksketchCommitted. Fixes these support requests: #457422: Cannot unflag a user flag and #498136: Unflag doesn't seem to be working with new D6 flags.
Comment #2
sirkitree commentedThanks quicksketch! This has actually caused a few problems with flag_friend that I was wracking my brain on ;) Now I can report to my users that this is fixed!