Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: <JSObject function> is not a function #34681

Closed
1 task done
rishabhrathod01 opened this issue Jul 3, 2024 · 7 comments · Fixed by #35035
Closed
1 task done

[Bug]: <JSObject function> is not a function #34681

rishabhrathod01 opened this issue Jul 3, 2024 · 7 comments · Fixed by #35035
Assignees
Labels
Bug Something isn't working Help enterprise Requested by Appsmith customers or prospects Integrations Pod General Issues related to the Integrations Pod that don't fit into other tags. Integrations Product Issues related to a specific integration Javascript Product Issues related to users writing javascript in appsmith JS Objects Issues related to JS Objects Medium Issues that frustrate users due to poor UX Needs Triaging Needs attention from maintainers to triage Production QA Pod Issues under the QA Pod QA Needs QA attention Query & JS Pod Issues related to the query & JS Pod

Comments

@rishabhrathod01
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Description

Whenever the user lands on a page directly, the buttons call a few JSObject functions that were working fine but when they were navigated to the same page, from another particular page, an error was thrown stating that the was not a function

Steps To Reproduce

Import application and follow the steps in the video mentioned here - https://theappsmith.slack.com/archives/C040LHZN03V/p1720008717797009?thread_ts=1720008260.264769&cid=C040LHZN03V

Public Sample App

No response

Environment

Production

Severity

Medium (Frustrating UX)

Issue video log

No response

Version

1.29

@rishabhrathod01 rishabhrathod01 added Bug Something isn't working Needs Triaging Needs attention from maintainers to triage JS Objects Issues related to JS Objects Integrations Pod General Issues related to the Integrations Pod that don't fit into other tags. labels Jul 3, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added Medium Issues that frustrate users due to poor UX Production labels Jul 3, 2024
@github-actions github-actions bot added Javascript Product Issues related to users writing javascript in appsmith Integrations Product Issues related to a specific integration labels Jul 3, 2024
@rishabhrathod01
Copy link
Contributor Author

Workaround for the current user :-
when the user commented out certain store value lines of code, then it worked properly. But if those lines of code were present, then functions stopped working on the navigated page.

@tomjose92 tomjose92 changed the title [Bug]: <JSObject function> was not a function [Bug]: <JSObject function> is not a function Jul 3, 2024
@tomjose92
Copy link

This issue was occurring for the user only in deployed mode of the App.
In edit mode their original piece of code was working completely fine without breaking the other page functionalities like JSObject functions.

@PaulMcF1987
Copy link

I am suffering from the same problem.
Occasionally, the app works fine but more often than not it fails, telling me, in console 'xxxx.fun is not a function'
I have messed around with the js but no joy
It only seems to happen with certain 'storevalue values'
I know the values that cause the issue but have no way of sorting it

@carinanfonseca carinanfonseca added the Help enterprise Requested by Appsmith customers or prospects label Jul 16, 2024
@github-actions github-actions bot added the Query & JS Pod Issues related to the query & JS Pod label Jul 16, 2024
@rishabhrathod01
Copy link
Contributor Author

rishabhrathod01 commented Jul 18, 2024

I am suffering from the same problem. Occasionally, the app works fine but more often than not it fails, telling me, in console 'xxxx.fun is not a function' I have messed around with the js but no joy It only seems to happen with certain 'storevalue values' I know the values that cause the issue but have no way of sorting it

@PaulMcF1987 which version of appsmith are you using?

@appsmith-bot appsmith-bot added the QA Needs QA attention label Jul 19, 2024
@github-actions github-actions bot added the QA Pod Issues under the QA Pod label Jul 19, 2024
@PaulMcF1987
Copy link

@rishabhrathod01 Sorry, I missed your reply. I am using self hosted Appsmith Community v1.33.
Not sure if the version may have updated since posting above

@rishabhrathod01
Copy link
Contributor Author

@PaulMcF1987 are you facing the above issue in version 1.33 ?

@PaulMcF1987
Copy link

@rishabhrathod01 Seems to be working ok at the minute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Help enterprise Requested by Appsmith customers or prospects Integrations Pod General Issues related to the Integrations Pod that don't fit into other tags. Integrations Product Issues related to a specific integration Javascript Product Issues related to users writing javascript in appsmith JS Objects Issues related to JS Objects Medium Issues that frustrate users due to poor UX Needs Triaging Needs attention from maintainers to triage Production QA Pod Issues under the QA Pod QA Needs QA attention Query & JS Pod Issues related to the query & JS Pod
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants