Opened 3 years ago

Closed 3 years ago

#2500 closed defect (fixed)

WCPS - error with clip expression in LET clause

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

Description

This query

for $c in (test_rgb) 
let
  $clipped:= clip( switch
              case  30<$c return 1
              default return 0, 
            POLYGON((0 0, 0 10, 40 10, 40 0)) 
      )
return encode(
        $clipped
        ,"json")

return error in petascope

infinite recursion (StackOverflowError) (through reference chain: java.util.LinkedHashMap

Change History (1)

comment:1 by Bang Pham Huu, 3 years ago

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