Skip to content

bug: Error: OC: Query: in selectSQL cursor Couldn't read row 0, col -1 from CursorWindow #653

Description

@ov77

Plugin version:

7.0.1

Platform(s):

Android 16

Current behavior:

After upgrading the plugin from 7.0.0 to 7.0.1, I get an error when executing the following query (on Android):

Query:
select count(distinct c.id) from conversations as c
inner join conversations_folders as cf on cf.conversation_id = c.id
where cf.folder_id = "something"

Error:
Error: OC: Query: in selectSQL cursor Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
at returnResult (:947:32)
at win.androidBridge.onmessage (:922:21)

It works fine if I switch back to sqlite 7.0.0.

Capacitor doctor:

Latest Dependencies:

  @capacitor/cli: 7.4.2
  @capacitor/core: 7.4.2
  @capacitor/android: 7.4.2
  @capacitor/ios: 7.4.2

Installed Dependencies:

  @capacitor/android: 7.4.2
  @capacitor/core: 7.4.2
  @capacitor/cli: 7.4.2
  @capacitor/ios: 7.4.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions