[GRASS-dev] [GRASS GIS] #1306: WGUI doesn't strip quotes from map name when adding to layer manager after module run

#1306: WGUI doesn't strip quotes from map name when adding to layer manager after
module run
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.1
Component: wxGUI | Version: 6.4.1 RCs
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Use raster calculator to create a new map that needs quotes around it's
name i.e. "a-b" (r.mapcalc "a-b" = 5). a-b map is added to layer manager
as "a-b" (including quotes), still correct map name is a-b and not "a-b".
Some modules (all?) would fail to process this map until it's name in
layer manager is changed to correct one.

{{{
(Fri Mar 11 11:34:03 2011)
r.mapcalc "a-b" = 5
(Fri Mar 11 11:34:04 2011) Command finished (1 sec)
(Fri Mar 11 11:34:16 2011)
r.info map="a-b"@SRTM
Illegal filename. Character <"> not allowed.
ERROR: Raster map <"a-b"@SRTM> not found
(Fri Mar 11 11:34:17 2011) Command finished (0 sec)
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1306&gt;
GRASS GIS <http://grass.osgeo.org>

#1306: WGUI doesn't strip quotes from map name when adding to layer manager after
module run
-------------------------------+--------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.1
Component: wxGUI | Version: 6.4.1 RCs
Keywords: raster calculator | Platform: Unspecified
      Cpu: Unspecified |
-------------------------------+--------------------------------------------
Changes (by martinl):

  * keywords: => raster calculator

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1306#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1306: WGUI doesn't strip quotes from map name when adding to layer manager after
module run
-------------------------------+--------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.1 RCs
Keywords: raster calculator | Platform: Unspecified
      Cpu: Unspecified |
-------------------------------+--------------------------------------------
Changes (by neteler):

  * milestone: 6.4.1 => 6.4.3

Comment:

See also #1305

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1306#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1306: WGUI doesn't strip quotes from map name when adding to layer manager after
module run
--------------------------+-------------------------------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.1 RCs
Resolution: fixed | Keywords: raster calculator
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by annakrat):

  * status: new => closed
  * resolution: => fixed

Comment:

Fixed in r52811, r52813, r52814. Closing the ticket.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1306#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>