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

Blank page when try to get a local board from remote #562

Closed
martinbedouret opened this issue Nov 18, 2019 · 0 comments
Closed

Blank page when try to get a local board from remote #562

martinbedouret opened this issue Nov 18, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@martinbedouret
Copy link
Collaborator

martinbedouret commented Nov 18, 2019

API call
xhr.js:155 GET http://localhost:10010/board/HkBY6DhwTW 404 (Not Found)

Redux log
redux-logger.es.js:652 action cboard/Board/CHANGE_BOARD @ 19:12:06.569 redux-logger.es.js:668 prev state {app: {…}, language: {…}, speech: {…}, board: {…}, communicator: {…}, …} redux-logger.es.js:676 action {type: "cboard/Board/CHANGE_BOARD", boardId: "HkBY6DhwTW"} redux-logger.es.js:684 error TypeError: Cannot read property 'nameKey' of undefined at Board.analytics.js:38 at event-helpers.js:28 at create-events.js:17

Console
Unhandled Rejection (TypeError): Cannot read property 'nameKey' of undefined

`
Unhandled Rejection (TypeError): Cannot read property 'nameKey' of undefined
(anonymous function)
C:/Users/martin/workspace/cboard/src/components/Board/Board.analytics.js:38
35 | const board = nextState.board.boards.find(
36 | board => board.id === action.boardId
37 | );

38 | const boardName = board.nameKey || board.name || board.id;
| ^ 39 | const gaEvent = {
40 | category: 'Navigation',
41 | action: 'Change Board',

@martinbedouret martinbedouret self-assigned this Nov 18, 2019
@martinbedouret martinbedouret added this to the 1.0.8 milestone Nov 18, 2019
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

1 participant