Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

'undefined is not a function' when promise function not defined #11330

Closed
@olore

Description

@olore

Using 1.4.0-beta.5, the following stack trace seems to be the result of an error() function not being defined during promise rejection. The rejection still bubbles up, however the "undefined is not a function" is logged in the console.

http://plnkr.co/edit/JtaNeNEcxFLPH5ByuHI8

TypeError: undefined is not a function
at angular.js:9564
at processQueue (angular.js:14018)
at angular.js:14034
at Scope.$get.Scope.$eval (angular.js:15236)
at Scope.$get.Scope.$digest (angular.js:15051)
at Scope.$get.Scope.$apply (angular.js:15341)
at done (angular.js:9847)
at completeRequest (angular.js:10037)
at XMLHttpRequest.requestLoaded (angular.js:9978)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions