You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vasiliy Sisko (JIRA)" <ji...@apache.org> on 2017/12/15 03:01:09 UTC

[jira] [Created] (IGNITE-7208) Web console: Failed example on notebook page.

Vasiliy Sisko created IGNITE-7208:
-------------------------------------

             Summary: Web console: Failed example on notebook page.
                 Key: IGNITE-7208
                 URL: https://issues.apache.org/jira/browse/IGNITE-7208
             Project: Ignite
          Issue Type: Bug
            Reporter: Vasiliy Sisko
            Assignee: Alexey Kuznetsov


Open notebook page.
Example field is empty.
Exception in log:
{code}
vendor.872eb83de73a83496ad3.js:91145 Error: [$parse:syntax] Syntax Error: Token 'Ed' is an unexpected token at column 117 of the expression [example = 'CREATE TABLE Person(ID INTEGER PRIMARY KEY, NAME VARCHAR(100));
INSERT INTO Person(ID, NAME) VALUES (1, 'Ed'), (2, 'Ann'), (3, 'Emma');
SELECT * FROM Person;'] starting at [Ed'), (2, 'Ann'), (3, 'Emma');
SELECT * FROM Person;'].
http://errors.angularjs.org/1.6.6/$parse/syntax?p0=Ed&p1=is%20an%20unexpected%20token&p2=117&p3=example%20%3D%20'CREATE%20TABLE%20Person(ID%20INTEGER%20PRIMARY%20KEY%2C%20NAME%20VARCHAR(100))%3B%0AINSERT%20INTO%20Person(ID%2C%20NAME)%20VALUES%20(1%2C%20'Ed')%2C%20(2%2C%20'Ann')%2C%20(3%2C%20'Emma')%3B%0ASELECT%20*%20FROM%20Person%3B'&p4=Ed')%2C%20(2%2C%20'Ann')%2C%20(3%2C%20'Emma')%3B%0ASELECT%20*%20FROM%20Person%3B'
    at vendor.872eb83de73a83496ad3.js:76561
    at AST.throwError (vendor.872eb83de73a83496ad3.js:91703)
    at AST.ast (vendor.872eb83de73a83496ad3.js:91453)
    at Parser.parse (vendor.872eb83de73a83496ad3.js:92795)
    at $parse (vendor.872eb83de73a83496ad3.js:92941)
    at Scope.$eval (vendor.872eb83de73a83496ad3.js:94868)
    at Object.pre (vendor.872eb83de73a83496ad3.js:104704)
    at vendor.872eb83de73a83496ad3.js:77830
    at invokeLinkFn (vendor.872eb83de73a83496ad3.js:86990)
    at nodeLinkFn (vendor.872eb83de73a83496ad3.js:86356) "<div class="block-information ng-isolate-scope" data-title="With query notebook you can" style="margin-bottom: 30px;" ng-init="example = 'CREATE TABLE Person(ID INTEGER PRIMARY KEY, NAME VARCHAR(100));
INSERT INTO Person(ID, NAME) VALUES (1, 'Ed'), (2, 'Ann'), (3, 'Emma');
SELECT * FROM Person;'">"
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)