angular / angular.js

AngularJS - HTML enhanced for web apps!
https://angularjs.org
MIT License
58.86k stars 27.52k forks source link

Recursive $digest() loop produces invalid error message link #12024

Open jakobmaier opened 9 years ago

jakobmaier commented 9 years ago

When producing invalid linkage between scope values, the digest loop might run into an infinite recursion and aborts after 10 steps.

This correctly produces the following error message:

Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: [...]

However, in my case, the following link has been produced to get further information:

http://errors.angularjs.org/1.4.0/$rootScope/infdig?p0=10&p1=%5B%5B%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A197%2C%22oldVal%22%3A196%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%7B%22typ%22%3A%22Telefon%22%2C%22kontakt%22%3A%22%22%2C%22comment%22%3A%22%22%7D%2C%22oldVal%22%3A%7B%22typ%22%3A%22Telefon%22%2C%22kontakt%22%3A%22%22%2C%22comment%22%3A%22%22%7D%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%7B%22typ%22%3A%22Telefon%22%2C%22kontakt%22%3A%22%22%2C%22comment%22%3A%22%22%7D%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22Telefon%22%7D%2C%7B%22msg%22%3A%22contactForm.typ.%24error.required%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A45%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.required%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A100%7D%2C%7B%22msg%22%3A%22contactForm.comment.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A198%2C%22oldVal%22%3A197%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%2C%22oldVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%7B%22typ%22%3A%22Telefon%22%2C%22kontakt%22%3A%22%22%2C%22comment%22%3A%22%22%7D%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22Telefon%22%7D%2C%7B%22msg%22%3A%22contactForm.typ.%24error.required%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A45%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.required%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A100%7D%2C%7B%22msg%22%3A%22contactForm.comment.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A199%2C%22oldVal%22%3A198%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%2C%22oldVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%7B%22typ%22%3A%22Telefon%22%2C%22kontakt%22%3A%22%22%2C%22comment%22%3A%22%22%7D%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22Telefon%22%7D%2C%7B%22msg%22%3A%22contactForm.typ.%24error.required%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A45%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.required%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A100%7D%2C%7B%22msg%22%3A%22contactForm.comment.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A200%2C%22oldVal%22%3A199%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%2C%22oldVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%7B%22typ%22%3A%22Telefon%22%2C%22kontakt%22%3A%22%22%2C%22comment%22%3A%22%22%7D%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22Telefon%22%7D%2C%7B%22msg%22%3A%22contactForm.typ.%24error.required%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A45%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.required%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A100%7D%2C%7B%22msg%22%3A%22contactForm.comment.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A201%2C%22oldVal%22%3A200%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%2C%22oldVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%7B%22typ%22%3A%22Telefon%22%2C%22kontakt%22%3A%22%22%2C%22comment%22%3A%22%22%7D%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22Telefon%22%7D%2C%7B%22msg%22%3A%22contactForm.typ.%24error.required%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A45%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.required%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A100%7D%2C%7B%22msg%22%3A%22contactForm.comment.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%5D%5D

However, the link is too long and doesn't work since the server closes the connection.

jtr-dev commented 9 years ago

Clicking the link takes me here https://docs.angularjs.org/error/$rootScope/infdig?p0=10&p1=undefined which seems on-topic with what you're talking about. How do you mean the link doesn't work? Does clicking it not take you to the same url?

On Thu, Jun 4, 2015 at 3:53 AM, maja notifications@github.com wrote:

When producing invalid linkage between scope values, the digest loop might run into an infinite recursion and aborts after 10 steps.

This correctly produces the following error message:

Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting! Watchers fired in the last 5 iterations: [...]

However, in my case, the following link has been produced to get further information:

http://errors.angularjs.org/1.4.0/$rootScope/infdig?p0=10&p1=%5B%5B%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A197%2C%22oldVal%22%3A196%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%7B%22typ%22%3A%22Telefon%22%2C%22kontakt%22%3A%22%22%2C%22comment%22%3A%22%22%7D%2C%22oldVal%22%3A%7B%22typ%22%3A%22Telefon%22%2C%22kontakt%22%3A%22%22%2C%22comment%22%3A%22%22%7D%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%7B%22typ%22%3A%22Telefon%22%2C%22kontakt%22%3A%22%22%2C%22comment%22%3A%22%22%7D%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22Telefon%22%7D%2C%7B%22msg%22%3A%22contactForm.typ.%24error.required%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2 C%22newVal%22%3Afalse%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A45%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.required%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A100%7D%2C%7B%22msg%22%3A%22contactForm.comment.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%2 0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A198%2C%22oldVal%22%3A197%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%2C%22oldVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%7B%22typ%22%3A%22Telefon%22%2C%22kontakt%22%3A%22%22%2C%22comment%22%3A%22%22%7D%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22Telefon%22%7D%2C%7B%22msg%22%3A%22contactForm.typ.%24error.required%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D %2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A45%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.required%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A100%7D%2C%7B%22msg%22%3A%22contactForm.comment.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%5D%2C%5B%7B%22msg%2 2%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A199%2C%22oldVal%22%3A198%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%2C%22oldVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%7B%22typ%22%3A%22Telefon%22%2C%22kontakt%22%3A%22%22%2C%22comment%22%3A%22%22%7D%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22Telefon%22%7D%2C%7B%22msg%22%3A%22contactForm.typ.%24error.required%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A45%7D%2C%7B%22msg%22%3A%22contac tForm.kontakt.%24error.required%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A100%7D%2C%7B%22msg%22%3A%22contactForm.comment.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A200%2C%22oldVal%22%3A199%7D%2C% 7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%2C%22oldVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%7B%22typ%22%3A%22Telefon%22%2C%22kontakt%22%3A%22%22%2C%22comment%22%3A%22%22%7D%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22Telefon%22%7D%2C%7B%22msg%22%3A%22contactForm.typ.%24error.required%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A45%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.required%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22contactForm.kon takt.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A100%7D%2C%7B%22msg%22%3A%22contactForm.comment.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A201%2C%22oldVal%22%3A200%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%22%3C%3Calready%20se en%3E%3E%22%2C%22oldVal%22%3A%22%3C%3Calready%20seen%3E%3E%22%7D%2C%7B%22msg%22%3A%22fn%3A%20regularInterceptedExpression%22%2C%22newVal%22%3A%7B%22typ%22%3A%22Telefon%22%2C%22kontakt%22%3A%22%22%2C%22comment%22%3A%22%22%7D%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22Telefon%22%7D%2C%7B%22msg%22%3A%22contactForm.typ.%24error.required%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A45%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.required%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22contactForm.kontakt.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%2 0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Atrue%7D%2C%7B%22msg%22%3A%22fn%3A%20ngModelWatch%22%2C%22newVal%22%3A%22%22%7D%2C%7B%22msg%22%3A%22fn%3A%20constantWatch%22%2C%22newVal%22%3A100%7D%2C%7B%22msg%22%3A%22contactForm.comment.%24error.maxlength%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function%20()%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20formCtrl%5BinputName%5D%20%26%26%20formCtrl%5BinputName%5D.%24invalid%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%22%2C%22newVal%22%3Afalse%7D%5D%5D

However, the link is too long and doesn't work since the server closes the connection.

— Reply to this email directly or view it on GitHub https://github.com/angular/angular.js/issues/12024.

jakobmaier commented 9 years ago

I just checked it again and it seems to depend on the browser.

It seems like this is a browser issue that is triggered with too long urls. It might, however, be a good idea if angular chops off parameters if they contain too much data.