Skip to content

html5mode, state resolve object promise - when rejected, keeps activating the same page, results in infinite loop #1403

Closed
@patrykbuzowicz

Description

@patrykbuzowicz

Hello,

I guess the title is pretty self-explanatory. The problem is that when $location.html5mode(true); then if the promise object returned in resolve gets rejected, then the state is being activated again so I get the same promise object that gets rejected and so on.
I believe when the promise returned gets rejected, the state is being activated again.
Tried in IE, FF and Chrome, everytime I get my app blocked, 100% CPU usage and increasing RAM usage.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions