Opened 4 years ago

Closed 4 years ago

#2296 closed enhancement (fixed)

raswct - it should grasp error message from petasope rasql servlet

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

Description

For example, running this error rasql query on rasql-web-console

select encode(c + d, "png") from lena as c

and raswct just returns some non-useful messages as https://imgur.com/a/bvT6tir

It just needs to show only 1 error message here inside <ows:ExceptionText> element and after Reason: which returned by Petascope (check in Web Browser's Developer console / Network tab):

 <ows:ExceptionText>Error evaluating rasdaman query:
 'select encode(c + d, "png") from lena as c'.
 Reason: Undefined variable: d</ows:ExceptionText>

So, it should show only the main error message:

  Undefined variable: d

One more thing, the pink error message dialog should turn it off after 10 seconds instead of staying there forever.

Change History (3)

comment:1 by Bang Pham Huu, 4 years ago

Owner: set to dragi
Status: newassigned

comment:2 by Dimitar Misev, 4 years ago

Owner: changed from dragi to dkamov

There's also #2243

comment:3 by dkamov, 4 years ago

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