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.
Comment | File | Size | Author |
---|---|---|---|
#8 | auto_label_tab_taxonomy-2822546-8.patch | 1.21 KB | hansfn |
#6 | auto_label_tab_taxonomy-2822546-6.patch | 1.79 KB | Peacog |
#6 | interdiff-2822546-3-6.txt | 777 bytes | Peacog |
#3 | auto_label_tab_taxonomy-2822546-3.patch | 1.87 KB | Peacog |
Comments
Comment #2
Peacog CreditAttribution: Peacog as a volunteer commentedThe 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.
Comment #3
Peacog CreditAttribution: Peacog as a volunteer commentedHere'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
Comment #4
Peacog CreditAttribution: Peacog as a volunteer commentedComment #5
Peacog CreditAttribution: Peacog as a volunteer commentedComment #6
Peacog CreditAttribution: Peacog as a volunteer commentedNeeded a re-roll after update #22 in the main issue #2755445: Auto Entity label does not set entity labels and breaks contrib modules
Comment #7
hansfn CreditAttribution: hansfn as a volunteer commentedComment #8
hansfn CreditAttribution: hansfn as a volunteer commentedRe-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.
Comment #9
hansfn CreditAttribution: hansfn as a volunteer commentedComment #10
hansfn CreditAttribution: hansfn as a volunteer commentedComment #13
purushotam.rai CreditAttribution: purushotam.rai at QED42 commented