this bug's URL: http://intevation.de/rt/webrt?serial_num=5182
-------------------------------------------------------------------------
Subject: parser: allows for '@' in map names
1. A command that creates a vector map:
$ v.random out=map1@bogus n=10
$ g.list vect
----------------------------------------------
vector files available in mapset breach:
map1@bogus
It works, but it shouldn't. You can't do anything with the vector created, not
even remove it:
$ g.remove vect=map1@bogus
G__open(r): mapset (breach) doesn't match xmapset (bogus)
ERROR: Vector map <map1@bogus> not found
2. A command that creates a vector and a table:
$ v.mkgrid map=map2@bogus grid=1,1 position=region
dbmi: Protocol error
ERROR: Cannot create table: create table map2@bogus ( cat integer, row
integer, col integer, rown varchar(1), coln varchar(1))
Vector is created though, in error.
3. Creating rasters:
$ r.random.cells dist=1 out=map3@bogus
WARNING: opencell: map3@bogus - bad mapset
ERROR: r.random.cells: unable to open new raster map [map3@bogus]
The map is not created, but the module attempts to create it, only it fails to
in the very end. While it shouldn't even try creating it.
Maciek
-------------------------------------------- Managed by Request Tracker