-
Notifications
You must be signed in to change notification settings - Fork 32
Unexpected query response for Find operations on empty/new PMGD db #307
Copy link
Copy link
Closed
Labels
BugIndicates unexpected or undesired behaviorsIndicates unexpected or undesired behaviorsPriority: BacklogTasks that are not pressing, but to be tracked and revisitedTasks that are not pressing, but to be tracked and revisited
Description
Describe the bug
When starting a brand-new instance of VDMS and no PMGD db available. Running a query node/edge transaction (FindImage for example) will result in a query response with a ReadOnly exception error.
To Reproduce
Steps to reproduce the behavior:
- Create a brand-new instance of VDMS
- Perform a FindImage command with any constraints, it doesn't really matter at this point since the db is empty.
- Your query response will contain a ReadOnly exception error.
Expected behavior
Even when the DB is empty, querying a node or edge that does not exists should result in a response with a "No entities found" message instead of an error.
Screenshots
Query:
Reponse:
Additional context
Expected response:

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugIndicates unexpected or undesired behaviorsIndicates unexpected or undesired behaviorsPriority: BacklogTasks that are not pressing, but to be tracked and revisitedTasks that are not pressing, but to be tracked and revisited