Beta 5: TypeError: this.parent.unregisterChildNav is not a function


#1

Hi there,

Anybody had a chance to upgrade to Beta 5? If so, have you noticed that error?

EXCEPTION: TypeError: this.parent.unregisterChildNav is not a function

I am seeing that error when I click on the Tabs page back button to go back to my page that contains a list…

The code seems to work fine though.


#2

I’m seeing this error too, same situation: tabbed page back to a list page. It doesn’t seem to affect anything.


#3

same here, maybe using Modal for clicked items on page with tabs will solve this?

app.bundle.js:32676 EXCEPTION: TypeError: this.parent.unregisterChildNav is not a functionBrowserDomAdapter.logError @ app.bundle.js:32676BrowserDomAdapter.logGroup @ app.bundle.js:32686ExceptionHandler.call @ app.bundle.js:30427(anonymous function) @ app.bundle.js:15149schedulerFn @ app.bundle.js:29926SafeSubscriber.__tryOrUnsub @ app.bundle.js:90097SafeSubscriber.next @ app.bundle.js:90046Subscriber._next @ app.bundle.js:89996Subscriber.next @ app.bundle.js:89960Subject._finalNext @ app.bundle.js:89752Subject._next @ app.bundle.js:89744Subject.next @ app.bundle.js:89701EventEmitter.emit @ app.bundle.js:29915NgZone._zoneImpl.ng_zone_impl_1.NgZoneImpl.onError @ app.bundle.js:29602NgZoneImpl.inner.inner.fork.onHandleError @ app.bundle.js:29786ZoneDelegate.handleError @ angular2-polyfills.js:394Zone.runGuarded @ angular2-polyfills.js:300NgZoneImpl.runInner @ app.bundle.js:29796NgZone.run @ app.bundle.js:29703NavController._afterTrans @ app.bundle.js:50219(anonymous function) @ app.bundle.js:50195Animation._didFinish @ app.bundle.js:42333onTransitionEnd @ app.bundle.js:42048onEvent @ app.bundle.js:67660ZoneDelegate.invokeTask @ angular2-polyfills.js:423Zone.runTask @ angular2-polyfills.js:320ZoneTask.invoke @ angular2-polyfills.js:490
app.bundle.js:32676 STACKTRACE:BrowserDomAdapter.logError @ app.bundle.js:32676ExceptionHandler.call @ app.bundle.js:30429(anonymous function) @ app.bundle.js:15149schedulerFn @ app.bundle.js:29926SafeSubscriber.__tryOrUnsub @ app.bundle.js:90097SafeSubscriber.next @ app.bundle.js:90046Subscriber._next @ app.bundle.js:89996Subscriber.next @ app.bundle.js:89960Subject._finalNext @ app.bundle.js:89752Subject._next @ app.bundle.js:89744Subject.next @ app.bundle.js:89701EventEmitter.emit @ app.bundle.js:29915NgZone._zoneImpl.ng_zone_impl_1.NgZoneImpl.onError @ app.bundle.js:29602NgZoneImpl.inner.inner.fork.onHandleError @ app.bundle.js:29786ZoneDelegate.handleError @ angular2-polyfills.js:394Zone.runGuarded @ angular2-polyfills.js:300NgZoneImpl.runInner @ app.bundle.js:29796NgZone.run @ app.bundle.js:29703NavController.afterTrans @ app.bundle.js:50219(anonymous function) @ app.bundle.js:50195Animation.didFinish @ app.bundle.js:42333onTransitionEnd @ app.bundle.js:42048onEvent @ app.bundle.js:67660ZoneDelegate.invokeTask @ angular2-polyfills.js:423Zone.runTask @ angular2-polyfills.js:320ZoneTask.invoke @ angular2-polyfills.js:490
app.bundle.js:32676 TypeError: this.parent.unregisterChildNav is not a function
at Tab.NavController.ngOnDestroy (app.bundle.js:50398)
at Tab.ngOnDestroy (app.bundle.js:60016)
at AbstractChangeDetector.ChangeDetector_OfferPage_0.dehydrateDirectives (viewFactory_OfferPage:850)
at AbstractChangeDetector.dehydrate (app.bundle.js:15582)
at AbstractChangeDetector.destroyRecursive (app.bundle.js:15595)
at AbstractChangeDetector.destroyRecursive (app.bundle.js:15602)
at AppView.destroy (app.bundle.js:25221)
at AppViewManager
.destroyViewInContainer (app.bundle.js:25686)
at ViewContainerRef
.remove (app.bundle.js:25548)
at Array. (app.bundle.js:50432)


#4

+1

when i change ion-nav root page


#5

Looks like it’s fixed in beta 6.