View Issue Details

IDProjectCategoryView StatusLast Update
0017615phpList 3 applicationCampaign Send Processpublic06-07-15 18:04
Reporterduncanc Assigned To 
Status resolvedResolutionfixed 
Product Version3.0.12 
Target Version3.0.XFixed in Version3.2.0 
Summary0017615: Messagedata table has incorrect id field
DescriptionThe messagedata table duplicates some fields that are held in the message table. One such is the id field, and that causes a problem when a message is created by the repeat processing.

Message 5 was the original message. It has an id field on the message table of 5 and a row in messagedata with name 'id' and data 5.
After message 5 has been repeated, there is then a message 6 but it has a row in messagedata with name 'id' and value 5, not value 6.

When the message data is loaded, possibly through function loadMessageData(), the id field is being set to the value from the messagedata table instead of from the message table.

I noticed this when trying to use the plugin method cansend(). The $messagedata parameter has the wrong id value when it is a repeated message.
TagsNo tags attached.



09-03-15 21:23

administrator   ~0055970

Ah, yes, that can have weird consequences. It will be better to avoid it.


29-03-15 11:15

updater   ~0055991

See GitHub pull request