{ "id": "77967", "key": "TIMOB-4718", "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": "11362", "description": "Mobile 1.8.0 M09", "name": "Sprint 2011-30", "archived": true, "released": true, "releaseDate": "2011-08-01" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-05T14:33:19.000+0000", "created": "2011-07-19T11:32:29.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [ { "id": "11860", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "78278", "key": "TIMOB-4803", "fields": { "summary": "Android: validate xml.js drillbit test and remove unnecessary bug-related comments after all pending bug pull requests have been merged.", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-11-05T14:33:19.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": "Steps to Reproduce:\r\n1. Run XML test case for drillbit \r\n\r\nActual Result:\r\nCData fails when the sum of offset and count exceeds length\r\n\r\nExpected Result:\r\nShould return the entire string", "attachment": [], "flagged": false, "summary": "Android: CharacterData.substringData - If the sum of offset and count exceeds the length exception is thrown instead of returning entire string", "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": "Android 2.3.3 Sim with Titanium 1.8.0 githash=6c41d3c", "comment": { "comments": [ { "id": "160812", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "From the trace (below) it looks like Harmony is non-compliant. Spec says if \"If the sum of offset and count exceeds the length, then all 16-bit units to the end of the data are returned.\" So it looks like we'll have to take care of this for Harmony :( .\r\n\r\n{code}\r\nE/KrollMethod(21962): java.lang.StringIndexOutOfBoundsException: start=1 end=1001 length=97\r\nE/KrollMethod(21962): \tat java.lang.AbstractStringBuilder.startEndAndLength(AbstractStringBuilder.java:218)\r\nE/KrollMethod(21962): \tat java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:630)\r\nE/KrollMethod(21962): \tat java.lang.StringBuffer.substring(StringBuffer.java:718)\r\nE/KrollMethod(21962): \tat org.apache.harmony.xml.dom.CharacterDataImpl.substringData(CharacterDataImpl.java:93)\r\nE/KrollMethod(21962): \tat ti.modules.titanium.xml.CharacterDataProxy.substringData(CharacterDataProxy.java:62)\r\nE/KrollMethod(21962): \tat ti.modules.titanium.xml.CharacterDataProxyBindingGen$10.invoke(CharacterDataProxyBindingGen.java:471)\r\n{code}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-07-27T16:17:16.000+0000", "updated": "2011-07-27T16:17:16.000+0000" }, { "id": "161126", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull req ready\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/297", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-07-29T08:08:00.000+0000", "updated": "2011-07-29T08:08:00.000+0000" }, { "id": "161192", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "reviewed and tested.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-29T14:35:17.000+0000", "updated": "2011-07-29T14:35:17.000+0000" }, { "id": "164195", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\nversion=1.8.0\ntimestamp=08/26/11 14:21\ngithash=0e2031e\nAndroid Emulator 2.1 and 3.2", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-26T14:52:57.000+0000", "updated": "2011-08-26T14:52:57.000+0000" }, { "id": "171645", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Standardizing summary and labels.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-05T14:32:39.000+0000", "updated": "2011-11-05T14:32:39.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }