You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Passing variables to patterfly-notification-drawer triggers infinite loop #419
And the chrome-helper process associated with this page very quickly consumes over 1GB of memory (this is when I force quite, it seems to climb indefinitely).
Ah, yeah that was a dumb mistake on my part, getting the binding right fixes.
As far as that loop error goes, I'm guessing that it attempted to make an $http request for the template on the string headingInclude which fails and probably returns index.html. The directive is likely trying to put index.html into the page, which reloads angular & triggers the whole cycle again.
Great. Should we close this then? I'm not sure we could fix this in the drawer code unless we were to expect variables instead and that would be a breaking change.
Activity
jeff-phillips-18 commentedon Feb 16, 2017
The includes are expected to be attributes, I believe you need to use heading-include=“{{headingInclude}}” .
Not saying it is OK to infinite loop on error but does this fix your particular issue?
benjaminapetersen commentedon Feb 17, 2017
Ah, yeah that was a dumb mistake on my part, getting the binding right fixes.
As far as that loop error goes, I'm guessing that it attempted to make an $http request for the template on the string
headingIncludewhich fails and probably returnsindex.html. The directive is likely trying to putindex.htmlinto the page, which reloads angular & triggers the whole cycle again.jeff-phillips-18 commentedon Feb 17, 2017
Great. Should we close this then? I'm not sure we could fix this in the drawer code unless we were to expect variables instead and that would be a breaking change.
benjaminapetersen commentedon Feb 17, 2017
I'm fishing around a bit to see if this is a common problem with using includes, or if there is a good way to check against it.