Vintharas / ngstockholm-angular2-workshop

Code Samples for the Angular 2 Workshop at ngStockholm
MIT License
17 stars 9 forks source link

Get error when list item clicked #1

Open elmor34 opened 8 years ago

elmor34 commented 8 years ago

Get following error when an esteemed person from the list selected and also Back to Gentelmes list not operating : EXCEPTION: Expression 'ngClassUntouched in PersonDetailsComponent@15:10' has changed after it was checked. Previous value: 'false'. Current value: 'true' in [ngClassUntouched in PersonDetailsComponent@15:10] angular2.dev.js:23730 EXCEPTION: Expression 'ngClassUntouched in PersonDetailsComponent@15:10' has changed after it was checked. Previous value: 'false'. Current value: 'true' in [ngClassUntouched in PersonDetailsComponent@15:10]BrowserDomAdapter.logError @ angular2.dev.js:23730BrowserDomAdapter.logGroup @ angular2.dev.js:23741ExceptionHandler.call @ angular2.dev.js:1292(anonymous function) @ angular2.dev.js:12674schedulerFn @ angular2.dev.js:13078SafeSubscriber.__tryOrUnsub @ Rx.js:10775SafeSubscriber.next @ Rx.js:10730Subscriber._next @ Rx.js:10690Subscriber.next @ Rx.js:10667Subject._finalNext @ Rx.js:11191Subject._next @ Rx.js:11183Subject.next @ Rx.js:11142EventEmitter.emit @ angular2.dev.js:13059NgZone._zoneImpl.ng_zone_impl_1.NgZoneImpl.onError @ angular2.dev.js:13477NgZoneImpl.inner.inner.fork.onHandleError @ angular2.dev.js:2233ZoneDelegate.handleError @ angular2-polyfills.js:336Zone.runGuarded @ angular2-polyfills.js:244NgZoneImpl.runInner @ angular2.dev.js:2245NgZone.run @ angular2.dev.js:13560(anonymous function) @ angular2.dev.js:12773schedulerFn @ angular2.dev.js:13078SafeSubscriber.__tryOrUnsub @ Rx.js:10775SafeSubscriber.next @ Rx.js:10730Subscriber._next @ Rx.js:10690Subscriber.next @ Rx.js:10667Subject._finalNext @ Rx.js:11191Subject._next @ Rx.js:11183Subject.next @ Rx.js:11142EventEmitter.emit @ angular2.dev.js:13059NgZone._checkStable @ angular2.dev.js:13500NgZone._zoneImpl.ng_zone_impl_1.NgZoneImpl.onLeave @ angular2.dev.js:13467NgZoneImpl.inner.inner.fork.onInvokeTask @ angular2.dev.js:2210ZoneDelegate.invokeTask @ angular2-polyfills.js:364Zone.runTask @ angular2-polyfills.js:263ZoneTask.invoke @ angular2-polyfills.js:431 angular2.dev.js:23730 ORIGINAL EXCEPTION: Expression 'ngClassUntouched in PersonDetailsComponent@15:10' has changed after it was checked. Previous value: 'false'. Current value: 'true'BrowserDomAdapter.logError @ angular2.dev.js:23730ExceptionHandler.call @ angular2.dev.js:1301(anonymous function) @ angular2.dev.js:12674schedulerFn @ angular2.dev.js:13078SafeSubscriber.__tryOrUnsub @ Rx.js:10775SafeSubscriber.next @ Rx.js:10730Subscriber._next @ Rx.js:10690Subscriber.next @ Rx.js:10667Subject._finalNext @ Rx.js:11191Subject._next @ Rx.js:11183Subject.next @ Rx.js:11142EventEmitter.emit @ angular2.dev.js:13059NgZone._zoneImpl.ng_zone_impl_1.NgZoneImpl.onError @ angular2.dev.js:13477NgZoneImpl.inner.inner.fork.onHandleError @ angular2.dev.js:2233ZoneDelegate.handleError @ angular2-polyfills.js:336Zone.runGuarded @ angular2-polyfills.js:244NgZoneImpl.runInner @ angular2.dev.js:2245NgZone.run @ angular2.dev.js:13560(anonymous function) @ angular2.dev.js:12773schedulerFn @ angular2.dev.js:13078SafeSubscriber.__tryOrUnsub @ Rx.js:10775SafeSubscriber.next @ Rx.js:10730Subscriber._next @ Rx.js:10690Subscriber.next @ Rx.js:10667Subject._finalNext @ Rx.js:11191Subject._next @ Rx.js:11183Subject.next @ Rx.js:11142EventEmitter.emit @ angular2.dev.js:13059NgZone._checkStable @ angular2.dev.js:13500NgZone._zoneImpl.ng_zone_impl_1.NgZoneImpl.onLeave @ angular2.dev.js:13467NgZoneImpl.inner.inner.fork.onInvokeTask @ angular2.dev.js:2210ZoneDelegate.invokeTask @ angular2-polyfills.js:364Zone.runTask @ angular2-polyfills.js:263ZoneTask.invoke @ angular2-polyfills.js:431 angular2.dev.js:23730 ORIGINAL STACKTRACE:BrowserDomAdapter.logError @ angular2.dev.js:23730ExceptionHandler.call @ angular2.dev.js:1304(anonymous function) @ angular2.dev.js:12674schedulerFn @ angular2.dev.js:13078SafeSubscriber.__tryOrUnsub @ Rx.js:10775SafeSubscriber.next @ Rx.js:10730Subscriber._next @ Rx.js:10690Subscriber.next @ Rx.js:10667Subject._finalNext @ Rx.js:11191Subject._next @ Rx.js:11183Subject.next @ Rx.js:11142EventEmitter.emit @ angular2.dev.js:13059NgZone._zoneImpl.ng_zone_impl_1.NgZoneImpl.onError @ angular2.dev.js:13477NgZoneImpl.inner.inner.fork.onHandleError @ angular2.dev.js:2233ZoneDelegate.handleError @ angular2-polyfills.js:336Zone.runGuarded @ angular2-polyfills.js:244NgZoneImpl.runInner @ angular2.dev.js:2245NgZone.run @ angular2.dev.js:13560(anonymous function) @ angular2.dev.js:12773schedulerFn @ angular2.dev.js:13078SafeSubscriber.__tryOrUnsub @ Rx.js:10775SafeSubscriber.next @ Rx.js:10730Subscriber._next @ Rx.js:10690Subscriber.next @ Rx.js:10667Subject._finalNext @ Rx.js:11191Subject._next @ Rx.js:11183Subject.next @ Rx.js:11142EventEmitter.emit @ angular2.dev.js:13059NgZone._checkStable @ angular2.dev.js:13500NgZone._zoneImpl.ng_zone_impl_1.NgZoneImpl.onLeave @ angular2.dev.js:13467NgZoneImpl.inner.inner.fork.onInvokeTask @ angular2.dev.js:2210ZoneDelegate.invokeTask @ angular2-polyfills.js:364Zone.runTask @ angular2-polyfills.js:263ZoneTask.invoke @ angular2-polyfills.js:431 angular2.dev.js:23730 Error: Expression 'ngClassUntouched in PersonDetailsComponent@15:10' has changed after it was checked. Previous value: 'false'. Current value: 'true' at ExpressionChangedAfterItHasBeenCheckedException.BaseException [as constructor] (angular2.dev.js:7587) at new ExpressionChangedAfterItHasBeenCheckedException (angular2.dev.js:4992) at AbstractChangeDetector.throwOnChangeError (angular2.dev.js:9989) at AbstractChangeDetector.ChangeDetector_PersonDetailsComponent_1.detectChangesInRecordsInternal (viewFactory_PersonDetailsComponent:360) at AbstractChangeDetector.detectChangesInRecords (angular2.dev.js:9874) at AbstractChangeDetector.runDetectChanges (angular2.dev.js:9857) at AbstractChangeDetector._detectChangesContentChildren (angular2.dev.js:9930) at AbstractChangeDetector.runDetectChanges (angular2.dev.js:9858) at AbstractChangeDetector._detectChangesInViewChildren (angular2.dev.js:9936) at AbstractChangeDetector.runDetectChanges (angular2.dev.js:9861)BrowserDomAdapter.logError @ angular2.dev.js:23730ExceptionHandler.call @ angular2.dev.js:1305(anonymous function) @ angular2.dev.js:12674schedulerFn @ angular2.dev.js:13078SafeSubscriber.__tryOrUnsub @ Rx.js:10775SafeSubscriber.next @ Rx.js:10730Subscriber._next @ Rx.js:10690Subscriber.next @ Rx.js:10667Subject._finalNext @ Rx.js:11191Subject._next @ Rx.js:11183Subject.next @ Rx.js:11142EventEmitter.emit @ angular2.dev.js:13059NgZone._zoneImpl.ng_zone_impl_1.NgZoneImpl.onError @ angular2.dev.js:13477NgZoneImpl.inner.inner.fork.onHandleError @ angular2.dev.js:2233ZoneDelegate.handleError @ angular2-polyfills.js:336Zone.runGuarded @ angular2-polyfills.js:244NgZoneImpl.runInner @ angular2.dev.js:2245NgZone.run @ angular2.dev.js:13560(anonymous function) @ angular2.dev.js:12773schedulerFn @ angular2.dev.js:13078SafeSubscriber.__tryOrUnsub @ Rx.js:10775SafeSubscriber.next @ Rx.js:10730Subscriber._next @ Rx.js:10690Subscriber.next @ Rx.js:10667Subject._finalNext @ Rx.js:11191Subject._next @ Rx.js:11183Subject.next @ Rx.js:11142EventEmitter.emit @ angular2.dev.js:13059NgZone._checkStable @ angular2.dev.js:13500NgZone._zoneImpl.ng_zone_impl_1.NgZoneImpl.onLeave @ angular2.dev.js:13467NgZoneImpl.inner.inner.fork.onInvokeTask @ angular2.dev.js:2210ZoneDelegate.invokeTask @ angular2-polyfills.js:364Zone.runTask @ angular2-polyfills.js:263ZoneTask.invoke @ angular2-polyfills.js:431 angular2.dev.js:23730 ERROR CONTEXT:

Vintharas commented 8 years ago

Hi @elmor34 ! :) I cannot reproduce that error :( When I click on an item it goes to the detail view, and I click on back and it goes to the index view.

What browser are you using?