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.37k stars 3.72k forks source link

[Bug]: Unable to copy queries/JS objects within the same page when used in a building block #35356

Open shadabbuchh opened 3 months ago

shadabbuchh commented 3 months ago

Is there an existing issue for this?

Description

We are unable to copy queries/JS objects within the same page if they are part of a building block. However, if a new query is created from the same database, it can be copied within the same page without issue.

This is also reproducible with the building block templates that are available on prod

Steps To Reproduce

  1. D&d a building block.
  2. Now in the queries section try to copy the query associated with the above block within the same page.

Expected: The queries/JS objects should get copied within the same page. Actual: We get an error while copying the queries.

Public Sample App

No response

Environment

Production

Severity

High (Blocker to building or releasing)

Issue video log

https://jam.dev/c/d509f8f6-656d-4d2c-8589-118fa1b14b5e

Version

Cloud

github-actions[bot] commented 2 months ago

This critical issue has not seen activity for a while. It will be closed in 7 days unless further activity is detected or the Critical tag is removed.