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

def.values.join is not a function #258

Open
chamathabeysinghe opened this issue Nov 20, 2018 · 1 comment
Open

def.values.join is not a function #258

chamathabeysinghe opened this issue Nov 20, 2018 · 1 comment

Comments

@chamathabeysinghe
Copy link

In AmpersanJS app when trying to save a model, follwoing error is thrown.

Uncaught TypeError: def.values.join is not a function
    at child.set (ampersand-state.js:210)
    at child.save (ampersand-model.js:41)
    at import-nav.js:80
    at arrayEach (index.js:1289)
    at Function.<anonymous> (index.js:3345)
    at Constructor.confirmImport (import-nav.js:71)
    at Object.executeDispatch (EventPluginUtils.js:110)
    at executeDispatch (SimpleEventPlugin.js:305)
    at forEachEventDispatch (EventPluginUtils.js:98)
    at Object.executeDispatchesInOrder (EventPluginUtils.js:119)
@dhritzkiv
Copy link
Member

Hi @chamathabeysinghe

Have you inspected what def and def.values resolve to?

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

2 participants