Postponed
Project:
privatemsg_draft
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2011 at 21:56 UTC
Updated:
27 Aug 2011 at 23:49 UTC
In Drupal, a username is unique, but not permanent. So, if you store a username in a table, and the username is later changed, you can end up with inconsistent data.
It looks like the recipients column in {pm_draft} is a text field with a comma-separated list of names. There are a few ways to clean this up:
Comments
Comment #1
chrisfree commentedMarking as postponed. I just pushed a commit that stores the recipient list as serialized data and later retrieves the user name by UID. This fixes the issue, but I think the separate table is the best way to go. Time permitting, I'll add this later.