View Issue Details

IDProjectCategoryView StatusLast Update
0016552phplist applicationMessage Send Processpublic20-03-12 14:11
Reporterduncanc 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.10.17 
Target Version2.10.XFixed in Version2.10.18 
Summary0016552: Message criteria not cleared when process queue has more than one message
DescriptionThere is an error in processqueue.php when processing more than one message.
The variable $user_attribute_query contains the results of the user attribute criteria, but it is not re-initialised for each message and therefore results for one message are carried forward to the next. The result is the next message incorrectly has criteria applied.

The variable needs to be re-initialised for each message to be empty.
In version 2.10.17 before the if statement on line 392 or by adding an else to the if statement.
There is similar processing in version 2.11.6 at line 487
TagsNo tags attached.

Activities

michiel

08-03-12 12:59

manager   ~0051488

ah, good find. Can you also find which counters need resetting with multiple messages ;-)

michiel

20-03-12 14:11

manager   ~0051505

http://phplist.svn.sourceforge.net/phplist/?rev=3174&view=rev