{ "id": "167400", "key": "TIMOB-24646", "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": "19381", "name": "Hyperloop 2.1.1", "archived": false, "released": true, "releaseDate": "2017-06-02" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-05-04T23:03:24.000+0000", "created": "2017-05-02T03:00:04.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "hyperloop-windows" ], "versions": [ { "id": "19101", "name": "Hyperloop 2.1.0", "archived": false, "released": true, "releaseDate": "2017-04-28" } ], "issuelinks": [ { "id": "54814", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "167421", "key": "TIMOB-24651", "fields": { "summary": "Windows: Hyperloop unable to compile generic collections", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "54809", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "167325", "key": "TIMOB-24637", "fields": { "summary": "Windows Hyperloop: accessing generic collections throws exception", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-17T11:51: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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Accessing [Item property \\(indexer\\) in Generic.List|https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1.item?view=netframework-4.7#System_Collections_Generic_List_1_Item_System_Int32_] throws exception. We would like to use an \"array-style\" syntax to access element of the collection like below.\r\n \r\n{code}\r\nvar List = require('System.Collections.Generic.List'),\r\n Int32 = require('System.Int32');\r\nvar vec = new List();\r\n\r\nvec.Add(Int32.cast(0));\r\nvec.Add(Int32.cast(1));\r\nvec.Add(Int32.cast(2));\r\n\r\nTi.API.info(vec[1]); // should print 1\r\nvec[1] = 100;\r\nTi.API.info(vec[1]); // should print 100\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Windows: Hyperloop List.Item (indexer) property does not work", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Hyperloop 2.1.0\r\nTitanium SDK 6.1.0.v20170428073516\r\nWindows 10\r\n", "closedSprints": [ { "id": 883, "state": "closed", "name": "2017 Sprint 09 SDK", "startDate": "2017-04-23T21:46:54.309Z", "endDate": "2017-05-07T21:46:00.000Z", "completeDate": "2017-05-08T00:25:44.276Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "418561", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/hyperloop.next/pull/165", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-02T09:30:55.000+0000", "updated": "2017-05-02T09:30:55.000+0000" }, { "id": "419877", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 10 Pro\r\nTi SDK: 6.1.0.v20170516173434\r\nAppc CLI: 6.2.2-master.13\r\nAppc NPM: 4.2.9\r\nHyperloop: 2.1.1 (https://github.com/appcelerator/hyperloop.next/tree/2_1_X/windows/dist)\r\nWindows 10 Mobile emulator\r\nLumia 550 (10.0)\r\nWindows Phone 8.1 emulator\r\nLumia 520 (8.1)\r\n\r\nAble to access a list item using array syntax, able to call functions like IndexOf, Clear etc. with no issues.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-05-17T11:51:40.000+0000", "updated": "2017-05-17T11:51:40.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }