You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MongoDB backend shipped as lib/data/mongodb.js seems to save data but the UI is broken.
The main problems found so far:
theme not being set (I could fix it by upsert in setTheme() + callback(room.theme || DEFAULT_THEME) in get_theme())
getAllCards() being a hash of documents instead of a list (easy to fix)
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).
The text was updated successfully, but these errors were encountered:
neithere
changed the title
MongoDB is broken
MongoDB backend is broken
Nov 23, 2015
The MongoDB backend shipped as
lib/data/mongodb.js
seems to save data but the UI is broken.The main problems found so far:
setTheme()
+callback(room.theme || DEFAULT_THEME)
inget_theme()
)getAllCards()
being a hash of documents instead of a list (easy to fix)getBoardSize()
returningundef
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).The text was updated successfully, but these errors were encountered: