{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular/issues/22341","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/22341/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/22341/comments","events_url":"https://api.github.com/repos/angular/angular/issues/22341/events","html_url":"https://github.com/angular/angular/issues/22341","id":298866435,"number":22341,"title":"Templates - GUID template parse failure","user":{"login":"Wayne-Mather","id":11050269,"avatar_url":"https://avatars1.githubusercontent.com/u/11050269?v=4","gravatar_id":"","url":"https://api.github.com/users/Wayne-Mather","html_url":"https://github.com/Wayne-Mather","followers_url":"https://api.github.com/users/Wayne-Mather/followers","following_url":"https://api.github.com/users/Wayne-Mather/following{/other_user}","gists_url":"https://api.github.com/users/Wayne-Mather/gists{/gist_id}","starred_url":"https://api.github.com/users/Wayne-Mather/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wayne-Mather/subscriptions","organizations_url":"https://api.github.com/users/Wayne-Mather/orgs","repos_url":"https://api.github.com/users/Wayne-Mather/repos","events_url":"https://api.github.com/users/Wayne-Mather/events{/privacy}","received_events_url":"https://api.github.com/users/Wayne-Mather/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-21T07:29:20Z","updated_at":"2018-02-21T08:44:50Z","closed_at":"2018-02-21T08:44:50Z","author_association":"NONE","body":"<!--\r\nPLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.\r\n\r\nISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.\r\n-->\r\n\r\n## I'm submitting a...\r\n<!-- Check one of the following options with \"x\" -->\r\n<pre><code>\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[x] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Feature request\r\n[ ] Documentation issue or request\r\n[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n</code></pre>\r\n\r\n## Current behavior\r\n<!-- Describe how the issue manifests. -->\r\n\r\nI am unable to use GUID identifiers as input parameters to a child component.\r\n\r\n```\r\ncompiler.js:485 Uncaught Error: Template parse errors:\r\nParser Error: Unexpected token Lexer Error: Invalid exponent at column 1 in expression [0efde954-e523-4f88-ad25-4efbda9b5a1e] at column 2 in [0efde954-e523-4f88-ad25-4efbda9b5a1e] in ng:///AppModule/AppComponent.html@0:51 (\"<app-history [records]=\"30\" [shellDimValId]=\"5205\" [ERROR ->][shellDimLocId]=\"0efde954-e523-4f88-ad25-4efbda9b5a1e\">\r\n\r\n</app-history>\"): ng:///AppModule/AppComponent.html@0:51\r\nParser Error: Lexer Error: Invalid exponent at column 1 in expression [0efde954-e523-4f88-ad25-4efbda9b5a1e] at column 2 in [0efde954-e523-4f88-ad25-4efbda9b5a1e] in ng:///AppModule/AppComponent.html@0:51 (\"<app-history [records]=\"30\" [shellDimValId]=\"5205\" [ERROR ->][shellDimLocId]=\"0efde954-e523-4f88-ad25-4efbda9b5a1e\">\r\n\r\n</app-history>\"): ng:///AppModule/AppComponent.html@0:51\r\nParser Error: Lexer Error: Invalid exponent at column 25 in expression [0efde954-e523-4f88-ad25-4efbda9b5a1e] at column 26 in [0efde954-e523-4f88-ad25-4efbda9b5a1e] in ng:///AppModule/AppComponent.html@0:51 (\"<app-history [records]=\"30\" [shellDimValId]=\"5205\" [ERROR ->][shellDimLocId]=\"0efde954-e523-4f88-ad25-4efbda9b5a1e\">\r\n\r\n</app-history>\"): ng:///AppModule/AppComponent.html@0:51\r\n    at syntaxError (compiler.js:485)\r\n    at TemplateParser.parse (compiler.js:24668)\r\n    at JitCompiler._parseTemplate (compiler.js:34621)\r\n    at JitCompiler._compileTemplate (compiler.js:34596)\r\n    at eval (compiler.js:34497)\r\n    at Set.forEach (<anonymous>)\r\n    at JitCompiler._compileComponents (compiler.js:34497)\r\n    at eval (compiler.js:34367)\r\n    at Object.then (compiler.js:474)\r\n    at JitCompiler._compileModuleAndComponents (compiler.js:34366)\r\nsyntaxError @ compiler.js:485\r\nTemplateParser.parse @ compiler.js:24668\r\nJitCompiler._parseTemplate @ compiler.js:34621\r\nJitCompiler._compileTemplate @ compiler.js:34596\r\n(anonymous) @ compiler.js:34497\r\nJitCompiler._compileComponents @ compiler.js:34497\r\n(anonymous) @ compiler.js:34367\r\nthen @ compiler.js:474\r\nJitCompiler._compileModuleAndComponents @ compiler.js:34366\r\nJitCompiler.compileModuleAsync @ compiler.js:34260\r\nCompilerImpl.compileModuleAsync @ platform-browser-dynamic.js:239\r\nPlatformRef.bootstrapModule @ core.js:5563\r\n(anonymous) @ main.ts:12\r\n../../../../../apps/shellhistory/src/main.ts @ main.bundle.js:96\r\n__webpack_require__ @ inline.bundle.js:55\r\n0 @ main.bundle.js:119\r\n__webpack_require__ @ inline.bundle.js:55\r\nwebpackJsonpCallback @ inline.bundle.js:26\r\n(anonymous) @ main.bundle.js:1\r\n\r\n```\r\n\r\n\r\n## Expected behavior\r\n<!-- Describe what the desired behavior would be. -->\r\nI should be able to use this string as an input\r\n\r\n## Minimal reproduction of the problem with instructions\r\nCreate a standard NG Cli app and build your component so it supports the following:\r\n\r\n`<app-child  [input_as_string]=\"0efde954-e523-4f88-ad25-4efbda9b5a1e\"></app-child>`\r\n\r\n## What is the motivation / use case for changing the behavior?\r\n<!-- Describe the motivation or the concrete use case. -->\r\nWe heavily use GUID's inside our system so being able to inject these are the parent level is a must. \r\n\r\n## Environment\r\n\r\n<pre><code>\r\nAngular version: 5.2.0\r\n\r\nFor Tooling issues:\r\n- Node version: v9.5.0 <!-- run `node --version` -->\r\n- Platform:  Windows <!-- Mac, Linux, Windows -->\r\n\r\nOthers:\r\n<!-- Anything else relevant?  Operating system version, IDE, package manager, HTTP server, ... -->\r\n</code></pre>\r\n"}}
{"actor":{"display_login":"Wayne-Mather"}}