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

Error on guadedCatch is not a function #14

Open
goluukfgobea opened this issue Feb 18, 2023 · 0 comments
Open

Error on guadedCatch is not a function #14

goluukfgobea opened this issue Feb 18, 2023 · 0 comments

Comments

@goluukfgobea
Copy link

Hello, as of yesterday a new error was presented on this module.

We had to remove it in order for odoo to work.

Odoo makes a change in a promise and adds guardedCatch function to it, which uses in mostly all the application.

Yesterday something updated on the new rellic module and the agent was generating html and js which conflicted with this function as it replaces the Promise function generated on new Promise() with a function they create, but it does not replace the behaviour from async functions.

Odoo sometimes triggers new Promise, and sometimes uses async functions with guardedCatch, so when using with async function it does not work when new relic is installed

Steps to reproduce:

start odoo and click on any applications (for example sales) with an active new relic account set and this module installed.

Seen behaviour:
Application crashes with the error guardedCatch is not a function

Expected behaviour:
No errors should be triggered

For all those who are having this issue, just uninstall newrelic from odoo and regenerate the assets till this is fixed .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant