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

Journal issues with Array objects #3

Open
bergie opened this issue Mar 1, 2017 · 0 comments
Open

Journal issues with Array objects #3

bergie opened this issue Mar 1, 2017 · 0 comments

Comments

@bergie
Copy link
Member

bergie commented Mar 1, 2017

Some ports can be of type 'object' or 'array' which means it should be possible to send an empty array to them.
When doing so in the noflo-ui you get backtraces of storage problem :

DOMException {message: "An object could not be cloned.", name: "DataCloneError", code: 25, stack: "Error: An object could not be cloned.↵    at IDBJo…0/bower_components/platform/platform.js:29:27537)", INDEX_SIZE_ERR: 1…}
 "Error: An object could not be cloned.
    at IDBJournalStore.putTransaction (http://localhost:1080/browser/noflo-ui.js:20154:17)
    at Journal.endTransaction (http://localhost:1080/browser/noflo-ui.js:6793:16)
    at Journal.endTransaction (http://localhost:1080/browser/noflo-ui.js:6401:59)
    at Graph.<anonymous> (http://localhost:1080/browser/noflo-ui.js:6766:22)
    at Graph.Emitter.emit (http://localhost:1080/browser/noflo-ui.js:336:20)
    at Graph.endTransaction (http://localhost:1080/browser/noflo-ui.js:3146:17)
    at Polymer.updateValue (http://localhost:1080/elements/noflo-node-inspector.html/noflo-node-inspector.js:188:22)
    at null.<anonymous> (http://localhost:1080/bower_components/platform/platform.js:34:16969)
    at t (http://localhost:1080/bower_components/platform/platform.js:29:28182)
    at r (http://localhost:1080/bower_components/platform/platform.js:29:27537)" 

Migrated from noflo/noflo#152

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