#1026 closed defect (fixed)

WCST-Import need escape special characters in file name (not only space)

Reported by: bphamhuu Owned by: bphamhuu
Priority: minor Milestone:
Component: petascope Version: development
Keywords: Cc:
Complexity: Medium

Description

I've fixed ticket http://www.rasdaman.org/ticket/986 but today I've found out that this is not good enough if file name contains character like '( )' for example this file name 'ABC 4234 (copy).tif' is valid but the effect is:

it will just create a coverage in Petascope but empty (no value when query because it is empty)

 <limits>
          <GridEnvelope>
            <low>0 0</low>
            <high>0 0</high>
          </GridEnvelope>
        </limits>

and if the filename is valid it look like this

<limits>
          <GridEnvelope>
            <low>0 0</low>
            <high>599 719</high>
          </GridEnvelope>
        </limits>

I will fix this ticket

Change History (3)

comment:1 Changed 22 months ago by mdumitru

This is due to the rasql functionality in rasdaman. See here http://rasdaman.org/browser/applications/petascope/src/main/java/petascope/util/ras/RasUtil.java#L526 - this should be fixed here, probably spaces need to be escpaed.

comment:2 Changed 22 months ago by bphamhuu

yes, I could understand it run by rasql because if don't escape space, wcstimport return error with rasql command line. Thanks for showing where I need to fix (in fact, I've fixed in wcstimport but it should be fixed in the main point as you mentioned).

comment:3 Changed 22 months ago by bphamhuu

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.