ampersand-state icon indicating copy to clipboard operation
ampersand-state copied to clipboard

def.values.join is not a function

Open chamathabeysinghe opened this issue 6 years ago • 1 comments

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)

chamathabeysinghe avatar Nov 20 '18 09:11 chamathabeysinghe

Hi @chamathabeysinghe

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

dhritzkiv avatar Nov 20 '18 18:11 dhritzkiv