appsmith
appsmith copied to clipboard
[Bug]: JSEditor | JSObject with async & sync functions throws random error toast
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
- Create a new JS Object with below:
-
myVar1: [], myVar2: {}, myFun1: () => { }, myFun2: async () => { }, myFun3: async () => { }, myFun4: async () => { }, myFun5: async () => { }, myFun6: async () => { }, myFun7: () => { }, }``` - Move to settings page to verify the async settings of the async functions
- Observe the async functions are all not showing plus there is random error toast 'JSObject1.myfun5 already exists'
- 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
Run details Workflow link. with docker logs if it helps dockerlogs.zip
Similar Bug reported here
not reproducible anymore, maybe it got fixed along with another PR.
https://github.com/appsmithorg/appsmith/assets/94514895/87ec57de-5775-40f2-b56b-981c6c7b930b