CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Repetition bug with Scheduled Membership Reminders in 4.2?
Pages: [1]

Author Topic: Repetition bug with Scheduled Membership Reminders in 4.2?  (Read 23098 times)

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Repetition bug with Scheduled Membership Reminders in 4.2?
January 02, 2013, 02:35:21 pm
Hi there,

I have a client who reported that one of their members was receiving renewal notices even after they'd renewed their membership.  I've included a screenshot of their Activities tab that clearly shows they renewed their membership 28 days before the end date (1/4/13), but also shows them continuing to receive notifications.  I can confirm that their membership data looks correct - and civicrm_membership_log shows their new end date as 1/4/14 as of 12/6/12.

I suspect the issue is to do with the repetition settings (see the other attached screenshot).  Is it possible that once a record is flagged to get renewal reminders, it's not rechecked to see if they've renewed before the repeating message is sent out?
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

GinkgoDOB

  • I post occasionally
  • **
  • Posts: 54
  • Karma: 1
  • Dir. of Product Development, Ginkgo Street Labs
    • Ginkgo Street Labs
  • CiviCRM version: v4.5-4.7
  • CMS version: Drupal
Re: Repetition bug with Scheduled Membership Reminders in 4.2?
March 11, 2013, 12:39:20 pm
I'm having the same problem. Posted the following topic

http://forum.civicrm.org/index.php/topic,27994.msg119514.html#msg119514

sjthespian

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 3
    • The League of Professional System Administrators
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.28
  • MySQL version: 5.1.66
  • PHP version: 5.3.3
Re: Repetition bug with Scheduled Membership Reminders in 4.2?
August 01, 2013, 11:01:47 am
After upgrading to 4.3.5, I'm seeing the same problem as well as members getting multiple copies of the same renewal notice. I haven't had a chance to dig into it yet (that's tonight's project), but something is very wrong with the repeating reminder code.

We had a similar problem before upgrading from 4.2 that caused us to turn off the repeating reminders.
Dan Rich <drich@lopsa.org>
    Director, LOPSA - http://lopsa.org/

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Repetition bug with Scheduled Membership Reminders in 4.2?
August 02, 2013, 08:46:35 am

a few folks have mentioned issues with repeating reminders. Would be great if you can report back your findings and hopefully submit a patch or two

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Re: Repetition bug with Scheduled Membership Reminders in 4.2?
August 15, 2013, 06:48:46 am
I would be willing to help with testing.  I don't use repeating reminders, but my reminders are sent out irrespective of the members expiration date.  I have also posted this issue a couple of times.  I have mine running to see if it fixes itself after running through the membership for a while.  If I start getting emails that they are received the reminder again, I will have to shut it off.  The difficulty with this, is that the only way to really test is to have it send out a live email and that has a tendency to piss people off.  I did try and refine the scope of the emails by designating a group and it did not use that constraint either. 

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Repetition bug with Scheduled Membership Reminders in 4.2?
August 15, 2013, 09:20:33 am
An alternative to sending out a live e-mail is to add
define( 'CIVICRM_MAIL_LOG' , 1 );

to civicrm.settings.php.

Then all your mail will be logged to files/civicrm/upload/mail.

Of course, unless you can turn off e-mail for your entire site, you'll want to do this on a development environment.  Nonetheless, this is very helpful!
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Repetition bug with Scheduled Membership Reminders in 4.2?
August 15, 2013, 09:00:03 pm
A couple of developer tasks need to be done for this, IMO

1. Write a set of unit tests and data sets to document and specify the expected behavior

2. Modify the code to make it more testable, I.e. ability to log emails / restrict sending to a group etc

Any one interested in playing the lead on this, please ping us on irc

Lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Repetition bug with Scheduled Membership Reminders in 4.2?
August 17, 2013, 06:15:27 am
Although a fix would be ideal, for those having problems have you considered/tried just creating a series of single reminder emails at the appropriate intervals?

That is what we are planning to do as we have no money to pay someone to fix the repeating system.

It will also let us "escalate" the content of the reminder emails as the renewal date gets closer and then is passed.


bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Re: Repetition bug with Scheduled Membership Reminders in 4.2?
August 19, 2013, 08:48:14 am
The more I get into this problem, the more confused I get.  I have a single reminder email going out.  The reminders are going out to folks whose membership have been expired for 10 years, AND they are still going out to folks on my do not email list!!!  I have been getting some angry emails from folks requested not to be emailed.  I am going in and deleting emails out of the system so it doesnt happen again.  This is a problem.  I am letting the job run as a membership information validation to see if I need to get through the entire membership for it to start working right.  Does the job actually set an indicator stating that folks have received their reminder? 

nant

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 4
    • Joomlapolis
  • CiviCRM version: 4.3.4
  • CMS version: Joomla 2.5.11
  • MySQL version: 5
  • PHP version: 5.3
Re: Repetition bug with Scheduled Membership Reminders in 4.2?
January 17, 2014, 06:14:31 am
I can confirm the same issue on Civi  4.3.4 with autorepeat scheduling.

Clearly the date comparison is not working because the actual message that is getting the membership end date from token is correct.
--
Nick (aka nant from CB Team)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Repetition bug with Scheduled Membership Reminders in 4.2?

This forum was archived on 2017-11-26.