Skip to content
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

Fix delete nothing #118

Closed
wants to merge 1 commit into from
Closed

Conversation

schiwekM
Copy link

This happens when I have a handler on an entity and inside it trigger a DELETE for an associated entity but the association actually has no data stored. Then the req.diff is undefined causing a 500 error.

The fix sets data to a default empty object so the later handlers of the plugin detect that there is nothing to log.

@sjvans
Copy link
Contributor

sjvans commented Oct 25, 2024

superseded by #121

sjvans added a commit that referenced this pull request Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants