coopermaruyama / tableau-react

Tableau React component integrated with Tableau JS API.
MIT License
77 stars 60 forks source link

serialized.indexOf is not a function #28

Closed Sgajjar08 closed 2 years ago

Sgajjar08 commented 4 years ago

I am always having this error when I use tableau-react in my react project.

tcjcodes commented 3 years ago

Edit: Duplicate of #12, the fix is to install the latest (beta) version

Full error:

tableau-2.0.0.js?b650:731 Uncaught TypeError: serialized.indexOf is not a function
    at Function.tab__ApiCommand$parse [as parse] (tableau-2.0.0.js?b650:731)
    at tab__crossDomainMessageRouter$_handleCrossDomainMessage [as _handleCrossDomainMessage] (tableau-2.0.0.js?b650:1025)
    at tab__crossDomainMessageRouter.eval (tableau-2.0.0.js?b650:1017)
    at delegate (tableau-2.0.0.js?b650:181)

Versions:

    "tableau-api": "^2.2.3",
    "tableau-react": "^1.2.2"
PurpleMonkeyWrench commented 3 years ago

How can this change be moved out of beta and into the latest version? Also, it looks like there is a pull request to update the tableau api to 2.7.0. Would pulling in that request also fix this issue?

mcdowellalex commented 2 years ago

This is still an issue

coopermaruyama commented 2 years ago

I've published 2.0.0 -- please test it and let me know if it works