[GRASS5] [bug #4319] (grass) d.m: can't display a raster if 'was found in more mapsets'

this bug's URL: http://intevation.de/rt/webrt?serial_num=4319
-------------------------------------------------------------------------

Subject: d.m: can't display a raster if 'was found in more mapsets'

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006-04-05

Hi

Trying to display a raster of a name which repeats in another mapset leads to a following error and the raster is not displayed:

WARNING: 'cell/x' was found in more mapsets (also found in melio2).
WARNING: 'cell/x' was found in more mapsets (also found in melio2).
    while executing
"close $rt"
    (procedure "DmRaster::display" line 27)
    invoked from within
"DmRaster::display $node"
    ("raster" arm line 2)
    invoked from within
"switch $type {
        group {
            DmGroup::display $node
  }
  raster {
      DmRaster::display $node
  }
  labels {
      DmLabels::display $node
..."
    (procedure "Dm::display_node" line 6)
    invoked from within
"Dm::display_node $n"
    (procedure "DmGroup::display" line 11)
    invoked from within
"DmGroup::display "root" "
    (procedure "Dm::display" line 8)
    invoked from within
"Dm::display"
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 $cmd"
    (procedure "Button::_release" line 18)
    invoked from within
"Button::_release .mainframe.topf.tb0.bbox1.b0"
    (command bound to event)

Maciek

-------------------------------------------- Managed by Request Tracker