tracker issue : CF-3342986

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] Bug for: WebSocket open/closeConnection() return undefined instead of boolean

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 10/09/2012

Components: Documentation

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Win All

Vote Count: 0

WebSocket's openConnection() and closeConnection() should return true upon successful completion (as documented). Currently, they return undefined upon successful completion.

1) go to: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d318518767eb3aa135858633ee-7ffc.html
2) see description for CloseConnection (should be 'closeConnection' btw) contains: "Returns true on successful completion."
3) see note beneath function table contains: "When you use these functions, a boolean value indicating the status of the call is returned." (#3342977 contains suggested new wording for this note)
4) see description for openConnection is missing the "Returns true on successful completion."

In summary, the openConnection() and closeConnection() should return boolean (just like all the other functions, and just like the doc says) so that user knows the call completed successfully.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3342986

Deployment Phase:	Release Candidate

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:

Attachments:

Comments:

For repro, please run code attached to #CF-3345377.
Comment by External U.
17657 | October 12, 2012 12:18:02 AM GMT
Awdhesh, can you check?
Comment by Rupesh K.
17658 | September 06, 2013 06:48:42 AM GMT
The new page is at: https://learn.adobe.com/wiki/display/coldfusionen/Using+WebSocket+to+broadcast+messages with the changes incorporated. The old help.adobe.com page will be redirected.
Comment by Frank J.
17659 | January 21, 2014 03:33:03 AM GMT
Please verify now: https://learn.adobe.com/wiki/display/coldfusionen/Using+WebSocket+to+broadcast+messages
Comment by Frank J.
17660 | February 03, 2014 12:24:53 AM GMT
Chandra, Please redirect: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d318518767eb3aa135858633ee-7ffc.html To: https://wikidocs.adobe.com/wiki/display/coldfusionen/Using+WebSocket+to+broadcast+messages#UsingWebSockettobroadcastmessages-UsingtheWebSocketJavaScriptfunctions
Comment by Frank J.
17661 | February 10, 2014 01:20:21 AM GMT
Have filed the Redirect Request, which will be implemented in couple of days. Thanks.
Comment by Chandra S.
17662 | February 19, 2014 09:52:29 AM GMT