isonet/interface-tele-tps

Nothing happens when cookies are blocked and you click on "Créer le TP"

Closed this issue · 1 comments

Might not be caused by cookies but something else, since we don't use cookies.

Il faut donc détecter l’acceptation du cookie par le client et en cas de refus, lui dire d’accepter

The error is due to ngStorage
To reproduce:

  • Open website in Firefox
  • Block all cookies
  • Check console
"Error: The operation is insecure.
_storageFactory/<@http://schlipak.github.io/interface-tele-tps/scripts/vendor/ngStorage.js:62:35
e@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:36:212
Cb/q.$injector<@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:37:0
d@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:35:429
e@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:36:184
te/this.$get</</<@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:72:305
H/<@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:57:27
r@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:7:401
H@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:57:11
h@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:49:490
X/<@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:49:98
A/<.link@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular-route.min.js:7:407
Gc@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:67:474
H@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:57:259
h@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:49:490
X/<@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:49:98
L/<@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:50:473
q@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:54:417
x@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular-route.min.js:6:363
De/this.$get</k.prototype.$broadcast@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:123:345
m/<@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular-route.min.js:11:425
f/<@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:106:348
De/this.$get</k.prototype.$eval@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:120:439
De/this.$get</k.prototype.$digest@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:118:0
De/this.$get</k.prototype.$apply@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:121:261
q@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:77:371
u@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:82:172
ef/</E.onreadystatechange@http://schlipak.github.io/interface-tele-tps/scripts/vendor/angular.min.js:83:261
" "<div ng-view="" class="main-body ng-scope" id="tpDataDisplayCtrl">" angular.min.js:98