Scopes not working

Feature(s) impacted

Scopes

Observed behavior

When I set a tag on my user:

Then I set the following scope on a collection:

I get the following error:

[2024-10-23 14:42:34 +0000] Forest 🌳🌳🌳  Records Index Count error: PG::InvalidTextRepresentation: ERROR:  invalid input syntax for type bigint: ""
LINE 1: ... = "documents"."workspace_id" WHERE ((workspaces."id" = ''))

Expected behavior

Having no error and documents filtered by workspace.

Thanks for the help!

Context

  • Project name: Finance X
  • Team name: Operations
  • Environment name: Development
  • Agent technology: rails
  • Agent (forest package) name & version: forest_liana (9.3.16)
  • Database type: postgresql

Hello @jbescoyez

I reproduce this issue on my end.
I have opened a ticket and I’ll get back to you when this issue has been resolved.

2 Likes

Just a quick update: the bug you reported has been fixed in version v9.4.1! You should be all set now.

If you run into any more issues or have questions, feel free to ask!

Thanks for your patience!

2 Likes