My configuration described here: #924132: Override and order of taxonomy plugin
I've disabled taxonomy plugin, enabled mine (taxinav),
My class looks like:


class taxinav_class_CrumbsParentFinder {

  function construct() {
    return array(
      'admin' => new self,
      'hierarchy' => new _taxinav_CrumbsParentFinder__hierarchy,
      'term_node' => new _taxinav_CrumbsParentFinder__term_node,
      'term_name' => new _taxinav_CrumbsParentFinder__term_name,
    );
  }
...

In this case breadcrumb doesn't work, because names of the keys like 'admin', 'hierarchy', etc. already exists in other plugin ('admin' is quite common name). Doesn't matter if it's disabled.

Changing to:

      'taxinav_admin' => new self,
      'taxinav_hierarchy' => new _taxinav_CrumbsParentFinder__hierarchy,
      'taxinav_term_node' => new _taxinav_CrumbsParentFinder__term_node,
      'taxinav_term_name' => new _taxinav_CrumbsParentFinder__term_name,

does work.

Probably the bug is somewhere in following code (crumbs.PluginEngine.inc)

      foreach ($objects as $instance_key => $object) {
        $instanceBasket->addPluginInstance($instance_key, $object);
      }

Comments

donquixote’s picture

Yes, could be.

donquixote’s picture

I guess this has been fixed in 2.x

donquixote’s picture

Status: Active » Needs review

Tagging everything as "needs review" that is "probably fixed in 2.x".

donquixote’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.