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

Network creation fails due to undefined ircUsersAndChannels: TypeError: Cannot convert undefined or null to object #282

Open
esainane opened this issue Jan 24, 2020 · 0 comments
Labels

Comments

@esainane
Copy link

This happens on trying to commit (save) a new network.

Inspecting at the getBuffer frame, e[4].__obj.IrcUsersAndChannels is { __obj: undefined }, causing the following error once quassel-webserver tries to serialize it:

TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at A.toBuffer (//javascripts/libquassel.js:8:149046)
    at _.toBuffer (//javascripts/libquassel.js:8:151532)
    at A.toBuffer (//javascripts/libquassel.js:8:149172)
    at Object.toBuffer (//javascripts/libquassel.js:8:150219)
    at _.toBuffer (//javascripts/libquassel.js:8:151532)
    at T.toBuffer (//javascripts/libquassel.js:8:148040)
    at _.toBuffer (//javascripts/libquassel.js:8:151532)
    at Function.getBuffer (//javascripts/libquassel.js:8:219688)
    at f._transform (//javascripts/libquassel.js:8:219790) Possibly unhandled rejection: {}

I am not sure how to resolve this - possibly there is a missing ircUsersAndChannels: {users:[],channels:[]} somewhere, or the serialization of this field could be made optional?

@magne4000 magne4000 added the bug label Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants