appsmith
appsmith copied to clipboard
[Bug]: Discarding changes on the app side after JSModule's function name is updated and published results in error
Is there an existing issue for this?
- [X] I have searched the existing issues
Description
Discarding changes on the app side after JSModule's function name is updated and published results in error
related PR that fixes this for JSObject --> https://github.com/appsmithorg/appsmith-ee/pull/4817#issuecomment-2270585896
Related Conversation : https://theappsmith.slack.com/archives/C04HERDNZPA/p1722845492601399?thread_ts=1722591426.072349&cid=C04HERDNZPA
Steps To Reproduce
- have a git-connected app with one JS moduleInstance in master
- branch out from master, say create b1
- Goto JS module , update function name from myfun1 to myfunone
- republish
- You will see uncommitted changes on the app side
- Discard and pull
Public Sample App
No response
Environment
Production
Severity
High (Blocker to building or releasing)
Issue video log
No response
Version
Cloud/self-hosted