Skip to content

State change causes reload of abstract state controller when query parameters are set #1551

@mafredri

Description

@mafredri

Updating ui-router to 0.2.12 I noticed that state changes between an abstract-states children causes the abstract controller to reload when there are query-parameters set. I created a plunker to demonstrate the effect. At first you can change states between overview and test, but after you set a query parameter it causes the controller to reload on every state change.

This also seems to be a problem when a query parameter is undefined (currently the plunker loads with query=0 which allows it to work in the beginning).

PS. Is there a way around this? I would like to update to 0.2.12 but this is a real blocker at the moment.

http://plnkr.co/edit/y6EOw3FIO6VjLgNIn6IU?p=preview

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions