{ "id": "62573", "key": "TIMOB-1941", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11238", "name": "Release 1.6.0 M05", "archived": true, "released": true, "releaseDate": "2011-01-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:36.000+0000", "created": "2011-04-15T03:06:10.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "defect", "release-1.6.0", "sound", "streaming" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57:36.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

1.4.2.5935b3 G1 running 1.6

\n

1.Phone>sound>Remote streaming
\n2.enter some chars into the field, tap \"start stream\"

\n

results:State reports itself as playing

\n

the script is

\n

streamer.addEventListener('change',function(e)
\n{

\n
\nstateLabel.text = 'State: '+e.description +' ('+e.state+')';\n
\n

});

{html}", "attachment": [], "flagged": false, "summary": "Android: erroneous state (playing) when invalid url is entered in remote streaming test case", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127051", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

(from [1ed9dd73c98ce535b6b1f2101502009a6d061372])\n[#1941 state:fixed-in-qa] changes TiSound to\nreturn stopped state when play fails

\n

TiSound.play will not return a stopped state when a play call\nfails inside the initialize method. Updated KS example to handle\nthe stopped state correctly and update the screen with the proper\nplay state and status
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/1ed9dd73c98c...

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:06:12.000+0000", "updated": "2011-04-15T03:06:12.000+0000" }, { "id": "127052", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

The fix can be verified via the updated KS test case (part of\nthe commit for this ticket) mentioned in the first post.

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:06:12.000+0000", "updated": "2011-04-15T03:06:12.000+0000" }, { "id": "127053", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Verified on G1/1.6 and Nexus One/2.2.1 using build #e1cb22a

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:06:13.000+0000", "updated": "2011-04-15T03:06:13.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }