Hi,
I have 2 versions for a website, one local and one in production. I use config export/import to share settings like views between local to prod. I done a migration process on both websites.
This work good but there is an issue with field using taxonomy term.
On local, I created a view that use term as dynamic class like this:
Adding a taxonomy field restricted to a vocabulary ans rewrite the output with token.
{{ term_node_tid }} ==
{{ term_node_tid__tid }} == L'identifiant du terme de taxonomie pour le terme.
{{ term_node_tid__name }} == Le nom du terme de taxonomie pour le terme.
{{ term_node_tid__vocabulary_vid }} == Le nom système du vocabulaire auquel le terme appartient.
{{ term_node_tid__vocabulary }} == Le nom pour le vocabulaire auquel appartient le terme.
The first one is empty but it works when I use it in the HTML list settings as class:
tid-{{ term_node_tid }}
but on the production website, after re-set the right vocabulary, tid doesn't appear...I must recreate it to get it works.
I don't understand why the prod website lose tid's after importing view and terms ( with structure sync) ?
Thanks
Comments
Comment #2
aiphesComment #3
aiphesMore info about this error/bug, watchdog extract:
Comment #4
aiphesMigration about terms where not complete and content not tagged. After re-run migration like:
Content is tagged and Views with dynamic class on TID work. Fixed.
Comment #5
lendudeThanks for reporting back the fix.