Skip to content

ErrorException: Notice: Undefined index:  #170

@joaopbnogueira

Description

@joaopbnogueira

Describe the bug
Executing a query in tight loop with increasing offset triggers this exception.

To Reproduce
Steps to reproduce the behavior:

  1. Create client with neo4j scheme bolt
  2. Open read transaction
  3. Create a query with limit 1000
  4. Commit transaction
  5. Manually increase the offset
  6. repeat until it errors (or the resulting number of elements < limit).

Issue only happens when we get more results than the limit and we need to keep looping

Expected behavior
Be able to call the query in a loop until no more results exist.

Screenshots
Screenshot 2023-02-24 at 17 59 53

Desktop (please complete the following information):

  • Library version: 2.8.x - tried them all
  • Neo4j Version: 4.4.14 (enterprise)
  • PHP version: 7.4.33
  • OS: Linux 5.4.0-1086-gke

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions