{ "id": "81115", "key": "TIMOB-5432", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-02T20:28:55.000+0000", "created": "2011-10-04T17:44:07.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "training" ], "versions": [ { "id": "11971", "description": "iOS5 and select Android fixes", "name": "Release 1.7.3", "archived": true, "released": true, "releaseDate": "2011-10-18" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-02T20:28:55.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": "Steps to Reproduce:\r\n1. Launch KS > Platform > Platform Data\r\n2. Go back out and relaunch the test again\r\n3. Get the Alert about the battery notification.\r\n4. View Console logs\r\n\r\nActual Result:\r\nSometime you will get a double alert, so dismiss it and you will see it again.\r\nConsole Message:\r\nOct 4 17:27:26 unknown UIKitApplication:com.appcelerator.titanium[0x97f8][443] : [WARN] Exception in event callback. {\r\nOct 4 17:27:26 unknown UIKitApplication:com.appcelerator.titanium[0x97f8][443] : line = 2;\r\nOct 4 17:27:26 unknown UIKitApplication:com.appcelerator.titanium[0x97f8][443] : message = \"*** -[__NSArrayM objectAtIndex:]: index 1 beyond bounds [0 .. 0]\";\r\nOct 4 17:27:26 unknown UIKitApplication:com.appcelerator.titanium[0x97f8][443] : sourceId = 210698176;\r\nOct 4 17:27:26 unknown UIKitApplication:com.appcelerator.titanium[0x97f8][443] : sourceURL = \"file://localhost/var/mobile/Applications/EF78A16D-3D30-4349-A893-19A9DDC848DB/KitchenSink.app/examples/platform.js\";\r\nOct 4 17:27:26 unknown UIKitApplication:com.appcelerator.titanium[0x97f8][443] : } \r\n\r\nExpected Result:\r\nTo display the alert message only once and not throw any warning message\r\n\r\nNote:\r\nAlso occurred with 1.7.2", "attachment": [], "flagged": false, "summary": "iOS: Warning messages thrown when eventlistener is called on battery state change", "creator": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iPhone 4.3.5 and iPod 4g 5.0 with 1.7.3.v20111004134225", "comment": { "comments": [ { "id": "420856", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid this version of Kitchen Sink is no longer supported.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-02T20:28:55.000+0000", "updated": "2017-06-02T20:28:55.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }