llaske / sugarizer

Sugarizer is a web implementation of the Sugar platform to run on any device or browser
https://sugarizer.org
Apache License 2.0
198 stars 411 forks source link

JavaScript error in Gear when removing an item #151

Closed satyamchaudharydev closed 6 years ago

satyamchaudharydev commented 6 years ago

ezgif com-video-to-gif 5

I don't if that is intended or a bug? Also console has following error.

Uncaught TypeError: Cannot read property 'gears' of null
    at Function.Board.fromObject (gearsketch_model.js:1427)
    at onLoaded (activity.js:33)
    at DatastoreObject.loadAsText (sugarizer.js:131)
    at activity.js:40
    at Object.execCb (require.js:1604)
    at Module.check (require.js:844)
    at Module.<anonymous> (require.js:1084)
    at require.js:129
    at require.js:1127
    at each (require.js:57)
llaske commented 6 years ago

It's intended : it's a way to remove an item from the board but the JavaScript error is not intended. BTW I'm not able to reproduce it: could you retry and tell us exactly when this error appear.

satyamchaudharydev commented 6 years ago

It is happening in chrome on ma high sierra on load but I am not seeing this error in Safari.

llaske commented 6 years ago

I've tested in Chrome and on High Sierra too but can't reproduce the error. Could try with a new instance of Gears ("Start New" from the activity menu) and see if it happen again?

llaske commented 6 years ago

Unable to reproduce the issue.

satyamchaudharydev commented 6 years ago

You can give this task to GCI so other developers can also solve that. On Dec 20, 2017 2:26 AM, "Lionel LASKE" notifications@github.com wrote:

Closed #151.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.