OMNeT++/OMNEST Bug Tracker - OMNeT++ | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000293 | OMNeT++ | simulation kernel | public | 2011-05-05 14:58 | 2011-05-05 14:58 |
Reporter | andras | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | 4.1 | ||||
Target Version | Fixed in Version | ||||
Summary | 0000293: cGate::getDisplayString() wrong behavior when gate is unconnected | ||||
Description | 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? | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-05-05 14:58 | andras | New Issue |
There are no notes attached to this issue. |