-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported filter pattern for graph traversal error thrown when using permissions profile. #296
Comments
@jdsantiagojr could you please provide the definition of your root entity and the type of the ctx field? |
@mfusser Yes. Pasted the root entity and context entity extension below. Really appreciate you taking look.
|
@jdsantiagojr On an unrelated note, you don't have to provide "includeInSearch: false" as that is the default. Although of course you can if you want to define that explicitly. |
@mfusser The I did tinker with the code and removed the condition on line 1490. I left only the else portion ( |
Sorry I didn't have the time to look at it yet. I'll try to have a look today. |
the error can be thrown at these two places: cruddl/src/database/arangodb/aql-generator.ts Line 1364 in 3567747
cruddl/src/database/arangodb/aql-generator.ts Line 1374 in 3567747
both cases assert that the condition is of the form "vertex.field value". In your case , it's not just a simple field but a nested one ( Could you try if it works if you move the I think it should be possible to fix this locally in the |
Hello,
I'm getting
Unsupported filter pattern for graph traversal ($Product_66.ctx.businessUnit IN literal [ "320859222"])
when I use the following permissions profile.The entities have a
ctx
entity extension withbusinessUnit
field. I'm hoping you can give me some information on why this might be occurring and how I might be able to resolve.Look forward to hearing back.
The text was updated successfully, but these errors were encountered: