Opened 7 years ago

Closed 7 years ago

#1631 closed defect (fixed)

Petascope should not import coverage which contains "-" as coverage id

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.5
Component: petascope Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

a valid rasdaman collection cannot contain "-" so in Petascope, it replaces "-" with "_" implicitly when handling InsertCoverage, UpdateCoverage.

As WCPS does not support "-" for coverageId, then any requests with this kind of coverage will return error by parsing.

for c in (test_mr1-1) return encode(c, "csv")

A parsing error occurred at position=1:18. Offending symbol is=[@5,18:18='-',<51>,1:18]. Parser message=mismatched input '-' expecting {',', RETURN, ')', WHERE}.

so Petascope InsertCoverage,UpdateCoverage shouldn't replace "-" with "_" and should throw exception.


Change History (1)

comment:1 by Bang Pham Huu, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.