OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000293OMNeT++simulation kernelpublic2011-05-05 14:582011-05-05 14:58
andras 
 
normalminorhave not tried
newopen 
4.1 
 
0000293: cGate::getDisplayString() wrong behavior when gate is unconnected
cGate::getDisplayString() creates a cIdealChannel to hold the display string if there's no channel at the time of the call. However, it also creates a channel if the gate is unconnected. This causes the problem when you want to connect the gate, as connectTo() expects the channel to be NULL.

Possibilities of what getDisplayString() should do for an unconnected gate:
- throw an exception?
- return a dummy display string?
No tags attached.
Issue History
2011-05-05 14:58andrasNew Issue

There are no notes attached to this issue.