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

Add bookSeries id attribute to findAllExpandedWhere #3898

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

mikiher
Copy link
Contributor

@mikiher mikiher commented Jan 26, 2025

Brief summary

Adds bookSeries.id attribute to the sequelize query in LibraryItem.findAllExpandedWhere.

Which issue is fixed?

Fixes #3883

In-depth Description

The bookSeries id is required for the bookSeries.destroy() call here, without it, the destory() call throws an exception since it doesn't have the id in order to construct the deletion query.

Note: this only happens in batch quick match, which calls findAllExpandedWhere()

How have you tested this?

Batch quick match which crashed the server before now completes successfuly.

@mikiher mikiher marked this pull request as ready for review January 26, 2025 10:34
@advplyr
Copy link
Owner

advplyr commented Jan 26, 2025

Thanks!

@advplyr advplyr merged commit 6ed2b57 into advplyr:master Jan 26, 2025
5 checks passed
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.

[Bug]: Quick Match causing crash
2 participants