appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: Discarding changes on the app side after JSModule's function name is updated and published results in error

Open kamakshibhat-appsmith opened this issue 6 months ago • 2 comments

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

  1. have a git-connected app with one JS moduleInstance in master
  2. branch out from master, say create b1
  3. Goto JS module , update function name from myfun1 to myfunone
  4. republish
  5. You will see uncommitted changes on the app side
  6. Discard and pull Screenshot 2024-08-05 at 12 53 51 PM

Public Sample App

No response

Environment

Production

Severity

High (Blocker to building or releasing)

Issue video log

No response

Version

Cloud/self-hosted

kamakshibhat-appsmith avatar Aug 06 '24 07:08 kamakshibhat-appsmith