I create a HTML page and write some script in it. When I click "Save Script", then ZC check Deluge Script and report error. There is no problem for this flow. But the error message looks unfriendly. eg. there is a simple error, however ZC tell me the following error message:
Encountered "<" at line 30, column 21.
Was expecting one of:
"Workflow" ...
"output" ...
"bool" ...
...
"float" ...
"list" ...
"map" ...
"xml" ...
"var" ...
"htmlpage" ...
"string" ...
"date" ...
"void" ...
"this" ...
"input" ...
"criteria" ...
"given" ...
"declare" ...
"fetch" ...
"ensure" ...
"all" ...
"from" ...
"times" ...
"if" ...
"else" ...
"while" ...
"do" ...
"assumed" ...
"unique" ...
"one" ...
"for" ...
"each" ...
"matching" ...
"row" ...
"in" ...
"update" ...
"delete" ...
"insert" ...
"into" ...
"print" ...
"info" ...
"alert" ...
"cancel" ...
"return" ...
"submit" ...
"include" ...
"exclude" ...
"join" ...
"where" ...
"success message" ...
"sendmail" ...
"language" ...
"reply" ...
"content" ...
"type" ...
"subject" ...
"message" ...
"cc" ...
"bcc" ...
"to" ...
"TRUE" ...
"FALSE" ...
"pattern" ...
"AS" ...
"BULK" ...
"show" ...
"hide" ...
"clear" ...
"field" ...
"select" ...
"deselect" ...
"selectall" ...
"deselectall" ...
"set" ...
"add" ...
"ui" ...
"enable" ...
"disable" ...
"inserthtml" ...
"editortype" ...
"tasktype" ...
"share" ...
"unshare" ...
"application" ...
"section" ...
"page" ...
"tab" ...
"form" ...
"view" ...
"displayname" ...
"attachments" ...
"xls" ...
"pdf" ...
"csv" ...
"tsv" ...
"json" ...
"}" ...
"new" ...
"persist" ...
"find" ...
"matches" ...
"replace" ...
"replaceAll" ...
"replaceFirst" ...
"groupCount" ...
"empty" ...
"is" ...
"not" ...
"null" ...
"exists" ...
"contains" ...
"!contain" ...
"startsWith" ...
"endsWith" ...
"sort" ...
"by" ...
...
...
"range" ...
"namespace" ...
"function" ...
"using" ...
...
"%>" ...
It is too long and complicated! I suggest the first line are enough, eg:
Error found at "<" at line 30, column 21.
One of my agent reported this to me. He felt confused and impatient.
Hope Zoho Creator team could improve the way of showing error message when debuging.
Kunji
百会创造者