State of component is not displaying
Augury is a very good tool while developing angular 2 application. But the problem is, it doesn't display state of component. For some components it is showing state, but then some components it doesn't show state. Only dependency is displayed.
@ajsuvarna6 Can you provide an example repo or plunker where this occurs? That symptom has been reported (but not seen by me) when the router is injected into the component. Is this the case?
It seems to depend on the dependencies. Having MdDialog (Angular Material2) listed as a dependency for a component will make state not show up for the component on Augury 1.2.7.
Edit: Listing ActivatedRoute gives the same issue. ActivatedRoute is what Angular uses for resolve guards, so any component that uses a resolve guard would not list their states.
@stevenkampen I'm experiencing the same thing only for components where I'm injecting router..
@stevenkampen I'm seeing the same when using ngTemplateOutlet. The component loses all properties in the viewer. I'll see if I can get a plunker together, but I first ran across it while running ngx-datatable locally and viewing one of their tabs that uses ngTemplateOutlet i.e. Row Detail under Basic. https://github.com/swimlane/ngx-datatable Unfortunately their demo page is run in prod mode so you have to run it locally.
@irackley-mc Thanks for your report. I'll get on this shortly and let you know when it's done.
Ok I can recreate this now and confirm it's an issue with serialization/deserialization of some complex objects. Looking into it.
This is fixed now in version 1.2.9, which was just released.
Hi I seem to have this problem aswell but I have 1.4.0
Yes, I'm getting same problem with 1.4.0
@stevenkampen, I am still having the same problem with 1.5.0
@irackley-mc This is fixed for you now right? I see state for all components I could find in that application you shared.
@prasanna-kumar @raydaim If this is persisting for you, can you open a new issue (after checking one doesn't already exist that fits what you're seeing)?
@stevenkampen It has been working for me since your fix. My guess is the new reports are related but not the same exact issue, although I haven't tried out Angular 4 at all.
@irackley-mc Yes, that's the case here. Several things can screw up serialization apparently so I'm hunting them down one by one. Thanks for your report!
I am having the same problem, using Augury 4.3.6 - any update on this?
having same issue https://gyazo.com/8c5583c88dd9c20ce2460d855f4045c0 with canary build and usual augury 1.17
Howdy, @kostia-lev
This issue is caused by numerous edge cases, many of which (although possibly not all) have been identified and fixed for in the latest Canary (version 1.17.4), released yesterday.
Can you confirm you are still seeing this issue in Canary version 1.17.4 ?
Still having this issue with 1.19.1
Happening me with 1.21.0
How is this still an issue after nearly two years?! Displaying state on all occasions should be basic functionality and No. 1 priority if broken!