Opened 7 years ago
Closed 6 years ago
#1750 closed enhancement (fixed)
WCPS ANTLR4 parsing error reporting enhancement
Reported by: | Dimitar Misev | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.7 |
Component: | petascope | Version: | development |
Keywords: | Cc: | ||
Complexity: | Medium |
Description (last modified by )
I got these errors:
A parsing error occurred at position=4:69. Offending symbol is=[@41,143:143=',',<14>,4:69]. Parser message=no viable alternative at input 'coveragehillShadeover$pxx(imageCrsDomain($c[E(1049795:1059795),N(7740205:7750205)]),
The problem is that the query fragment after input has all the spaces removed, which is confusing.
A parsing error occurred at position=10:170. Offending symbol is=[@306,632:632=')',<70>,10:170]. Parser message=mismatched input ')' expecting {AND, ',', '/', '.', '=', '>', '>=', IS, '[', '<', '<=', '-', '*', '!=', OR, OVERLAY, '+', XOR}
The problem is that it is unclear what position=10:170
and Offending symbol is=[@306,632:632=')',<70>,10:170]
mean.
Change History (5)
comment:1 by , 7 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 7 years ago
Component: | wcsclient → petascope |
---|---|
Description: | modified (diff) |
Resolution: | invalid |
Status: | closed → reopened |
Summary: | WS client should replace \n with space in WCPS queries → WCPS error reporting issues |
comment:3 by , 7 years ago
Milestone: | 9.6 → 9.7 |
---|
comment:4 by , 7 years ago
Summary: | WCPS error reporting issues → WCPS ANTLR4 parsing error reporting enhancement |
---|---|
Type: | defect → enhancement |
comment:5 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.