Hello,

on the D7 version we have a Parent: GUID target. In D8 version of Feeds, we have only a Parent term target.
If we have terms with the same name (hierarchical terms), we can't choose a specific term.
How can I add a target to the Parent GUID ?

Thanks for your help.

CommentFileSizeAuthor
#8 2933171-reference-by-item-guid.png62.3 KBMegaChriz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kumkum29 created an issue. See original summary.

kumkum29’s picture

Oups...I don't see the sub target in mapping area.
We can choose a UUID target for the parent. I will test with this option.

kumkum29’s picture

Status: Active » Fixed
kumkum29’s picture

Status: Fixed » Active

I reopen this issue because the UUID target don't work in my case.
Is there possible to have a Parent GUID in the Parent Term target ?

Thanks.

kumkum29’s picture

Here an example if we have a hierarchical taxonomy and terms with same name:

Example taxonomy of cars
Audi (make) > A3 (range) > A3 (model)
Audi (make) > A3 (range) > A3 Sportback (model)

Actually, we don't have a Parent:GUID target. Then, we can't choose the parent term if the range & model have the same name...
With an ID (in csv file) and a Parent GUID target, we solve the problem.

The others sub-targets of Parent Term aren't help us: UUID (not known on import), Description, Name...

Thanks for your help.

kumkum29’s picture

Priority: Normal » Major
kumkum29’s picture

Hello,

Actually, is there any reason why the Parent : GUID target isn't available ?
I don't see how to implement this target in a patch (i'm not a confirmed developper). On import, which hook can I use to target a Parent GUID?

Thanks for your help.

MegaChriz’s picture

Issue summary: View changes
FileSize
62.3 KB

Can you try the patch from #2788631: Add possibility to use GUID as unique entityreference target and report back if that works? That patch allows you to reference a previously imported entity by item GUID.

See also this image:

demonde’s picture

I am working with the dev version with the applied patch.

The import of terms seems to work correct with parents child relation.

But the terms donnot appear in the taxonomy listing. If I simply edit and save the root parent, the parent and its child terms will appear in the taxonomy listing.

The reason for this is that the root terms are not entered in the taxonomy_term_hierarchy table with the parent value 0.

MegaChriz’s picture

Status: Active » Postponed (maintainer needs more info)

Is this still an issue?

g.paluch’s picture

# 8 works but with only one parent. I can't get it to work on taxonomy set like this: VEHICLE: model>make>year. The third column"year" (top parent) becomes a parent on the same level as "Make". Any advice on how can I accomplish this? Thanks