Angular error on "New Query" in docker-compose setup on Mar 20 master


#1

Hi,

I’ve managed to set up redash on docker-compose (with some quirks I’ll file issues about).

One thing that I’m stuck with is that after adding a datasource (MySQL on host), I get an Angular error on the New Query page.

I’m hitting one of these: https://docs.angularjs.org/error/$injector/unpr?p0=eProvider%20<-%20e

I’m on 97a7701879b5798c00119ea7d6aa3dcddde159f2 on master from March 20.

I observe this in Firefox 52, Nightly, and Chrome Canary.

Detailed stack:

"Error: [$injector:unpr] Unknown provider: eProvider <- e
http://errors.angularjs.org/1.5.8/$injector/unpr?p0=eProvider%20%3C-%20e
t/<@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:6:377
it/w.$injector<@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:6:21267
i@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:6:20223
it/L<@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:6:21350
i@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:6:20223
r@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:6:20523
a@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:6:20695
bt/this.$get</</m<@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:7:14794
f@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:7:1725
a@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:6:30356
f@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:7:2445
a@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:6:30356
Y/<@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:6:29887
X/<@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:7:528
i@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:6:30850
d@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:7:972
pa</<.link/<@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:10:18285
kn/this.$get</p.prototype.$digest@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:8:11180
kn/this.$get</p.prototype.$apply@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:8:12680
l@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:7:19084
b@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:7:21013
Ot/</M.onload@http://localhost:5000/vendor.2f941fcfe914bc1c5ee5.js:7:21485
"  vendor.2f941fcfe914bc1c5ee5.js:7:29328

#2

It’s Angular minification issue. Going to find it and push a fix soon (will update here once I do).


#3

Fixed in: https://github.com/getredash/redash/commit/6ff338964bd21115cbd493e7b6dc32b7aed8f0e9.


#4

Confirmed, thanks for the quick fix.