Language-export creates an inconsistent taxononomy file

Created on 25 February 2023, over 1 year ago

Problem/Motivation

language-export creates an inconsistent taxononomy file.

Steps to reproduce

For example:

drush --uri=YOUR_URL language-export en . taxonomy --replace=true --filter=0
This creates a file taxonomy.en.po, where I can find this:
......
#: taxonomy:term:798:name
msgctxt "term:798:name"
msgid "3D Model libraries"
msgstr ""

#: taxonomy:term:799:name
msgctxt "term:799:name"
msgid "3D Model libraries"
msgstr ""
.....
But In database:

MySQL > select * from taxonomy_term_data where tid=798;
Empty set (0.00 sec)

MySQL > select * from taxonomy_term_data where tid=799;
+-----+-----+--------------------+-------------+--------+--------+----------+-----------+
| tid | vid | name | description | format | weight | language | i18n_tsid |
+-----+-----+--------------------+-------------+--------+--------+----------+-----------+
| 799 | 2 | 3D Model libraries | | basic | 0 | und | 0 |
+-----+-----+--------------------+-------------+--------+--------+----------+-----------+
1 row in set (0.00 sec)

MySQL > select * from taxonomy_term_data where name='3D Model libraries';
+-----+-----+--------------------+-------------+--------+--------+----------+-----------+
| tid | vid | name | description | format | weight | language | i18n_tsid |
+-----+-----+--------------------+-------------+--------+--------+----------+-----------+
| 799 | 2 | 3D Model libraries | | basic | 0 | und | 0 |
+-----+-----+--------------------+-------------+--------+--------+----------+-----------+
1 row in set (0.00 sec)

Why I get info about a taxonomy tern that does not exist in database?????

Regards,
Jordi
JOINSO

πŸ› Bug report
Status

Active

Version

1.5

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain JOINSO Sabadell

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024