Integrated: Fix NPE in 'notes' filter after SKARA-1316

Erik Joelsson erikj at
Wed Jan 19 19:34:58 UTC 2022

On Wed, 19 Jan 2022 19:22:10 GMT, Erik Joelsson <erikj at> wrote:

> The fix for SKARA-1316 resulted in NPE in several cases. It appears the field "target_type" is often explicitly set to null. To mitigate this, I added a null check and moved this filter a bit lower in the order (so we only apply it to notes that are a bit closer to what we want).

This pull request has now been integrated.

Changeset: ab4c9f4f
Author:    Erik Joelsson <erikj at>
Stats:     5 lines in 1 file changed: 3 ins; 2 del; 0 mod

Fix NPE in 'notes' filter after SKARA-1316

Reviewed-by: kcr



More information about the skara-dev mailing list