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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Customise Navigation Menu Bug?
Pages: [1] 2

Author Topic: Customise Navigation Menu Bug?  (Read 3524 times)

ahth

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 3.3.3
  • CMS version: drupal 6.2
  • MySQL version: 5.1.41
  • PHP version: 5.3.2-1ubuntu4.7
Customise Navigation Menu Bug?
January 28, 2011, 12:25:16 pm
I am very new to CiviCRM and have been experimenting with version 3.3.2 on Drupal 6.2

When I first accessed the "customise navigation menu" it worked fine. However when I edited an entry and saved the edit the customise navigation menu is now stuck in an indefinite "loading loop".  This is the same in my Firefox browser 3.6.13 and Chromium 8.0.552.237. I have noticed some references to a similar problem in older civicrm versions but suggested solutions such as flushing the cache does not work. I have also replicated the problem on the CiviCRM demo site.

Any suggestions for a complete newbie will be gratefully received.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Customise Navigation Menu Bug?
January 29, 2011, 02:24:11 pm
Looks like something specific to the edit you made is breaking the javascript. Can you provide the exact inputs you made when editing the menu option (i.e. exactly what you changed). First guess is single quotes or other special characters in the menu title - but let us know.
Protect your investment in CiviCRM by  becoming a Member!

scuba

  • I’m new here
  • *
  • Posts: 2
  • Karma: 1
  • CiviCRM version: 3.3.3
  • CMS version: joomla 1.5.22
  • MySQL version: 5.1.52
  • PHP version: mysql
Re: Customise Navigation Menu Bug?
January 30, 2011, 02:15:01 pm
I've got the same problem with Italian translation:
From From Email Addresses to Indirizzi mail "da", and another special character I used before, the è one.
Do the double quotes or the special character may cause looping issue?
Please, can you help me to fix it?

Thank you

Scuba

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Customise Navigation Menu Bug?
January 31, 2011, 10:22:06 am
I recreated this behavior on my local install by editing a menu title and including double-quotes. I've filed a bug report for this:
http://issues.civicrm.org/jira/browse/CRM-7472

Since the problem seems to be in the jsTree qQuery widget that we use, I'm not sure how easily / quickly we can fix it. If any of you has experience with javascript / jQuery and can investigate and submit a patch - that will definitely help.

If you're Navigation Menu tree is messed up due to double-quotes added (or possibly special / non-ASCII characters) - the only fix I know of is to edit the rows directly my MySQL - the column you'll need to review and update is civicrm_navigation.label (and possibly civicrm_navigation.name).
Protect your investment in CiviCRM by  becoming a Member!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Customise Navigation Menu Bug?
February 01, 2011, 10:41:00 am
A fix for this issue has been checked in. You can see the commits and view the diff's here:
http://issues.civicrm.org/jira/browse/CRM-7472?page=com.atlassian.jira.ext.fisheye%3Afisheye-issuepanel

Changes were made against the upcoming 3.4 alpha - but ... it would be great if one of you who's had difficulties - esp with special characters - could try to patch a test copy of your site (if you're in production) and verify that things are working now. You may need to adjust the line #'s a bit etc to patch a 3.3 site.
Protect your investment in CiviCRM by  becoming a Member!

scuba

  • I’m new here
  • *
  • Posts: 2
  • Karma: 1
  • CiviCRM version: 3.3.3
  • CMS version: joomla 1.5.22
  • MySQL version: 5.1.52
  • PHP version: mysql
Re: Customise Navigation Menu Bug?
February 01, 2011, 11:09:10 am
Thank you so much, a manual correction of the cvicrm_navigation fixed the issue.

Thank you for the great job guys!

Regards

Scuba

ahth

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 3.3.3
  • CMS version: drupal 6.2
  • MySQL version: 5.1.41
  • PHP version: 5.3.2-1ubuntu4.7
Re: Customise Navigation Menu Bug?
February 01, 2011, 12:01:57 pm
Many thanks for the replies. I can confirm that I did not use any special characters in the edit, just text.

I will apply the patch and see what happens.

ahth

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 3.3.3
  • CMS version: drupal 6.2
  • MySQL version: 5.1.41
  • PHP version: 5.3.2-1ubuntu4.7
Re: Customise Navigation Menu Bug?
February 01, 2011, 12:31:16 pm
Unfortunately, if I have applied the patch correctly (replacing the appropriate php files with the patch files?) and this does not fix the problem.

For info I created a new menu in the Other menu called Test Menu which started the problem. No special characters used.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Customise Navigation Menu Bug?
February 01, 2011, 10:17:49 pm
Just wanted to confirm that you applied both the patches:

https://fisheye2.atlassian.com/changelog/CiviCRM?cs=32145
https://fisheye2.atlassian.com/changelog/CiviCRM?cs=32146

It is working fine on my install. I changed 'Other' to 'Other "Test"'

HTh
Kurund
Found this reply helpful? Support CiviCRM

Conte01

  • I post occasionally
  • **
  • Posts: 79
  • Karma: -1
  • www.aidboard.com
    • Aidboard
  • CiviCRM version: latest
  • CMS version: Drupal
Re: Customise Navigation Menu Bug?
February 02, 2011, 12:31:48 am
Hi,

I also applied all the changes but still the navigation tree is not building. rotating loading thing keeps rotating

tried in several browsers, emptied cache but no improvement

conte
« Last Edit: February 02, 2011, 12:37:57 am by Conte01 »
http://www.aidboard.com

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Customise Navigation Menu Bug?
February 02, 2011, 01:42:08 am
Can you ping us on #civicrm irc channel

Kurund
Found this reply helpful? Support CiviCRM

ahth

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 3.3.3
  • CMS version: drupal 6.2
  • MySQL version: 5.1.41
  • PHP version: 5.3.2-1ubuntu4.7
Re: Customise Navigation Menu Bug?
February 02, 2011, 12:03:55 pm
My apologies, I obviously do not know how to apply a patch, I just copied the latest file called /Core/BAO/Navigation.php to the same place in the build structure. Can someone point me to a guide on how to apply patches?

I have again tried my changes on the demo site and they now work fine. On the assumption that the demo site has been patched the patch works for my problem. I just need to learn how to patch my system correctly.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Customise Navigation Menu Bug?
February 03, 2011, 01:02:07 am
I wouldn't recommend copying file since there might be some other changes in it. There are some changes to CRM/Admin/Page/AJAX.php besides CRM/Core/BAO/Navigation.php

May be google on "how to apply patch"

Hth

Kurund
Found this reply helpful? Support CiviCRM

ahth

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 3.3.3
  • CMS version: drupal 6.2
  • MySQL version: 5.1.41
  • PHP version: 5.3.2-1ubuntu4.7
Re: Customise Navigation Menu Bug?
February 03, 2011, 01:27:57 pm
Yes I did try googling but got nothing about how to actually patch properly. Thanks for all the input though, it has been a good learning curve.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Customise Navigation Menu Bug?
February 03, 2011, 02:45:03 pm
http://drupal.org/node/620014
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Customise Navigation Menu Bug?

This forum was archived on 2017-11-26.