Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this.parent.parameters() is not a function while Upgrading angular-ui-router from 0.2.15 to 1.0.29 #3842

Open
ajaiswal595 opened this issue Dec 31, 2021 · 0 comments

Comments

@ajaiswal595
Copy link

I'm upgrading angular js from 1.5 to 1.8.2.

to upgrade we have to upgrade angular-ui-router.

while upgrading this following error is thrown

angular-ui-router.js?compile=false:7302 Transition Rejection($id: 0 type: 6, message: The transition errored, detail: TypeError: this.parent.parameters is not a function)
$defaultErrorHandler @ angular-ui-router.js?compile=false:7302
(anonymous) @ angular-ui-router.js?compile=false:7634
(anonymous) @ angular.js?compile=false:formatted:4135
$digest @ angular.js?compile=false:formatted:4547
$apply @ angular.js?compile=false:formatted:4657
(anonymous) @ angular.js?compile=false:formatted:460
invoke @ angular.js?compile=false:formatted:1214
c @ angular.js?compile=false:formatted:459
Wc @ angular.js?compile=false:formatted:473
e.bootstrap @ ocLazyLoad.js?compile=false:formatted:409
(anonymous) @ app-core.js?compile=false:1259
e @ jquery.js?compile=false:formatted:1428
t @ jquery.js?compile=false:formatted:1439
setTimeout (async)
(anonymous) @ jquery.js?compile=false:formatted:1449
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
fire @ jquery.js?compile=false:formatted:1381
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
ready @ jquery.js?compile=false:formatted:1531
B @ jquery.js?compile=false:formatted:1518
angular-ui-router.js?compile=false:7304 TypeError: this.parent.parameters is not a function
at Object.StateObject.parameters (angular-ui-router.js?compile=false:3014)
at Object.StateObject.parameters (angular-ui-router.js?compile=false:3014)
at Transition.error (angular-ui-router.js?compile=false:4430)
at Transition.valid (angular-ui-router.js?compile=false:4403)
at invalidTransitionHook (angular-ui-router.js?compile=false:7037)
at invokeCallback (angular-ui-router.js?compile=false:3445)
at TransitionHook.invokeHook (angular-ui-router.js?compile=false:3450)
at Function.TransitionHook.invokeHooks (angular-ui-router.js?compile=false:3418)
at Transition.run (angular-ui-router.js?compile=false:4392)
at StateService.transitionTo (angular-ui-router.js?compile=false:7638)
$defaultErrorHandler @ angular-ui-router.js?compile=false:7304
(anonymous) @ angular-ui-router.js?compile=false:7634
(anonymous) @ angular.js?compile=false:formatted:4135
$digest @ angular.js?compile=false:formatted:4547
$apply @ angular.js?compile=false:formatted:4657
(anonymous) @ angular.js?compile=false:formatted:460
invoke @ angular.js?compile=false:formatted:1214
c @ angular.js?compile=false:formatted:459
Wc @ angular.js?compile=false:formatted:473
e.bootstrap @ ocLazyLoad.js?compile=false:formatted:409
(anonymous) @ app-core.js?compile=false:1259
e @ jquery.js?compile=false:formatted:1428
t @ jquery.js?compile=false:formatted:1439
setTimeout (async)
(anonymous) @ jquery.js?compile=false:formatted:1449
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
fire @ jquery.js?compile=false:formatted:1381
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
ready @ jquery.js?compile=false:formatted:1531
B @ jquery.js?compile=false:formatted:1518
2angular.js?compile=false:formatted:3736 Possibly unhandled rejection: {"$id":0,"type":6,"message":"The transition errored","detail":{}}
(anonymous) @ angular.js?compile=false:formatted:3736
(anonymous) @ angular.js?compile=false:formatted:2885
g @ angular.js?compile=false:formatted:4115
$digest @ angular.js?compile=false:formatted:4547
$apply @ angular.js?compile=false:formatted:4657
(anonymous) @ angular.js?compile=false:formatted:460
invoke @ angular.js?compile=false:formatted:1214
c @ angular.js?compile=false:formatted:459
Wc @ angular.js?compile=false:formatted:473
e.bootstrap @ ocLazyLoad.js?compile=false:formatted:409
(anonymous) @ app-core.js?compile=false:1259
e @ jquery.js?compile=false:formatted:1428
t @ jquery.js?compile=false:formatted:1439
setTimeout (async)
(anonymous) @ jquery.js?compile=false:formatted:1449
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
fire @ jquery.js?compile=false:formatted:1381
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
ready @ jquery.js?compile=false:formatted:1531
B @ jquery.js?compile=false:formatted:1518
angular-ui-router.js?compile=false:7302 Transition Rejection($id: 1 type: 6, message: The transition errored, detail: TypeError: this.parent.parameters is not a function)
$defaultErrorHandler @ angular-ui-router.js?compile=false:7302
(anonymous) @ angular-ui-router.js?compile=false:7634
(anonymous) @ angular.js?compile=false:formatted:4135
$digest @ angular.js?compile=false:formatted:4547
$apply @ angular.js?compile=false:formatted:4657
(anonymous) @ angular.js?compile=false:formatted:5152
Yg.completeTask @ angular.js?compile=false:formatted:5035
(anonymous) @ angular.js?compile=false:formatted:1458
setTimeout (async)
Fg.h.defer @ angular.js?compile=false:formatted:1456
f @ angular.js?compile=false:formatted:5143
v @ ct-ui-router-extras.js?compile=false:24
(anonymous) @ angular.js?compile=false:formatted:4135
$digest @ angular.js?compile=false:formatted:4547
$apply @ angular.js?compile=false:formatted:4657
(anonymous) @ angular.js?compile=false:formatted:460
invoke @ angular.js?compile=false:formatted:1214
c @ angular.js?compile=false:formatted:459
Wc @ angular.js?compile=false:formatted:473
e.bootstrap @ ocLazyLoad.js?compile=false:formatted:409
(anonymous) @ app-core.js?compile=false:1259
e @ jquery.js?compile=false:formatted:1428
t @ jquery.js?compile=false:formatted:1439
setTimeout (async)
(anonymous) @ jquery.js?compile=false:formatted:1449
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
fire @ jquery.js?compile=false:formatted:1381
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
ready @ jquery.js?compile=false:formatted:1531
B @ jquery.js?compile=false:formatted:1518
angular-ui-router.js?compile=false:7304 TypeError: this.parent.parameters is not a function
at Object.StateObject.parameters (angular-ui-router.js?compile=false:3014)
at Object.StateObject.parameters (angular-ui-router.js?compile=false:3014)
at Transition.error (angular-ui-router.js?compile=false:4430)
at Transition.valid (angular-ui-router.js?compile=false:4403)
at invalidTransitionHook (angular-ui-router.js?compile=false:7037)
at invokeCallback (angular-ui-router.js?compile=false:3445)
at TransitionHook.invokeHook (angular-ui-router.js?compile=false:3450)
at Function.TransitionHook.invokeHooks (angular-ui-router.js?compile=false:3418)
at Transition.run (angular-ui-router.js?compile=false:4392)
at StateService.transitionTo (angular-ui-router.js?compile=false:7638)
$defaultErrorHandler @ angular-ui-router.js?compile=false:7304
(anonymous) @ angular-ui-router.js?compile=false:7634
(anonymous) @ angular.js?compile=false:formatted:4135
$digest @ angular.js?compile=false:formatted:4547
$apply @ angular.js?compile=false:formatted:4657
(anonymous) @ angular.js?compile=false:formatted:5152
Yg.completeTask @ angular.js?compile=false:formatted:5035
(anonymous) @ angular.js?compile=false:formatted:1458
setTimeout (async)
Fg.h.defer @ angular.js?compile=false:formatted:1456
f @ angular.js?compile=false:formatted:5143
v @ ct-ui-router-extras.js?compile=false:24
(anonymous) @ angular.js?compile=false:formatted:4135
$digest @ angular.js?compile=false:formatted:4547
$apply @ angular.js?compile=false:formatted:4657
(anonymous) @ angular.js?compile=false:formatted:460
invoke @ angular.js?compile=false:formatted:1214
c @ angular.js?compile=false:formatted:459
Wc @ angular.js?compile=false:formatted:473
e.bootstrap @ ocLazyLoad.js?compile=false:formatted:409
(anonymous) @ app-core.js?compile=false:1259
e @ jquery.js?compile=false:formatted:1428
t @ jquery.js?compile=false:formatted:1439
setTimeout (async)
(anonymous) @ jquery.js?compile=false:formatted:1449
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
fire @ jquery.js?compile=false:formatted:1381
c @ jquery.js?compile=false:formatted:1324
fireWith @ jquery.js?compile=false:formatted:1377
ready @ jquery.js?compile=false:formatted:1531
B @ jquery.js?compile=false:formatted:1518
2angular.js?compile=false:formatted:3736 Possibly unhandled rejection: {"$id":1,"type":6,"message":"The transition errored","detail":{}}

image

image

Can somebody tell me the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant