Incompatible session data when using Miro SDK2.0
Closed this issue · 1 comments
pengyikun commented
Miro.board.get()
in Miro SDK 2.0 returns much different information than in SDK1.0 (e.g. missing board name and some attributes), which results in a session with a null name when generating a session using the downloaded session file generated by the current cardographer Miro plug-in. (a session with null name will generate an error when opened)
pengyikun commented
After the update, opening newly created session page triggers error (page failed to render because session.name
is null from the snapshot generated by the Miro SDK 2.0 API),as a result the user are not able set the session
's decks
and board
currently.
When opening a null session page, the following error is reported:
//The error is located in: cardographer-platform / src / routes / user / sessions / Isessionld] /_SessionTabs.svelte
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'toLowerCase')