Ticket #1155 (closed defect: fixed)

Opened 1 year ago

Last modified 6 months ago

Applescript - send message events returning "missing value"

Reported by: dmaclach Assigned to: timothy
Priority: low Component: AppleScript Support
Version: Built Source Severity: normal
Keywords: Applescript Cc:

Description

When I run the following script against top of tree on Leopard I get "missing value" as an answer:

tell application "Colloquy"

tell connection 1

tell chat room 1

send message "foo"

end tell

end tell

end tell

I would be interested to see if it happens on Tiger as well, but I don't have a Tiger box handy to test it on.

Attachments

1155.patch (3.4 kB) - added by dmaclach on 05/08/08 16:31:39.
fix

Change History

11/29/07 11:36:35 changed by dmaclach

Appears to work fine on Tiger. Seems to be a Leopard bug/regression. Logged with Apple as Radar 5619836 Script returning "missing value" on Leopard.

05/08/08 16:31:39 changed by dmaclach

  • attachment 1155.patch added.

fix

05/08/08 16:32:29 changed by dmaclach

Feedback from Apple:

This is a follow-up to Bug ID# 5619836. Engineering has determined that this issue originates with Colloquy. Please feel free to contact Colloquy regarding this issue to help alert them of its importance. Colloquy has a problem that changes we made in Leopard revealed. They should change their -sendMessageScriptCommand: method to return void instead of id.

We consider this issue closed. Thank you for taking the time to notify us of this issue.

06/01/08 00:57:01 changed by timothy

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [3784]. Thanks for the patch!