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.

$interpolate issue in 1.1.4 #2754

@ProLoser

Description

@ProLoser

Here is our stack trace:

TypeError: Cannot read property 'length' of undefined
    at $interpolate (http://localhost:8080/components/angular/angular.js:5318:24)
    at attrInterpolateLinkFn (http://localhost:8080/components/angular/angular.js:4987:27)
    at nodeLinkFn (http://localhost:8080/components/angular/angular.js:4774:13)
    at delayedNodeLinkFn (http://localhost:8080/components/angular/angular.js:4930:11)
    at compositeLinkFn (http://localhost:8080/components/angular/angular.js:4365:15)
    at publicLinkFn (http://localhost:8080/components/angular/angular.js:4270:30)
    at ngRepeatAction (http://localhost:8080/components/angular/angular.js:14945:15)
    at Object.$watchCollectionAction [as fn] (http://localhost:8080/components/angular/angular.js:8476:11)
    at Object.Scope.$digest (http://localhost:8080/components/angular/angular.js:8570:27)
    at Object.Scope.$apply (http://localhost:8080/components/angular/angular.js:8771:24) <div class="dataSet ds_{{pxDataSet.id}} ng-scope" style="z-index:{{getZ(0)}}; border-left-color: {{pxDataSet.color}};z-index:{{getZ(0)}}; border-left-color: {{pxDataSet.color}}" ng-class="{'selected':selected, 'disabled':state.disabled, 'open':state.showInfoPanel}" px-click="titleClicks" ng-repeat="dataSet in pxDataSets |  filter:columnFilter | filter:notSelected | orderBy:'name'" px-data-set="dataSet"> 

I did some testing and inspecting of the stack trace. It turns out that the $attrs.style is undefined, even though $element.attr('style') is correctly populated. This error disappears when switching to 1.0.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions