Can only edit the first message in a set.

swmerrill - April 20, 2009 - 03:22
Project:Autoresponder
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

After adding more than one message to a set, you can only EDIT the first message from the Messages list page (admin/settings/autoresponder/mail/list). This is because the message set ID and the message ID are reversed in the edit setup line. The fix is to change line 758 in autoresponder.module from

l(t('Edit'), 'admin/settings/autoresponder/mail/edit/' . $mail->mset . '/' . $mail->id),

to

l(t('Edit'), 'admin/settings/autoresponder/mail/edit/' . $mail->id . '/' . $mail->mset),

#1

swmerrill - April 20, 2009 - 03:25

I haven't tested it, but presumably the same problem applies to the DELETE code on the subsequent line as well. The fix should be similar.

#2

dantodd - August 2, 2009 - 07:26

I've experienced this bug. I think that the problem is that the edit page always gets the first mailing's content. The title appears to be ok.

 
 

Drupal is a registered trademark of Dries Buytaert.