[Rock-dev] [rock] #168: orocos.rb: TaskContext.reachable? is incorrectly returning true

rock noreply at opendfki.de
Wed May 16 11:18:15 CEST 2012


#168: orocos.rb: TaskContext.reachable? is incorrectly returning true
----------------------------+-----------------------------------
 Reporter:  Alexander.Duda  |      Owner:  rock-dev-mailing-list
     Type:  defect          |     Status:  new
 Priority:  major           |  Milestone:
Component:  base            |   Keywords:
----------------------------+-----------------------------------
 if a reader is created for a dynamic port which is removed and added to
 the task again the reader is no longer valid (same for the port) but

 reader.task.reachable? => true
 reader.port.task.reachable? => true
 reader.task.state => task_context.rb:696:in `do_has_port?': communication
 failed with ...

 the right behavior would be:
  * reader.task.reachable? => true,
  * fixing that the task cannot be accessed
  * adding methods to validate the reader and port

-- 
Ticket URL: <http://rock.opendfki.de/ticket/168>
rock <http://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list