WISE-Community / WISE-VLE--Deprecated--

Virtual Learning Environment (VLE) for the Web-based Inquiry Science Environment (WISE). *Note: deprecated and has been merged into the main 'WISE' repository*
8 stars 8 forks source link

Chrome Drawing step does not load when after MCNode or ALNode #292

Closed hirokiterashima closed 11 years ago

hirokiterashima commented 11 years ago

Mac OSX 10.8.4 Chrome Version 29.0.1547.65 On Firefox 23.0.1, it works ok.

How to reproduce this problem:

  1. Use Chrome
  2. create a project with one activity.
  3. add MC for step 1.
  4. add drawing for step 2.
  5. preview project

When you get to step 2, the drawing step will not load. It will hang on the "Loading WISE Draw" progress bar.

There is a js error thrown in the console: Uncaught TypeError: Cannot call method 'getAttribute' of undefined jquery.svgicons.js:302 makeIcons jquery.svgicons.js:302 (anonymous function) jquery.svgicons.js:224 b.event.dispatch jquery-1.9.1.min.js:3 v.handle jquery-1.9.1.min.js:3 Error: Unable to start drawing tool because svg-edit extensions failed to load. NotificationManager.js:92

Notes:

breity commented 11 years ago

Strange bug. Should be fixed now. I also updated production.

On Wed, Sep 11, 2013 at 2:23 PM, Hiroki Terashima notifications@github.comwrote:

Mac OSX 10.8.4 Chrome Version 29.0.1547.65 On Firefox 23.0.1, it works ok.

How to reproduce this problem:

  1. Use Chrome
  2. create a project with one activity.
  3. add MC for step 1.
  4. add drawing for step 2.
  5. preview project

When you get to step 2, the drawing step will not load. It will hang on the "Loading WISE Draw" progress bar.

There is a js error thrown in the console: Uncaught TypeError: Cannot call method 'getAttribute' of undefined jquery.svgicons.js:302 makeIcons jquery.svgicons.js:302 (anonymous function) jquery.svgicons.js:224 b.event.dispatch jquery-1.9.1.min.js:3 v.handle jquery-1.9.1.min.js:3 Error: Unable to start drawing tool because svg-edit extensions failed to load. NotificationManager.js:92

Notes:

  • Same problem occurs when you create an AssessmentList step for step 1.
  • If you make step 1 an HTML step, the drawing step loads. The "Uncaught TypeError: Cannot call method 'getAttribute' of undefined" error is still thrown, but not the "Error: Unable to start..." error.
  • If you remove step 1 and just have a draw step as the only step in the project, the draw step loads. The "Uncaught TypeError: Cannot call method 'getAttribute' of undefined" error is still thrown, but not the "Error: Unable to start..." error.

— Reply to this email directly or view it on GitHubhttps://github.com/WISE-Community/WISE-VLE/issues/292 .

Jonathan Lim-Breitbart Feature Developer and Lead Designer Web-based Integrated Science Environment (WISE) http://wise.berkeley.edu

hirokiterashima commented 11 years ago

yupp, verified that it works locally. thanks for the fix.

breity commented 11 years ago

no problem!

On Wed, Sep 11, 2013 at 5:17 PM, Hiroki Terashima notifications@github.comwrote:

yupp, verified that it works locally. thanks for the fix.

— Reply to this email directly or view it on GitHubhttps://github.com/WISE-Community/WISE-VLE/issues/292#issuecomment-24286474 .

Jonathan Lim-Breitbart Feature Developer and Lead Designer Web-based Integrated Science Environment (WISE) http://wise.berkeley.edu