-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
BugSomething isn't workingSomething isn't workingFrontendThis label marks the issue or pull request to reference client codeThis label marks the issue or pull request to reference client codeHighThis issue blocks a user from building or impacts a lot of usersThis issue blocks a user from building or impacts a lot of usersJS moduleIssues affecting JS modules or its instancesIssues affecting JS modules or its instancesNeeds TriagingNeeds attention from maintainers to triageNeeds attention from maintainers to triagePackages & Git PodAll issues belonging to Packages and GitAll issues belonging to Packages and GitPackages Podissues that belong to the packages podissues that belong to the packages podProductionQANeeds QA attentionNeeds QA attention
Description
Is there an existing issue for this?
- I have searched the existing issues
Description
A non-async function of a JSModule instance in app when bound to any widget does get invoke on refresh. It throws an error is not a function
.
Steps To Reproduce
- Create a code package
- Create a JSObject
- In
myFun1
return "hello" - Publish the package
- Create a new app
- Create a JSModule instance of the previously created JS module
- Drag and drop a text widget
- Update the property of the
text
field of the Text widget to{{Text - JSModule11.myFun1()}}
- Refresh the app and the text widget's text property would have an error that
TypeError: JSModule11.myFun1 is not a function
Public Sample App
No response
Environment
Production
Severity
High (Blocker to building or releasing)
Issue video log
No response
Version
1.79
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingFrontendThis label marks the issue or pull request to reference client codeThis label marks the issue or pull request to reference client codeHighThis issue blocks a user from building or impacts a lot of usersThis issue blocks a user from building or impacts a lot of usersJS moduleIssues affecting JS modules or its instancesIssues affecting JS modules or its instancesNeeds TriagingNeeds attention from maintainers to triageNeeds attention from maintainers to triagePackages & Git PodAll issues belonging to Packages and GitAll issues belonging to Packages and GitPackages Podissues that belong to the packages podissues that belong to the packages podProductionQANeeds QA attentionNeeds QA attention