drupal version:8.5.4 jsonapi return taxonomy parent is always empty,and no any pid value in attributes。
moxihang created an issue. See original summary.
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!
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.
Automatically closed - issue fixed for 2 weeks with no activity.
Comments
Comment #2
gabesulliceHi @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!
Comment #3
wim leersThis 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.
Comment #4
wim leers