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 CiviEvent (Moderator: Yashodha Chaku) »
  • Cancellation email
Pages: [1]

Author Topic: Cancellation email  (Read 2059 times)

andro01

  • I post occasionally
  • **
  • Posts: 58
  • Karma: 0
Cancellation email
October 05, 2009, 12:19:26 pm
I was testing and have created an event and cancelled some of the people that did not attend. I noticed a couple of things:

1) The 'to' time does not seem to be localized in the email. I had this problem also with another screen which was fixed, but here it still seems to be wrong. (also in the contact dashboard, but that doesn't seem to be consistant.. see screen shot)
2) When I changed to status the checkbox for 'send email' was unchecked, but still the system send out an email to the participant (this actually happend with live data.. I had to email the people that it was only a test)
3) Then I disabled the email handler under the email settings and cancelled another participant. The system didn't like that and gave me a warning. But I figured 'no outgoing email' should notify the system that no email should go out (so why that warning and the 'tip' to correct the settings).
4) When changing the status the dropdown is not localized. I know I can change the label, but that only shows in the overviews, not in the drop down. The name itself I cannot change because it is reserved (unless I go at database level). So I still think this is an error (I reported this in a seperate post, but that is locked now).

Could anyone comment if 2 & 3 are intended behaviour?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Cancellation email
October 05, 2009, 03:10:10 pm
Thx for the detailed reports on these issues (I sure wish we had found them in your pre-release test cycle - oh well)...

Quote from: andro01 on October 05, 2009, 12:19:26 pm
I was testing and have created an event and cancelled some of the people that did not attend. I noticed a couple of things:

1) The 'to' time does not seem to be localized in the email. I had this problem also with another screen which was fixed, but here it still seems to be wrong. (also in the contact dashboard, but that doesn't seem to be consistant.. see screen shot)

Aargh - thought we caught all of those conditions (start and end date the same) - but there were 4 more spots (cancel email, user dash and 2 other notification emails). Filed and fixed for 3.0.1:
http://issues.civicrm.org/jira/browse/CRM-5185

Quote from: andro01 on October 05, 2009, 12:19:26 pm
2) When I changed to status the checkbox for 'send email' was unchecked, but still the system send out an email to the participant (this actually happend with live data.. I had to email the people that it was only a test)

As of 3.0, we send notification anytime status is changed to Cancelled, Expired, Pending from waitlist, Pending from approval. This is decent default behavior, but is clearly confusing when there is a checkbox on the form about "Send Confirmation and Receipt" (which is ignored). I've filed an issue for 3.0.2 to fix this by adding another checkbox specificially for this control - displayed only on these status changes (it's a bit bigger change so delaying a bit).

http://issues.civicrm.org/jira/browse/CRM-5184

Quote from: andro01 on October 05, 2009, 12:19:26 pm
3) Then I disabled the email handler under the email settings and cancelled another participant. The system didn't like that and gave me a warning. But I figured 'no outgoing email' should notify the system that no email should go out (so why that warning and the 'tip' to correct the settings).

Since the code "wants" to send email, it's going to complain if it can't.

Quote from: andro01 on October 05, 2009, 12:19:26 pm
4) When changing the status the dropdown is not localized. I know I can change the label, but that only shows in the overviews, not in the drop down. The name itself I cannot change because it is reserved (unless I go at database level). So I still think this is an error (I reported this in a seperate post, but that is locked now).

Dropdown should be showing Label, not Name. Issue filed and fixed for 3.0.1:
http://issues.civicrm.org/jira/browse/CRM-5183

Protect your investment in CiviCRM by  becoming a Member!

andro01

  • I post occasionally
  • **
  • Posts: 58
  • Karma: 0
Re: Cancellation email
October 10, 2009, 01:36:08 am
When changing the participant status of an event I get the following error. I got this after upgrading to 3.01 (didn't have this before). The participant status is however changed after checking the participant again.

Edit: Actually the error below pops up at several places related to an event. It shows up when registering and when deleting an event also.


--------------------------------------------------------------------------------

DB Error: syntax error

Database foutcode: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3, 1064

Terug naar home page

Error Details:


Array
(
    [callback] => Array
        (
            
  • => CRM_Core_Error
  • [1] => handle
            )

        
Code: [Select]
=> -2
    [message] => DB Error: syntax error
    [mode] => 16
    [debug_info] =>
  SELECT  participant.id
    FROM  civicrm_participant participant
   WHERE  participant.registered_by_id=109 AND participant.status_id !=  [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3]
    [type] => DB_Error
    [user_info] =>
  SELECT  participant.id
    FROM  civicrm_participant participant
   WHERE  participant.registered_by_id=109 AND participant.status_id !=  [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3]
    [to_string] => [db_error: message="DB Error: syntax error" code=-2 mode=callback callback=CRM_Core_Error::handle prefix="" info="
  SELECT  participant.id
    FROM  civicrm_participant participant
   WHERE  participant.registered_by_id=109 AND participant.status_id !=  [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3]"]
)
« Last Edit: October 10, 2009, 01:58:53 am by andro01 »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Cancellation email
October 10, 2009, 10:22:51 am
Would be helpful if you can recreate this on the public demo. If so, file an issue w/ exact steps to recreate... I'm not seeing that error on my local 3.01. install.
Protect your investment in CiviCRM by  becoming a Member!

andro01

  • I post occasionally
  • **
  • Posts: 58
  • Karma: 0
Re: Cancellation email
October 10, 2009, 11:57:00 am
tried to replicate the problem on the demo site. Unfortunately not able to  :(


Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Cancellation email
October 10, 2009, 04:32:26 pm
Suspecting its related to localised values not being handled properly ???
Protect your investment in CiviCRM by  becoming a Member!

andro01

  • I post occasionally
  • **
  • Posts: 58
  • Karma: 0
Re: Cancellation email
October 11, 2009, 02:09:53 am
not sure... I put the localization back to english, but the problem still persists. Also it started after upgrading to 3.01.

I'll try to downgrade back to 3.0 and see if the problem is still there

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Cancellation email
October 11, 2009, 07:38:32 am
It looks like the change we made to fix the Participant form drop-down (untranslated) - has caused this problem. You should be able to temporarily fix it by making the change described here:

http://forum.civicrm.org/index.php/topic,10287.msg44075.html#msg44075

This will "undo" the fix for translating labels on the offline "Register Participants for an event" form - but that seems a bit less critical. We'll post a complete fix (that handles both cases properly) in the next  few days.
Protect your investment in CiviCRM by  becoming a Member!

andro01

  • I post occasionally
  • **
  • Posts: 58
  • Karma: 0
Re: Cancellation email
October 11, 2009, 09:17:14 am
indeed, when I put the label (name) back to cancelled it seems to work again.

I'll wait for the formal patch (in 3.02?) to solve the issue.

Thanks!!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Cancellation email
October 13, 2009, 03:15:06 pm
I've committed a fix for this issue which will be part of 3.0.2 (which we'll probably roll next week):

http://issues.civicrm.org/jira/browse/CRM-5220
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Cancellation email

This forum was archived on 2017-11-26.