appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: JSEditor | JSObject with async & sync functions throws random error toast

Open Aishwarya-U-R opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

https://github.com/appsmithorg/appsmith/assets/91450662/37ca058b-4347-44fd-95ee-2c333bb71906

Steps To Reproduce

  1. Create a new JS Object with below:
  2.      myVar1: [],
         myVar2: {},
         myFun1: () => {	},
         myFun2: async () => {	},
         myFun3: async () => {	},
         myFun4: async () => {	},
         myFun5: async () => {	},
         myFun6: async () => {	},
         myFun7: () => {	},
       }```
    
  3. Move to settings page to verify the async settings of the async functions
  4. Observe the async functions are all not showing plus there is random error toast 'JSObject1.myfun5 already exists'
  5. Expected: User should have smooth experience in creating the async, sync functions in JSEditor

Public Sample App

No response

Environment

Production

Issue video log

No response

Version

Cloud/Release v1.9.59

Aishwarya-U-R avatar Jan 12 '24 10:01 Aishwarya-U-R

Run details Workflow link. with docker logs if it helps dockerlogs.zip

Aishwarya-U-R avatar Jan 12 '24 11:01 Aishwarya-U-R

Similar Bug reported here

Aishwarya-U-R avatar Feb 16 '24 05:02 Aishwarya-U-R

not reproducible anymore, maybe it got fixed along with another PR.

https://github.com/appsmithorg/appsmith/assets/94514895/87ec57de-5775-40f2-b56b-981c6c7b930b

rohan-arthur avatar Apr 11 '24 09:04 rohan-arthur