Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ng-repeat causes "TypeError: Cannot read property 'childNodes' of undefined" #8180

Closed
@teckays

Description

@teckays

Hi there,
In my application I have few ng-repeat loops and one of them is throwing the TypeError: Cannot read property 'childNodes' of undefined here:

} else if (childLinkFn) {
    childLinkFn(scope, node.childNodes, undefined, parentBoundTranscludeFn);
}

Sorry can't provide any fiddle as I was not able to reproduce this error. However, one thing to mention is that the ng-repeat on that element is used on different roots of the application, it uses the exact same html, no javascript handling applied at all, it displays a list of countries returned from an API backend as an array of Object's based on some predefined inputs. The only difference I could spot is a node called $$hashKey: int inside each Object of the passed array. (Not sure if this could be the problem).

I'm using angular 1.3.0 beta 14.

I have read this issue #4930 where this problem is discussed, fixed and merged into master. Not sure if the version I'm using does include or not the specified fix.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions