Skip to content

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