BioPhoton / BioPhoton/ng-drupal-7-services

set cookie expiration in IE throws error (actual commented out)

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
26
Forks
10
PR merge metrics
No merged PRs in 30d

Description

TypeError: Das Objekt unterstützt die Eigenschaft oder Methode "toUTCString" nicht
at Anonymous function (http://localhost:8100/bower_components/angular-cookies/angular-cookies.min.js:6:342)
at put (http://localhost:8100/bower_components/angular-cookies/angular-cookies.min.js:7:326)
at setCookies (http://localhost:8100/bower_components/ng-drupal-7-services/commons/authentication/authentication.service.js:355:4)
at Anonymous function (http://localhost:8100/bower_components/ng-drupal-7-services/commons/authentication/authentication.service.js:91:9)
at Anonymous function (http://localhost:8100/bower_components/angular/angular.min.js:118:207)
at m.prototype.$eval (http://localhost:8100/bower_components/angular/angular.min.js:132:347)
at m.prototype.$digest (http://localhost:8100/bower_components/angular/angular.min.js:129:357)
at m.prototype.$apply (http://localhost:8100/bower_components/angular/angular.min.js:133:111)
at g (http://localhost:8100/bower_components/angular/angular.min.js:

Contributor guide

Open the contributing guide

Research direction

Start with the stack trace and inspect setCookies in commons/authentication/authentication.service.js at line 355, then trace how angular-cookies handles the expiration value in IE. Reproduce the error in IE and verify that authentication cookie expiration completes without the toUTCString error.

Written by the indexing model from the issue text.

Assessment

Tech stack
angularjs, javascript
Domain
authentication, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.