When adding a new path breadcrumb for the first time, I can't advance through the settings (I've tried on a current site and a clean installation. Each time I click the next button I get a javascript error saying:

TypeError: $("select.ctools-master-dependent").once is not a function @ http://omega:8082/admin/structure/path-breadcrumbs/create:216

I can get past this by Next, Back Next, but in some cases I'll get to the end and have a path breadcrumb stuck in the database that can't be deleted, when I try to edit it, I get the error in the attached image, when I try to delete it, I get the error in the other attached image (and the path breadcrumb isn't actually deleted).

CommentFileSizeAuthor
edit-error.png88.85 KBer_d0s
delete-error.png88.57 KBer_d0s

Comments

spleshka’s picture

Thanks for the report. Do you use latest CTools dev version?

er_d0s’s picture

Yes, 7.x-1.2, I tried with the dev version of ctools as well.

It's probably worth noting that I originally had this problem with the 2.x version of the module, upgraded to 3.x and the problem remained.

This is an awesome module by the way, if I can get it working I'll be very happy!

spleshka’s picture

Can you provide steps to reproduce this bug? I have no idea how to get same error.
I see that machine_name was not generated for your PB. Try to use clean Drupal installation and check if bug persists. May be issue in your site and not in PB.

er_d0s’s picture

My apologies, the issue seems to have to do with jquery_update, even though the patched version I'm using allows you to revert to the drupal version of jquery for admin pages, it seems to be the problem. I'll look into this further.

kalabro’s picture

Title: jQuery once error has serious problems » jQuery once error when using jquery_update module
Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

Let's get back to it when new information will be provided.

drugget’s picture

I confirm that with jQuery Update (to jQuery 1.7) the module can't create new breadcrumbs.

kalabro’s picture

Are you using latast stable Ctools and Path Breadcrumbs?
Are error the same as in #0?
Can not reproduce it.

drugget’s picture

Ctools 7.x-1.3
Path breadcrumbs 7.x-3.0-beta2
jQuery Update 7.x-2.3 (updated to jquery 1.7)

I press "Continue" here admin/structure/path-breadcrumbs/create
And get the JavaScript error:
Uncaught TypeError: Object [object Object] has no method 'once'

Using jquery 1.5 works fine.

kalabro’s picture

Status: Postponed (maintainer needs more info) » Active

Thanks. I see it now.

kalabro’s picture

@drugget What is your CDN setting for jquery_update?

kalabro’s picture

OnkelTem’s picture

I have CDN turned off.
Updated to the latest dev JQuery Update.
Cleaned caches.
Adding new item doesn't work with jQuery 1.5, but works with jQuery 1.8 -- at least I could move toward the next screen of the wizard. Unfortunately this didn't help much since drop-downs don't work with jQuery 1.8, see #2066223: Isn't compatible with jQuery Update

OnkelTem’s picture

Issue summary: View changes

Formatting change

ergophobe’s picture

I could not get this to work with JQuery 1.5.

However, the patch in #25 of #1548028: Make the default jQuery version (1.4.4) for D7 an option fixes it fine:
https://drupal.org/comment/7983779#comment-7983779

[edit: I should clarify - it solves this issue by letting you use the default Drupal Jquery 1.4.4 on admin pages and other versions on the front end.]

ergophobe’s picture

Issue summary: View changes
ergophobe’s picture

kalabro’s picture

Status: Closed (won't fix) » Closed (duplicate)
Related issues: +#2066223: Isn't compatible with jQuery Update

Hello, @ergophobe!
Could you please provide more info about JS errors you got here: #2066223: Isn't compatible with jQuery Update?

Thanks!