#1242 closed defect (fixed)

WCPS1.5_Parsing error with scale and trim

Reported by: bphamhuu Owned by:
Priority: major Milestone: 10.0
Component: petascope Version: development
Keywords: Cc: dmisev, vmerticariu
Complexity: Medium

Description

45-scaling_operation_mr.test

for c in (mr) return encode(
    scale(
        trim(c, { i (120:130), j (50:60) }),
        { i (0:100), j (0:100) }, { }),
"png", "nodata=0")

WCPS1.5 returns error

  <ows:Exception exceptionCode="RuntimeError">
        <ows:ExceptionText>Runtime error while processing request</ows:ExceptionText>
    </ows:Exception>
    <ows:Exception exceptionCode="RuntimeError">
        <ows:ExceptionText>petascope.wcps2.error.managed.processing.WCPSProcessingError : A parsing error occurred at position=3:16. 
Offending symbol is=[@15,56:56='{',&lt;35&gt;,3:16]. 
Parser message=no viable alternative at input '{'.</ows:ExceptionText>
    </ows:Exception>

Change History (1)

comment:1 Changed 16 months ago by bphamhuu

  • Resolution set to fixed
  • Status changed from new to closed

patch was accepted, close ticket.

Note: See TracTickets for help on using tickets.