Skip to content

onEnter is called twice if a parameter is an array with more than one element #1414

Closed
@realityking

Description

@realityking

This seems to be a regression and currently stops us from updating to 0.2.11.

Plunkr: http://plnkr.co/edit/PmwRrdSMnlAetItQBeBl?p=info

The issue only occurs und the following conditions:

  1. The parameter is a query parameter
  2. The parameter is an array
  3. The array contains more than one element

If you need any more information I'd be happy to help. I digging trough the callstack for both calls, and they seem to come form completely different places. I'm not familiar enough with the inner workings of UI Router to make any sense out of the behavior I saw.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions