donejs / bitballs

A basketball tourney application.
https://donejs.com/bitballs.html
MIT License
11 stars 17 forks source link

Cannot navigate back from player details #303

Open christopherjbaker opened 7 years ago

christopherjbaker commented 7 years ago

If you are on the player list page and choose a player, then try to go back, it does not work. Due to minification, the stack trace is mostly useless, though.

Uncaught TypeError: Cannot read property 'id' of undefined
    at a.id (index.js:7)
    at a.getData (index.js:12)
    at a.getData (index.js:12)
    at a.get (index.js:11)
    at a.get (index.js:11)
    at Function.eval [as get] (index.js:11)
    at p.get playerPromise (details.js:2)
    at r.start (index.js:3)
    at r.update (index.js:3)
    at Object.r.updateAndNotify (index.js:3)
justinbmeyer commented 7 years ago

Yeah, I noticed that the server is no longer sending back all of a record's data in some cases. I think this is related.