strapi-plugin-navigation icon indicating copy to clipboard operation
strapi-plugin-navigation copied to clipboard

Navigation item related field not set in webhook payload

Open mvo-zyres opened this issue 7 months ago • 1 comments

When receiving webhooks for the navigation items: In the entry payload the related field is not there. Maybe there is something wrong with the population. Would be nice if you could have a look. Thank you in advance!

System Details

Environment: development
OS: x86_64 GNU/Linux
Strapi Version: 5.11.1
Node/Yarn Version: yarn/4.7.0 node/v22.13.1
Edition: Community
Database: PostgreSQL 17.2 (Debian 17.2-1.pgdg120+1)

strapi-plugin-navigation:  3.0.11

mvo-zyres avatar Apr 12 '25 23:04 mvo-zyres

@mvo-zyres thank you for reporting this issue.

After reviewing the behavior, we've confirmed that Strapi does not support polymorphic (morphToMany) relations in webhook payloads. Since our plugin's related field relies on this type of relation, it won't be included automatically in the event data.

At this point, we'll wait for Strapi to introduce native support for polymorphic fields in these contexts before making any changes on our side. We'll revisit the issue once that support is available.

Thanks again for your understanding!

mateusz-kleszcz avatar May 08 '25 13:05 mateusz-kleszcz

Closing as no planned.

cyp3rius avatar Aug 19 '25 11:08 cyp3rius