Skip to content

Navigation item related field not set in webhook payload #546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mvo-zyres opened this issue Apr 12, 2025 · 1 comment
Open

Navigation item related field not set in webhook payload #546

mvo-zyres opened this issue Apr 12, 2025 · 1 comment
Assignees
Labels
bug Something isn't working v5 Strapi v5

Comments

@mvo-zyres
Copy link

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 mvo-zyres changed the title Related field not set in webhook payload Navigation item related field not set in webhook payload Apr 12, 2025
@cyp3rius cyp3rius added bug Something isn't working v5 Strapi v5 labels Apr 23, 2025
@mateusz-kleszcz
Copy link
Contributor

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v5 Strapi v5
Projects
None yet
Development

No branches or pull requests

3 participants