Skip to content
This repository was archived by the owner on Aug 17, 2024. It is now read-only.
This repository was archived by the owner on Aug 17, 2024. It is now read-only.

No errors on bad condition expression #1

Description

@olexandrvynnychenko

The following code doesn't throw an exception:

RelExParser.ParseCondition("entity_id = \"eventId\":var some dumb stuff omfg")

It acts like if it was:

RelExParser.ParseCondition("entity_id = \"eventId\":var")

That means only the first row of the following expression is actually evaluated while the whole condition is believed to be checked:

entity_id = "eventId":var
event_notes.id IN visibility.v(v.source_name = 'event_notes' and v.visible_to='currentUserEntranceRole':var)[v.id]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions