Skip to content

[Bug]: Azure Blog Storage Connector: "Azure Blob Storage Setup" dialog caches previous field state and error messages on cancel #2048

Description

@mpawlow

OpenRAG Version

0.6.2

Deployment Method

Local development (make dev)

Operating System

Ubuntu 24.04.4 LTS

Python Version

Python 3.13.14

Affected Area

Connectors (Google Drive, OneDrive, SharePoint)

Bug Description

"Azure Blob Storage Setup" dialog caches previous field state and error messages on cancel

Steps to Reproduce

  • Shutdown Azurite
    • make azurite-down
  • Go to Settings page
  • Click Connect button on Azure Blob Storage connector.
  • Select Connection String Auth
  • Specify a valid Connection String
  • Click Save button (without clicking Test Connection & List Containers button)
    • "Test the connection first to validate credentials." message is shown
  • Click Cancel button
  • Click Connect button on Azure Blob Storage connector.
    • BUG: Connection String is still persisted
    • BUG" "Test the connection first to validate credentials." message is still shown
  • Click Test Connection & List Containers button
    • Connection appears to hang (rightfully since Azurite is down)
    • Note: Eventually the connection will time-out and show an error message
  • Click Cancel button
  • Click Connect button on Azure Blob Storage connector.
    • BUG: Connecting... status still shown

Expected Behavior

  • "Azure Blob Storage Setup" dialog caches to open fresh in a reset state instead of caching previous field state and error messages on cancel

Actual Behavior

  • "Azure Blob Storage Setup" dialog caches previous field state and error messages on cancel

Relevant Logs

Screenshots

Image Image

Additional Context

  • For Azure Blog Storage connector setup instructions, see offline PDF file (OpenRAG - Azure Blob Storage Connector - Manual Testing Instructions.pdf)

Checklist

  • I have searched existing issues to ensure this bug hasn't been reported before.
  • I have provided all the requested information.

Metadata

Metadata

Assignees

Labels

bug🔴 Something isn't working.

Type

Fields

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions