The patch at #2755445: Auto Entity label does not set entity labels and breaks contrib modules implements automatic entity labels for taxonomy vocabularies. An Auto label tab should be displayed on the vocabulary administration page at admin/structure/taxonomy/manage/{vocabulary}/overview but it does not appear. The admin page is accessible directly at admin/structure/taxonomy/manage/{vocabulary}/auto-label (If you haven't applied the patch from #2755445 the admin page is located at auto-label/taxonomy_vocabulary/{vocabulary}.)

A clue that might help to find the bug is that on a multilingual website the Translate taxonomy vocabulary is not displayed either, but can be accessed at admin/structure/taxonomy/manage/{vocabulary}/translate. Both the Auto label and Translate taxonomy vocabulary tabs are shown when you are on either or those two admin pages.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Peacog created an issue. See original summary.

Peacog’s picture

The problem is that getDerivativeDefinitions() in AutoEntityLabelConfigTask expects the entity's admin page base route to be edit_form, but the taxonomy module uses the overview_form as its base route. This might be a core bug. I have raised a related issue in the core taxonomy module here: #2822890: Taxonomy vocabulary translation local task tab not shown in UI. Depending on the outcome of that issue, there may or may not be some work needed here.

Peacog’s picture

Here's a patch that shows Auto label for taxonomy. It hard-codes the base route for taxonomy vocabulary entities, and can be used as a stop-gap until #2822890: Taxonomy vocabulary translation local task tab not shown in UI is resolved.

Note, this patch should be applied after the big one in #2755445: Auto Entity label does not set entity labels and breaks contrib modules

Peacog’s picture

Status: Active » Needs review
Peacog’s picture

Peacog’s picture

hansfn’s picture

Issue summary: View changes
hansfn’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
1.21 KB

Re-rolled the patch so it applies to latest patch for #2755445: Auto Entity label does not set entity labels and breaks contrib modules - in comment 30. Works great.

hansfn’s picture

Issue summary: View changes
hansfn’s picture

Issue summary: View changes

purushotam.rai’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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