Skip to content

[Bug]: Confluence form registers scope fields more than once #22256

Open

Description

@sohurdc

Self Checks

  • I searched open and closed issues.
  • I am submitting this report in English.
  • I completed the required bug report fields.

RAGFlow workspace code commit ID

943cc4d71ed0116b8f51e5b1dcdb84b39ad78eb3

RAGFlow image version

Source checkout and frontend form test.

Actual behavior

The Confluence connector form registers visible and hidden definitions for the same space key, page ID, and recursive indexing fields. After switching to Page mode and triggering validation, the form can render two Page ID controls. A regression test on upstream main reproduced two Page ID labels and a duplicate React key warning.

Expected behavior

The selected mode determines which scope fields appear, with one definition per setting.

Steps to reproduce

  1. Open the Confluence data source form in All mode.
  2. Switch to Page mode and trigger form validation.
  3. Check how many Page ID and recursive indexing controls appear.
  4. Switch to Space, then All, and repeat.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions