{ "id": "175493", "key": "TIMOB-28105", "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": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-11-23T21:19:45.000+0000", "created": "2020-09-01T03:18:04.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "audio", "audioRecording" ], "versions": [ { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-11-23T21:19:45.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": "*Summary:*\r\nThe following {{Ti.Media.AudioRecorder}} properties return the wrong values...\r\n* \"recording\" never returns {{false}} after calling {{pause()}} or {{stop()}}.\r\n* \"stopped\" never returns {{false}} ever. It always returns {{true}}.\r\n\r\n*Steps to reproduce:*\r\n# Create a \"Classic\" app.\r\n# Add the below permission to the \"tiapp.xml\".\r\n# Use attached [^AudioRecorderStatusTest.js] for the \"app.js\".\r\n# Build and run on Android.\r\n# Notice the label \"Stopped: true\". _(This is wrong. It should be false.)_\r\n# Tap on the \"Start Recording\" button.\r\n# Tap on the \"Pause Recording\" button.\r\n# Notice the label \"Recording: true\" does not become {{false}}. _(This is wrong.)_\r\n# Tap on the \"Resume Recording\" button.\r\n# Tap on the \"Stop Recording\" button.\r\n# Notice the label \"Recording: true\" does not become {{false}}. _(This is wrong.)_\r\n\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n*Expected Result:*\r\nOnly 1 of the below properties should be true at a time...\r\n* \"recording\" - only {{true}} after calling {{start()}} or {{resume()}}\r\n* \"paused\" - only {{true}} after calling {{pause()}}\r\n* \"stopped\" - only {{true}} after creation or after calling {{stop()}}\r\n", "attachment": [ { "id": "67516", "filename": "AudioRecorderStatusTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-01T18:39:36.000+0000", "size": 2381, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: AudioRecorder \"recording\" and \"stopped\" properties return the wrong state values", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1206, "state": "closed", "name": "2020 Sprint 19", "startDate": "2020-09-14T20:01:00.000Z", "endDate": "2020-09-25T20:01:00.000Z", "completeDate": "2020-09-28T15:30:19.875Z", "originBoardId": 114 }, { "id": 1207, "state": "closed", "name": "2020 Sprint 20", "startDate": "2020-09-28T15:30:47.481Z", "endDate": "2020-10-09T15:30:00.000Z", "completeDate": "2020-10-09T16:33:43.453Z", "originBoardId": 114 }, { "id": 1208, "state": "closed", "name": "2020 Sprint 21", "startDate": "2020-10-12T16:34:00.000Z", "endDate": "2020-10-23T16:34:00.000Z", "completeDate": "2020-10-23T02:32:43.674Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "456683", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (9.3.x): https://github.com/appcelerator/titanium_mobile/pull/11996", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-01T23:57:04.000+0000", "updated": "2020-09-01T23:57:04.000+0000" }, { "id": "457250", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed\r\nWaiting for Jenkins build", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-10-14T22:43:34.000+0000", "updated": "2020-10-14T22:43:34.000+0000" }, { "id": "457259", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to 9_3_X, automatic backport to master failed due to conflicts - so I manually cherry-picked the commits over and resolved the conflicts.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-10-15T14:48:54.000+0000", "updated": "2020-10-15T14:53:52.000+0000" }, { "id": "457691", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified on:\r\nMac OS: 10.15.4\r\nSDK: 9.3.0.v20201123121926\r\nAppc CLI: 8.1.1\r\nJDK: 11.0.6\r\nNode: 12.16.1\r\nStudio: 6.0.0.202005141803\r\nDevice: Pixel 3 XL(v11.0) emulator", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-11-23T21:19:45.000+0000", "updated": "2020-11-23T21:19:45.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }