Closed (fixed)
Project:
Taxonomy CSV import/export
Version:
7.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2010 at 12:54 UTC
Updated:
13 Sep 2010 at 19:40 UTC
I was testing different import/export formats and when trying "First level parents/children", the exported CSV file resulted in something like this:
term-name-1, 123, 124
term-name-2, 123
...
instead of printing the term names, the term ids of the parents or children got returned. This is because of API changes in taxonomy_get_parents and taxonomy_get_children (#870528: taxonomy_get_parents(), taxonomy_get_children(), and taxonomy_get_tree() do not return a full term objects) and therefore broken taxonomy_csv_term_get_parents_names and taxonomy_csv_term_get_children_names functions.
The uploaded patch fixes this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomy_csv_names.patch | 968 bytes | mh86 |
Comments
Comment #1
Daniel_KM commentedHi,
Thanks for your patch. It has been committed. I have to add an automatic simply test, but time lacks.
Sincerely,
Daniel Berthereau
Knowledge manager