set status command destroys status message in iChat

Originator:vincent.gable
Number:rdar://6505882 Date Originated:2009-01-18
Status:Behaves correctly Resolved:2009-01-20
Product:iApps Product Version:iChat Version 4.0.7 (616)
Classification:Other Bug Reproducible:Always
 
Summary: 
Setting the "status" property of the iChat application in Apple Script erases the "status message" property.

Steps to Reproduce:
Run the AppleScript:
tell application "iChat"
	set status message to "testing"
	set status to away
end tell

Expected Results:
iChat would have the away message "testing"

Actual Results:
iChat has the empty away message "Away".


Regression:
Unknown.

Notes:
To work around the issue, set the "status" property before setting the "status message" property.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!