Feature(s) impacted
On Workspace, Filtering a collection “Transactions” to list only records related to the selected user record
Observed behavior
when the “stripe_id” of the selected user is null i got this error:
This should show the transactions related to user.
The collection filter :
Failure Logs
How can I let it filter even when the value “stripe_id” of some users is null?
- Project name: …
- Team name: …
- Environment name: …
- Agent technology: (nodejs, php, rails, python)
- Agent (forest package) name & version: …
- Database type: …
- Recent changes made on your end if any: …
Hello @Adel_de_Clevermate,
As you’ve seen the validator on the agent is quite strict but this is to provide a better UX when using filters and whatnot.
However I understand your issue and I’ll see what we can do to mitigate this. I’ll keep you updated when I have more to share.
1 Like
Hello @Adel_de_Clevermate,
We decided to categorise this as a bug on the agent side, and a fix will be released ASAP, as always, I’ll inform you when it is released 
Best regards,
The fix is available on the latest release of the @forestadmin/agent: "1.58.3"

Thanks for the report 
1 Like
@dogan.ay
I just noticed that with the same filter above, when I select a user with stripe_id=null it lists all the transactions in DB (which is not the goal) it should list zero records.
Can you confirm this please?
Thanks.
I do not observe the same behaviour.
It should apply the exact condition you are expecting based on the filters you have defined:
transactions.stripe_id IS NULL OR transactions.userId = {{contacts.selectedRecord.id}}
Please make sure that you are selecting only one record from your contacts
collection component if not the filter will not be applied.
You can edit the visibility of your transaction
collection component (collection3) to only be visible when the dynamic value is defined (only when 1 record is selected)