Skip to content

Result set rows are duplicated after "Move into editor" #583

Open

Description

@benetti-marco

Describe the bug
After running a SELECT in the Results view and clicking "Move into editor", the editor tab shows every row twice (the rows that were already loaded, followed by the same rows again from the first page). Clicking Refresh in the editor tab shows the correct rows.

To Reproduce

  1. Run a SELECT that returns rows
  2. In the Results view, click "Move into editor" (button next to the search box, or the view action).
  3. The editor tab shows the rows twice.
  4. Click Refresh: the rows are correct.

Expected behavior
The editor tab shows the same rows as the view, and keeps fetching from where the view left off.

Environment

  • Db2 for IBM i: v2.1.0
  • vscode-rpgle: v0.33.9
  • Code for i: v3.0.13
  • VS Code: 1.140.0, Windows

Activity

  1. buzzia2001 commented on Oct 9, 2026

    @buzzia2001
    Member

    Ciao @benetti-marco,
    Unfortunately, I wasn't able to reproduce the issue... Does it happen in all circumstances? Or only in specific situations?

  2. benetti-marco commented on Oct 12, 2026

    @benetti-marco
    Author

    Ciao @buzzia2001 .
    Thanks for your answer.
    It seems to happen every time.
    Can I send some log to help?

  3. buzzia2001 commented on Oct 12, 2026

    @buzzia2001
    Member

    @benetti-marco pleasy try this version and let me know:

    vscode-db2i-2.1.1-dev.0.vsix.zip

  4. benetti-marco commented on Oct 12, 2026

    @benetti-marco
    Author

    @buzzia2001 It works!
    thank you.

  5. buzzia2001 commented on Oct 12, 2026

    @buzzia2001
    Member

    Fixed in #582

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions