Skip to content

Unexpected query response for Find operations on empty/new PMGD db #307

@StevenRojasC

Description

@StevenRojasC

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:

  1. Create a brand-new instance of VDMS
  2. Perform a FindImage command with any constraints, it doesn't really matter at this point since the db is empty.
  3. 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:

Image

Reponse:

Image

Additional context
Expected response:

Image

Metadata

Metadata

Assignees

Labels

BugIndicates unexpected or undesired behaviorsPriority: BacklogTasks that are not pressing, but to be tracked and revisited

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions