Skip to content

Not existing optional record element recordPosition leads to exception  #7

@cKlee

Description

@cKlee

SRU version 1.2 defines the record element recordPosition as optional.

Im my case this element is missing in the response. This leads to the exception:

Fatal error: Uncaught Scriptotek\Sru\Exceptions\InvalidResponseException: Wrong index of first record in result set. Expected: 1, got: 0

Is there a way around this? I'm not comfortable to suggest any change in your code.

Thanks!

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