After a maximum number of editions

whan - November 11, 2009 - 07:10
Project:Simplenews Scheduler
Version:6.x-1.x-dev
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi

Newsletter editions are created even when After a maximum number of editions option is specified zero for the Scheduler settings.

Thanks

#1

sgabe - November 12, 2009 - 23:33

That was a bug in the database query which should have return with the maximum number of editions in the simplenews_scheduler_new_edition() function. Fixed and committed, please check and report back!

#2

whan - November 14, 2009 - 04:27

Hi

I have downloaded the new code and tried to send news letters at the specified date and time, this time the newsletter edition not being created again, but the newsletters are not being sent to the subscribed mail addresses. When I select
the send only option without scheduling option the Newsletters are sent to the subscribed addresses.

Thanks

#3

sgabe - November 14, 2009 - 14:24

What settings did you try exactly? Is there anything in the watchdog regarding the failed sending or anything else?

#4

whan - November 16, 2009 - 04:24

Hi Sgabe,

I have selected the Send newsletter according to schedule and set the date and time and the After a maximum number of editions option which is zero. I have run the cron manually after the specified date and time mentioned in the Newletter scheduler settings. The watchdog message reads "Newsletter not send: node does not exist (nid = ; vid = ).".

Thanks

#5

sgabe - November 16, 2009 - 07:46

If you set the maximum to 0, there will be none newsletter sent. If you want to send a newsletter just once, you have to set the maximum to 1. The original node will be never sent just it's new editions. I think the deleted nodes and left behind newsletters cause the error message. You should try with a clean slate (empty the node and newsletter related tables in the database) and the correct settings.

#6

whan - November 18, 2009 - 10:09
Status:active» fixed

Hi

The module works with the maximum no. of editions set to 1. I don't get the error message after emptying the table.

Thanks

#7

System Message - December 2, 2009 - 10:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.