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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Dojo problem on email contact page
Pages: [1]

Author Topic: Dojo problem on email contact page  (Read 1131 times)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Dojo problem on email contact page
November 29, 2007, 10:15:38 am
When sending an email to a group of contacts, the dojo dropdown select box for choosing a template is not working. When I look at the code, there's some extra characters being added to the dataurl option for the form element:

Code: [Select]
dataurl="http://www.DOMAIN.com/administrator/index2.php?option=com_civicrm&task=civicrm/ajax/message&d=1"
Note the double ampersand.

I pulled up the page on a 1.8 demo installation I have, and the script pulls correctly. I also checked a separate 1.9 installation I have and the problem was replicated. So something changed between 1.8 and 1.9 to throw this page off. I don't appear to have any problems with other dojo elements throughout the site. And I've not been able to track down where that url is being built. There's nothing in CRM/Contact/Form/Task/EmailCommon.php or in CRM/Core/BAO/MessageTemplates.php (the two files that appear to control that element) that changed between 1.8 and 1.9 (at least nothing that changed that impacts this problem).

Any ideas?
-Brian
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Dojo problem on email contact page
November 29, 2007, 10:47:34 am
Ok, I tried reproducing this problem on both the Joomla and Drupal sandboxes, but both seemed to be working fine. However, since the problem exists on two of my sites (completely separate), I don't think it's a unique problem.

Question --
The CiviCRM demo sites are using version 1.9.12267, but the version I'm using is 11960, which up until today (I just checked), was the recent version. So I'll go ahead and update. But anyone know if this issue is resolved in this version? There's nothing I see in the issue tracker.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Dojo problem on email contact page
November 29, 2007, 11:50:22 am
Brian - this bug was fixed about a week ago and included in today's distribution of 1.9:

http://forum.civicrm.org/index.php/topic,1620.msg7045.html#msg7045

(for some reason it didn't affect all sites - demo as well as my local install worked fine w/o the fix - but it definitely was a bug).

We need to work on getting more rigorous about posting EVERY fix to the issue tracker, even if quick and easy - helps us all :-)
Protect your investment in CiviCRM by  becoming a Member!

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Dojo problem on email contact page
November 29, 2007, 12:07:03 pm
Excellent. Thank you. That was helpful -- I was able to make the change to EmailCommon.php and it's working fine now.

Are you guys planning to blog on the update released today? I know it's only a maintenance release. Just curious what the major issues were to see if I should take the time to upgrade on any of my sites.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Dojo problem on email contact page

This forum was archived on 2017-11-26.