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.

[Breaking] 1.6.0 ng-class form bind causes [ng:cpws] Can't copy! Making copies of Window or Scope instances is not supported. #15479

Closed
@niemyjski

Description

@niemyjski

I have async validation (https://github.com/exceptionless/Exceptionless.UI/blob/master/src/app/auth/signup.tpl.html#L59) happening in this form and if I remove it it works, If I leave it but remove the following ng-bind it also works (https://github.com/exceptionless/Exceptionless.UI/blob/master/src/app/auth/signup.tpl.html#L54). There is some kind of issue going on here and I figured I'd log this and continue to try and track it down.

The code can all be found here: https://github.com/exceptionless/exceptionless.ui

angular.js:14324 Error: [ng:cpws] Can't copy! Making copies of Window or Scope instances is not supported.
http://errors.angularjs.org/1.6.0/ng/cpws
    at http://localhost:9001/bower_components/angular/angular.js:68:12
    at copyElement (http://localhost:9001/bower_components/angular/angular.js:993:13)
    at copyRecurse (http://localhost:9001/bower_components/angular/angular.js:965:30)
    at copyElement (http://localhost:9001/bower_components/angular/angular.js:1009:9)
    at copyRecurse (http://localhost:9001/bower_components/angular/angular.js:954:26)
    at copyElement (http://localhost:9001/bower_components/angular/angular.js:1009:9)
    at copyRecurse (http://localhost:9001/bower_components/angular/angular.js:965:30)
    at copyElement (http://localhost:9001/bower_components/angular/angular.js:1009:9)
    at copyRecurse (http://localhost:9001/bower_components/angular/angular.js:965:30)
    at copyElement (http://localhost:9001/bower_components/angular/angular.js:1009:9)
    at copyRecurse (http://localhost:9001/bower_components/angular/angular.js:954:26)
    at copyElement (http://localhost:9001/bower_components/angular/angular.js:1009:9)
    at copyRecurse (http://localhost:9001/bower_components/angular/angular.js:965:30)
    at copyElement (http://localhost:9001/bower_components/angular/angular.js:1009:9)
    at copyRecurse (http://localhost:9001/bower_components/angular/angular.js:965:30)
    at copyElement (http://localhost:9001/bower_components/angular/angular.js:1009:9)
    at copy (http://localhost:9001/bower_components/angular/angular.js:947:10)
    at Scope.$digest (http://localhost:9001/bower_components/angular/angular.js:17798:47)
    at Scope.$apply (http://localhost:9001/bower_components/angular/angular.js:18066:24)
    at Object.$$debounceViewValueCommit (http://localhost:9001/bower_components/angular/angular.js:28548:20)
    at Object.$setViewValue (http://localhost:9001/bower_components/angular/angular.js:28526:12)
    at HTMLInputElement.listener (http://localhost:9001/bower_components/angular/angular.js:24528:12)
    at HTMLInputElement.dispatch (http://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js:3:10315)
    at HTMLInputElement.q.handle (http://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js:3:8342)
    at Scope.$apply (http://localhost:9001/bower_components/angular/angular.js:18070:13)
    at http://localhost:9001/bower_components/angular/angular.js:19910:36
    at completeOutstandingRequest (http://localhost:9001/bower_components/angular/angular.js:6108:10)
    at http://localhost:9001/bower_components/angular/angular.js:6387:7 undefined
(anonymous) @ angular.js:14324
$delegate.(anonymous function) @ angular.js:36
(anonymous) @ angular.js:10834
(anonymous) @ angulartics.js:379
(anonymous) @ angular.js:25
$digest @ angular.js:17818
$apply @ angular.js:18066
$$debounceViewValueCommit @ angular.js:28548
$setViewValue @ angular.js:28526
listener @ angular.js:24528
dispatch @ jquery.min.js:3
q.handle @ jquery.min.js:3
$apply @ angular.js:18070
(anonymous) @ angular.js:19910
completeOutstandingRequest @ angular.js:6108
(anonymous) @ angular.js:6387

This happens 10 times and then I get:

angular.js:14324 Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
http://errors.angularjs.org/1.6.0/$rootScope/infdig?p0=10&p1=%5B%5D
    at http://localhost:9001/bower_components/angular/angular.js:68:12
    at Scope.$digest (http://localhost:9001/bower_components/angular/angular.js:17838:19)
    at Scope.$apply (http://localhost:9001/bower_components/angular/angular.js:18066:24)
    at Object.$$debounceViewValueCommit (http://localhost:9001/bower_components/angular/angular.js:28548:20)
    at Object.$setViewValue (http://localhost:9001/bower_components/angular/angular.js:28526:12)
    at HTMLInputElement.listener (http://localhost:9001/bower_components/angular/angular.js:24528:12)
    at HTMLInputElement.dispatch (http://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js:3:10315)
    at HTMLInputElement.q.handle (http://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js:3:8342)
    at Scope.$apply (http://localhost:9001/bower_components/angular/angular.js:18070:13)
    at http://localhost:9001/bower_components/angular/angular.js:19910:36
    at completeOutstandingRequest (http://localhost:9001/bower_components/angular/angular.js:6108:10)
    at http://localhost:9001/bower_components/angular/angular.js:6387:7 undefined

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions