{ "id": "62545", "key": "TIMOB-1913", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:31.000+0000", "created": "2011-04-15T03:05:26.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "defect", "ios", "iphone", "sound" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57:31.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

On the iphone, when creating a sound object, if the url is set\noutside the create method, the app crashes and does not log\nanything to the console window.

\n

Sample Code:
\nvar win = Ti.UI.currentWindow;

\n

var newSound = Titanium.Media.createSound();
\nnewSound.url = 'cricket.wav';
\nnewSound.play();

{html}", "attachment": [], "flagged": false, "summary": "Setting url of Sound object outside create method causes crash", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126968", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [ee8c6064eaa4d8c9a6622a458790fce719a2a903])\n[#1913 state:fixed-in-qa] Sounds now allow\nsetting some properties outside of constructor. \nhttp://github.com/appcelerator/titanium_mobile/commit/ee8c6064eaa4d...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:27.000+0000", "updated": "2011-04-15T03:05:27.000+0000" }, { "id": "126969", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [3be604b257e1ed50373ad20008f3a2410627efef])\n[#1913 state:fixed-in-qa] Sounds now allow\nsetting some properties outside of constructor. \nhttp://github.com/appcelerator/titanium_mobile/commit/3be604b257e1e...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:27.000+0000", "updated": "2011-04-15T03:05:27.000+0000" }, { "id": "126970", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

5th gen ipod touch mobile sdk build 1.5.0.d5d8dbe

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:27.000+0000", "updated": "2011-04-15T03:05:27.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }