Posted by quicksketch on April 1, 2009 at 6:27am
3 followers
Jump to:
| Project: | Flag |
| Version: | 6.x-1.1 |
| Component: | Flag core |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
| Attachment | Size |
|---|---|
| flag_update_fid.patch | 918 bytes |
Comments
#1
Committed. Fixes these support requests: #457422: Cannot unflag a user flag and #498136: Unflag doesn't seem to be working with new D6 flags.
#2
Thanks 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!
#3
Automatically closed -- issue fixed for 2 weeks with no activity.