Closed PeterSchwarzHPI closed 1 year ago
@PeterSchwarzHPI Should be fixed in PR #24 Can you confirm?
This was caused by shortcut when many2many/one2many only have one record. I added a unitary test for this scenario.
Hi @PeterSchwarzHPI I am closing the issue since I never got a response. I hope it fixed your issue.
As always, thank you for the reporting.
Describe the bug If I query on a project's tasks (could probably be every other data model) through projects with a domain on the tasks, in some cases I receive an array filled with null values rather than an empty array.
To Reproduce Query in a way as shown in the screenshots. The main difference between those screenshots seems that the tasks in one project are not empty (or there is a second project being queried).
Expected behavior If the query filters by domain an empty array should be returned in the case no child records can be fetched.
Screenshots Correct behaviour:
Wrong behaviour: