Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0004316 |
[Croquet] Hedgehog |
minor |
always |
07-23-06 23:34 |
10-08-06 00:23 |
|
Reporter |
howardstearns |
View Status |
public |
|
Assigned To |
andreas |
Priority |
normal |
Resolution |
fixed |
|
Status |
resolved |
|
|
|
|
Summary |
0004316: can't log: and use backDoor at same time. #printClient: gets dnu #address |
Description |
Run a router with a non-nil backDoor, such as the simple Croque(Master). Set the router to log, e.g., by doing (self log: Transcript) while inspecting the router. Get nil (a putative router client) does not understand #address.
|
Additional Information |
When a router has logging turned on, #send:from: sends (self printClient: aClient), which asks aClient for it's address.
However, when using a backDoor, TRemoteController>>sendMessage: sends the message with nil as aClient.
One solution might be to have sendMessage: supply a real client. Another is to have #printClient: guard against null clients. Code for the latter is attached. |
|
Attached Files |
TMessageRouter-printClient.st.gz [^] (298 bytes) 07-23-06 23:34 |
|