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 CiviMail (Moderator: Piotr Szotkowski) »
  • Mailings Don't Cancel or Delete --> Is this the right fix?
Pages: [1]

Author Topic: Mailings Don't Cancel or Delete --> Is this the right fix?  (Read 936 times)

civicrmsav

  • I post frequently
  • ***
  • Posts: 121
  • Karma: 5
  • CiviCRM version: 4.2.6
  • CMS version: Drupal 7.x
Mailings Don't Cancel or Delete --> Is this the right fix?
June 19, 2012, 08:26:41 am
On my system (4.1.3 on drupal 6) choosing 'cancel' or 'delete' for a scheduled mailing has no effect.  But it works fine on the demo. 

I get a javascript error:
Code: [Select]
Source File: [mysite]/civicrm/mailing/browse?_qf_Search_display=true&qfKey=882041ae4fd32499c738d5d4350c5e9c_1666
Line: 1, Column: 92
Source Code:
if (confirm('Are you sure you want to delete this mailing?')) {  this.href+='&confirmed=1'; else return false;}

On the demo the { and } are not present around the "this.hef .... return false;"

If I hack /CRM/Mailing/Selector/Browse.php and remove those it seems to work fine.   Is this the right fix?  Should I submit this as a bug and patch?

garkalulu

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.1.2
  • CMS version: Joomla 2.5
  • MySQL version: 5.0.92
  • PHP version: 5.2.17
Re: Mailings Don't Cancel or Delete --> Is this the right fix?
June 20, 2012, 10:47:04 pm
I am unable to delete mailing too.

clarkac

  • Administrator
  • Ask me questions
  • *****
  • Posts: 399
  • Karma: 11
  • CiviCRM version: 4.4.11 & 4.5.5
  • CMS version: Drupal 7
  • MySQL version: 5.1.61-cll
  • PHP version: 5.3.27
Re: Mailings Don't Cancel or Delete --> Is this the right fix?
June 22, 2012, 05:12:13 am
The above fix worked for me...
Andy Clark

shayaknyc

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 0
Re: Mailings Don't Cancel or Delete --> Is this the right fix?
June 25, 2012, 08:23:15 am
For me as well....weird bug...

thosfelt

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.5.24
  • PHP version: 5.3.13
Re: Mailings Don't Cancel or Delete --> Is this the right fix?
July 06, 2012, 04:21:45 am
Syntax error, I just removed the else part and now it seems to work fine and I still get the popup to confirm the delete.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Mailings Don't Cancel or Delete --> Is this the right fix?
July 06, 2012, 04:34:14 am
This has been fixed under http://issues.civicrm.org/jira/browse/CRM-10389
for 4.1.4 and should be out pretty soon.

HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

benlynch

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5
Re: Mailings Don't Cancel or Delete --> Is this the right fix?
July 09, 2012, 06:35:33 pm
What are you removing in the browse.php?  Glad to see that i am not the only one having this issue :-)
« Last Edit: July 09, 2012, 06:38:46 pm by benlynch »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Mailings Don't Cancel or Delete --> Is this the right fix?

This forum was archived on 2017-11-26.