At the moment, the terms added by OG Vocab at the content creation are not saved as normal terms handled by Core Taxonomy. Therefore, the core taxonomy (views) page can't display the tagged content. e.g. /taxonomy/term/* pages or Content: All taxonomy terms (All taxonomy terms) Views Field.

Unless what I saw above is a bug. The question is Why not reuse the core taxonomy for data CRUD?

CommentFileSizeAuthor
#1 Screenshot 1:14:13 10:17 AM.png72.17 KBamitaibu
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

amitaibu’s picture

Priority: Critical » Normal
Status: Active » Fixed
FileSize
72.17 KB

> At the moment, the terms added by OG Vocab at the content creation are not saved as normal terms handled by Core Taxonomy.

Yes they are, you just need to enable "Taxonomy index" on the field settings (make sure you work with an updated Entity-reference module).

btw, there's no "critical" support request ;)

skyredwang’s picture

Category: support » bug
Status: Fixed » Active

I didn't see the setting there, however, my setting has been enabled. So, I guess this become a bug report.

I am using Entity reference 7.x-1.0, OG Vocabulary 7.x-1.x-dev (2012-Dec-17) and Chaos tool suite (ctools) 7.x-1.2 with patch #1707810: Allow mockup field settings in ctools_field_invoke_field()

You mention that I need an aupdated Entity-reference module. Which version is that?

skyredwang’s picture

Upgraded to OG Vocabulary 7.x-1.x-dev (2013-Jan-09), still don't see the taxonomy data available via Core Taxonomy

skyredwang’s picture

Priority: Normal » Critical

Upgraded to Entity reference 7.x-1.0+3-dev (2013-Jan-01), run cron, clear cache, but still don't see the taxonomy data available via Core Taxonomy

Change this issue to a critical bug.

amitaibu’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

@skyredwang , please try on a clean installation -- I've re-checked and it's working.

skyredwang’s picture

Upgraded Entity reference to 7.x-1.0+4-dev (2013-Feb-01). Still don't see the tagged content under /taxonomy/term/*

amitaibu’s picture

> please try on a clean installation

Is it on a clean installation?

skyredwang’s picture

Status: Postponed (maintainer needs more info) » Fixed

After a complete uninstall and manual clean up, then re-install, it finally worked. I guess this is no upgrade path.

Status: Fixed » Closed (fixed)

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

heyyo’s picture

Issue summary: View changes
Status: Closed (fixed) » Active

I also have the problem on an existing website. I have no important content on it, but could not recreate this website from scratch.
Could you explain me what you did @skyredwang.

I tried to remove all og_vocab fields and reinstalling og_vocab module, but still I have no data inside taxonomy_index table when a create new node with tags.

skyredwang’s picture

Status: Active » Fixed

I uninstalled this module first, then deleted all the related tables generated by this module (The uninstalling process should have done this instead).

heyyo’s picture

Yes thanks, I finally succeeded also. I also had to remove og_vocabs variables and entry in system, and also entry in field_config and field_config_instance

Status: Fixed » Closed (fixed)

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

scotwith1t’s picture

Status: Closed (fixed) » Active

I'm gonna have to chime in here and reopen as I'm having the same issue as @heyyo. After disabling, uninstalling and checking to make sure all og_vocab-related stuff was gone from the DB, reinstalling did not make the terms start being added to the taxonomy_index table. Can you explain how the module attempts to make that happen? What file, what function is it supposed to happen so i can try and debug?

scotwith1t’s picture

Not entirely sure, but i think my issue lied with Features. All of our content types are being packaged up with features, which have the og_vocab field on them. Something about this setup makes that taxonomy-index handler not get registered with ctools. If I remove all og_vocabulary fields, disable, uninstall the module, reinstall and re-create the fields (by checking the checkbox for the desired content types on the vocab edit page), it starts working. So, best I can tell, there may be an issue with this module's og_vocabulary field being packaged up with features. On a clean install with no features in play, i couldn't get it to break at all.

scotwith1t’s picture

Title: OG Vocab is not working with Core Taxonomy » OG Vocab is not working with Features
Category: Support request » Bug report

So I'm more and more convinced ours is a problem with features compatibility. Basically, when you export an instance of og_vocabulary, there is NO part of the export code that indicates there is an taxonomy_index behavior on the field instance. Any tips on how to approach this, I'd be happy to try and get this worked out, but pretty sure that this is a shortcoming of the module but not entirely certain...thanks! I can create a new issue if you think that's needed too.