BioPhoton / BioPhoton/ng-drupal-7-services
set cookie expiration in IE throws error (actual commented out)
- 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
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