[Bug]: Function settings of a JS Object are not obeyed when copied/moved to another page #31475
Open
1 task done
Labels
Bug
Something isn't working
Javascript Product
Issues related to users writing javascript in appsmith
JS Objects
Issues related to JS Objects
Medium
Issues that frustrate users due to poor UX
Needs Triaging
Needs attention from maintainers to triage
Production
Query & JS Pod
Issues related to the query & JS Pod
Is there an existing issue for this?
Description
When we copy/move a JS Object to another page, the function settings are not obeyed in the new page. This leads to a lot of confusion & frustration as to why
Run on page load
orConfirm before calling
are not getting triggered even if they are enabled.Steps To Reproduce
Run on page load
&Confirm before calling
.Expected: Since both
Run on page load
&Confirm before calling
were enabled, we should see a confirmation modal asking for permission to run the function.Actual: We do not see any such confirmation modal.
Public Sample App
No response
Environment
Production
Severity
Medium (Frustrating UX)
Issue video log
https://www.loom.com/share/903bc1a01550433d871ff1b51199f37c
Version
Cloud
The text was updated successfully, but these errors were encountered: