drupal version:8.5.4
jsonapi return taxonomy parent is always empty,and no any pid value in attributes。

Comments

moxihang created an issue. See original summary.

gabesullice’s picture

Status: Active » Postponed (maintainer needs more info)

Hi @moxihang!

Can you provide some more detail, a sample of the URL you're making a request against and the JSON that you're receiving?

If possible, a regression test would be even better!

wim leers’s picture

This will be true for the remainder of Drupal 8.5, because for this to work, core needed to be fixed in #2543726: Make $term->parent behave like any other entity reference field, to fix REST and Migrate support and de-customize its Views integration, that bugfix ships with Drupal 8.6.

wim leers’s picture

Category: Bug report » Support request

Status: Fixed » Closed (fixed)

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