NordMagnus / Trello-Folds

MIT License
19 stars 4 forks source link

Uncaught ReferenceError: DIV#board not found after 3 attempts #63

Closed kitofr closed 3 years ago

kitofr commented 4 years ago

Google Chrome is up to date Version 78.0.3904.108 (Official Build) (64-bit)

Console reads:

Running TRELLO FOLDS Chrome extension
content.js:4 Extension version: 0.9.6
content.js:5 jQuery version: 3.4.1
INITIALIZING NEW BOARD: XXXXXXX (old board ID: undefined)
tdom.js:221 Trying to find DIV#board again (attempt 2)
tdom.js:221 Trying to find DIV#board again (attempt 3)
Uncaught ReferenceError: DIV#board not found after 3 attempts
    at Object.watchForMutations (tdom.js:226)
    at tdom.js:222
  | watchForMutations | @ | tdom.js:226
-- | -- | -- | --
  | (anonymous) | @ | tdom.js:222
  | setTimeout (async) |   |  
  | watchForMutations | @ | tdom.js:220
  | (anonymous) | @ | tdom.js:222
NordMagnus commented 4 years ago

Does this happen consistently. Anything you can think of context wise, e.g. a slow connection? Usually this happens if the board does not load within a certain time.

It's difficult to find a fool proof method to fix this. One easy-to-implement solution could be being able to configure the timeout and/or retry attempts.

kitofr commented 4 years ago

It did happen consistently. There's not really "slow" connection as a lot of boards and cards.

NordMagnus commented 3 years ago

I'm closing this now since I didn't have time to look into it sooner. If it is still an issue please create new issue or comment on this.