christopherthielen / ui-router-extras

THIS PROJECT IS NO LONGER MAINTAINED -- Extras for UI-Router for AngularJS. Sticky States (a.k.a. parallel states), Deep State Redirect (for tab-like navigation), Future States (async state definition)
http://christopherthielen.github.io/ui-router-extras/
MIT License
917 stars 211 forks source link

ui-router 0.2.18 and ui-router-extras 0.1.2 #310

Open napcat opened 8 years ago

napcat commented 8 years ago

I update ui-router to 0.2.18 and ui-router-extras to 0.1.2 and now I got some error...

The navigation still occurs, but this error appears on the console:

ERROR When debug is true angular.js:10137 TypeError: Cannot read property 'self' of undefined at debugViewsAfterSuccess (ct-ui-router-extras.js:1260) at transitionSuccess (ct-ui-router-extras.js:1206) at processQueue (angular.js:15757) at angular.js:15773 at Scope.$digest (angular.js:16841) at Scope.$apply (angular.js:17133) at bootstrapApply (angular.js:1713) at doBootstrap (angular.js:1711) at bootstrapAngular (Main.js:1885) at InitApp (GlobalService.js:6)

ERROR When a state change happens angular.js:10137 Error: Could not resolve 'undefined' from state 'ANY_STATE_NAME' at Object.transitionTo (angular-ui-router.js:3179) at Object.$state.transitionTo (ct-ui-router-extras.js:215) at Object.$state.transitionTo (ct-ui-router-extras.js:1733) at Object.$state.transitionTo (ct-ui-router-extras.js:1200) at angular-ui-router.js:4143 at angular.js:18953 at completeOutstandingRequest (angular.js:5824) at angular.js:6100

The angular version is 1.5.3.

If I use the old versions of ui-router 0.2.13 and ui-router-extras 0.0.14 everything works fine.

pdemilly commented 8 years ago

same here

MBrouns commented 8 years ago

We have the same issue with ui-router to 0.2.18 and ui-router-extras 0.1.2. However, when attempting to recreate the issue in a plunkr I can't get it to fail (http://plnkr.co/edit/yVulhiYUn5cEX2MyRuMo)

EDIT: nevermind, we found out the issue was in another part of the codebase. So it does work for us using ui-router 0.2.18 and ui-router-extras 0.1.2

webnugget commented 8 years ago

Hi Guys, i get the following error when trying to enable debugmode via

(function() {
  'use strict';
   angular.module('app.module', [])
      .config(routerConfig);

  /** @ngInject */
  function routerConfig($stateProvider,$stickyStateProvider) {
    $stickyStateProvider.enableDebug(true);
    $stateProvider
      .state('app.parent.child', { 
....
    angular.js:13550 TypeError: Cannot read property 'self' of undefined
    at debugViewsAfterSuccess (ct-ui-router-extras.js:1253)
    at transitionSuccess (ct-ui-router-extras.js:1199)
    at processQueue (angular.js:15961)
    at angular.js:15977
    at Scope.$eval (angular.js:17229)
    at Scope.$digest (angular.js:17045)
    at Scope.$apply (angular.js:17337)
    at angular.js:19166
    at completeOutstandingRequest (angular.js:5869)
    at angular.js:6145

angular#1.5.5 angular-ui-router#0.2.18 ui-router-extras#0.1.2

any ideas?

Timmerop commented 7 years ago

Same issue. angular#1.2.28 ui-router#0.2.16 ui-router-extras#0.1.2