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

MongoDB backend is broken #80

Closed
neithere opened this issue Nov 23, 2015 · 0 comments
Closed

MongoDB backend is broken #80

neithere opened this issue Nov 23, 2015 · 0 comments

Comments

@neithere
Copy link

The MongoDB backend shipped as lib/data/mongodb.js seems to save data but the UI is broken.

The main problems found so far:

  1. theme not being set (I could fix it by upsert in setTheme() + callback(room.theme || DEFAULT_THEME) in get_theme())
  2. getAllCards() being a hash of documents instead of a list (easy to fix)
  3. getBoardSize() returning undef instead of a hash (actually I had to add some defaults to make sure it works — no idea why this wasn't needed for Redis backend).
@neithere neithere changed the title MongoDB is broken MongoDB backend is broken Nov 23, 2015
This was referenced Nov 23, 2015
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