Review #242137 - IllegalArgumentException: The input text cannot contain carriage return char \r
Petr Pisl <[email protected]> Mon, 24 Feb 2014 17:45:02 +0100
| Newsgroups | gmane.comp.java.netbeans.reviewers |
|---|---|
| Message-ID | <[email protected]> |
Please review the bug fix for https://netbeans.org/bugzilla/show_bug.cgi?id=242137 Description: When a file where are AngularJs controllers assigned to the html templates is not open in the editor, then the content of the file is taken from the file object directly. This brings problems with converting \r chars. The fix is to don't use the content from file but from snapshot. Impact: Causes IllegarArgumentException in an html template, if the template uses controller defined in js file with '\r' at the end. http://hg.netbeans.org/web-main/rev/6e84eb1e7ea0 Thanks, Petr