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

65 rollup with empty select fix #68

Merged
merged 6 commits into from
Jul 11, 2022
Merged

Conversation

johguentner
Copy link
Member

fix: check if content is set for rollup properties

  • specific rollup properties can be null, which lead to issues of setting the content of the property
  • this fix checks the existence of content and skips setting the content, if it is null (e.g. empty selects, multi_selects etc.)
  • fixes issue: Rollup that refers to an empty Select property throws exception during database query

johguentner and others added 2 commits July 9, 2022 13:03
- specific rollup properties can be null, which lead to issues of setting the content of the property
- this fix checks the existence of content and skips setting the content, if it is null (e.g. empty selects, multi_selects etc.)
- fixes issue: Rollup that refers to an empty Select property throws exception during database query
johguentner and others added 2 commits July 9, 2022 16:21
- testing the edge case of the fix "65-rollup-with-empty-select-fix"
@johguentner
Copy link
Member Author

Hey @mechelon,
tests for this edge case are added. ✅ 🎉
If your review passes, let's add this to v0.8.0.

@johguentner
Copy link
Member Author

Hey @mechelon,
tests are modified (due to breaking changes) and additional ones added. ✅ 🎉
If your review passes, let's add this to v0.8.0 as well.

@johguentner johguentner changed the base branch from main to dev July 9, 2022 18:56
@johguentner johguentner requested a review from mechelon July 11, 2022 08:27
@johguentner johguentner merged commit b935959 into dev Jul 11, 2022
@johguentner johguentner deleted the 65-rollup-with-empty-select-fix branch February 3, 2023 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rollup that refers to an empty Select property throws exception during database query
2 participants