NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0017615phplist applicationMessage Send Processpublic09-03-15 12:0506-07-15 18:04
PlatformOSOS Version
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.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
michiel (manager)
09-03-15 21:23

Ah, yes, that can have weird consequences. It will be better to avoid it.
duncanc (developer)
29-03-15 11:15

See GitHub pull request [^]

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker