Title:
[ANeff] Bug for: WebSocket open/closeConnection() return undefined instead of boolean
| View in TrackerStatus/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: