I cannot get to the bottom of this, but since updating from RC2 to RC4, all the products now have an unaliased url for their breadrcumb links, instead of before, it was "product-category/name".

I also had a menu block in the sidebar, and this disappears completely when I view node. Its really not making a lot of sense....

The aliases are fine anywhere else on the site.

Comments

jsacksick’s picture

It's probably related to #1839286: Update 7205 is prone to timeouts because we're supposed to regenerate the aliases at the end of the update process and that's the line you commented out.

alexp999’s picture

Category: bug » support

I have already manually rebuilt all aliases after the upgrade.

And the aliases display fine in every other part of the site.

It is only on the product display (node) view that the terms don't use their aliases.

jsacksick’s picture

Ok I'm sorry I just confirmed the bug.

alexp999’s picture

Category: support » bug

Thanks for confirming. I guess this isn't a support request anymore.

tadesign’s picture

Category: support » bug

Hi,

I also have the problem after updating a development version of a clients site I'm building from rc2, the urls have gone from something like: product-category/franking-machines-folder-inserters to something like this: taxonomy/term/7

Also my taxonomy headings have disappeared from the generated collection taxonomy views pages (/taxonomy/term/%) e.g. the page for product-category/franking-machines-folder-inserters previously displayed Franking Machines & Folder Inserters as a title, I'm not sure if this is related to the same problem.

My menu block sidebar was also affected and any product with a menu link to it's related taxonomy item has needed re-linking. Also I'm not sure if this is related to the same problem but I have been having issues with the breadcrumb menu.

I noticed a new dropdown item in Product Category -> Taxonomy Menu -> menu path type setting. Previously it had been Default but after the update was set to the new item - Commerce Kickstart Taxonomy. This seemed to be breaking the breadcrumb menu and when on a product page from a submenu the breadcrumb would show as:
Home » Neopost IJ25 franking machine instead of the correct: Home » Products and Consumables » Products » Franking Machines & Folder Inserters » Low Volume Franking Machines » Neopost IJ25 franking machine. Setting the Taxonomy Menu Path type back to Default fixed this for the moment.

Thanks

jsacksick’s picture

Status: Active » Needs review

A fix has been sent here, https://code.drupalcommerce.org/#/c/550/1 , I'll probably merge that once I'll get some feedbacks

alexp999’s picture

Bit tricky to find the patch, and then to work out where it needed to be applied but just used:

http://drupal.org/files/crumbs-fix-taxonomy-term-uri-hardcode-1850860-1....

On

/profiles/commerce_kickstart/modules/contrib/crumbs/plugins/crumbs.taxonomy.inc

And can confirm it is working

bojanz’s picture

Status: Needs review » Fixed

Committed the Crumbs patch in #1850860: Use entity_uri instead of taxonomy/term/tid for taxonomy terms links, and added the patch to Kickstart until Crumbs gets a new release.

candelas’s picture

i am using commerce kickstart 7.x-2.0-rc4 for the first time.
i have this problem but if i apply this patch, i get this error:

EntityMalformedException: Missing bundle property on entity of type taxonomy_term. in entity_extract_ids() (line 7778 of /datos/treballs/tarros/tarros/includes/common.inc).

should i upgrade to the dev version? is there other solution? thanks

bojanz’s picture

Either update to the -dev version of Kickstart, or wait for the new release of Kickstart (in the next 48h)

candelas’s picture

thanks @bojanz for your fast response.
at the end i resolved it with Page manager (a submodule of Ctools). I made a redirect in the vocabulary collection to "collection/%term:name".
if i dont have any more problems, i will keep with the 7.x-2.0-rc4 for next week :)
great distribution, thanks!

Status: Fixed » Closed (fixed)

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

marktheshark’s picture

For me oddly the Category vocabulary (which I have renamed 'Product Category') refuses to generate any aliases whatsoever, despite the URL pattern product-category/[term:name]

Even deleting all taxonomy term aliases and bulk creating them did not do the trick.

For now I am forced to specify aliases manually for this vocabulary.

Will open a new issue for this.

jawi’s picture

Issue summary: View changes
Issue tags: +url-pad, +url-alias, +collection

Same issue for me. URL-alias are enable but stay empty. The pattern that is configured at admin/config/search/path/patterns does not take place.