appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.64k stars 3.74k forks source link

[Bug]: Cannot create a new query because of spurious validation check #36771

Open rohan-arthur opened 1 month ago

rohan-arthur commented 1 month ago

Is there an existing issue for this?

Description

happens on this internal app: https://internal.appsmith.com/app/qjs-bugs-analysis/page1-66f6449642194a144437a79b/edit/queries

https://github.com/user-attachments/assets/0fde2605-ead4-4f5b-aeda-a32fa0c2e391

Steps To Reproduce

  1. open the app
  2. go to Queries segment
  3. try to add a new query on a database, e.g., Aforce DB --> see the error Query1 already exists...

Public Sample App

No response

Environment

Release

Severity

~High (Blocker to building or releasing)~ Medium

Issue video log

No response

Version

Internal

rohan-arthur commented 1 month ago

probably caching.. I had the app open for editing on another tab, and came back to this tab after gap of one day. Query1 did in fact exist, but didn't show up until refresh. --> this is still acceptable, but upon clicking + and selecting a datasource, maybe we should refresh the existing queries?