frankmullenger / silverstripe-gallery

Image gallery for SilverStripe 3
23 stars 17 forks source link

3.1.3 upload error in JS preventing adding of images #14

Open philbenoit opened 10 years ago

philbenoit commented 10 years ago

With the dev-master build from packagist you can not add a product to the gallery. The page creates ok but you can not add anything.

Stack Trace: TypeError: Cannot read property 'innerHTML' of null at Function.tmpl.load (eval at (http://dev.swipestripe.com/framework/thirdparty/jquery/jquery.js?m=1393790058:614:22), :34:43) at tmpl (eval at (http://dev.swipestripe.com/framework/thirdparty/jquery/jquery.js?m=1393790058:614:22), :22:27) at $.widget._initTemplates (eval at (http://dev.swipestripe.com/framework/thirdparty/jquery/jquery.js?m=1393790058:614:22), :7:41) at null._initTemplates (http://dev.swipestripe.com/framework/thirdparty/jquery-ui/jquery-ui.js?m=1393790058:431:26) at $.widget._create (eval at (http://dev.swipestripe.com/framework/thirdparty/jquery/jquery.js?m=1393790058:614:22), :517:18) at null. (http://dev.swipestripe.com/framework/thirdparty/jquery-ui/jquery-ui.js?m=1393790058:431:26) at $.widget._create (eval at (http://dev.swipestripe.com/framework/thirdparty/jquery/jquery.js?m=1393790058:614:22), :104:45) at null._create (http://dev.swipestripe.com/framework/thirdparty/jquery-ui/jquery-ui.js?m=1393790058:431:26) at $.Widget._createWidget (http://dev.swipestripe.com/framework/thirdparty/jquery-ui/jquery-ui.js?m=1393790058:596:8) at new $.(anonymous function).(anonymous function) (http://dev.swipestripe.com/framework/thirdparty/jquery-ui/jquery-ui.js?m=1393790058:395:9)

frankmullenger commented 10 years ago

Hi @philbenoit, thanks for raising this issue. Could you perhaps try version 1.1, I am hoping that will resolve the issue and perhaps I can change dev-master composer requirements from 3.* to something more specific.

philbenoit commented 10 years ago

Hi Frank,

I am using 1.1 on SS 3.1.2 - interestingly it works on 3.1.3??? very strange.

frankmullenger commented 10 years ago

Hi @philbenoit, I can't seem to replicate this issue and sounded like at first dev-master was being used? Can we close for now and reopen if issue persists for you?

rickyduck commented 10 years ago

I'm having this same issue using 1.0.*@dev