{ "id": "167325", "key": "TIMOB-24637", "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:16.000+0000", "created": "2017-04-27T02:09:08.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": "54809", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "167400", "key": "TIMOB-24646", "fields": { "summary": "Windows: Hyperloop List.Item (indexer) property does not work", "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 } } } }, { "id": "54830", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "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 } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-17T13:23:10.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 properties/functions on generic collections on Hyperloop throws exception.\r\n\r\n{code}\r\nvar MessageDialog = require('Windows.UI.Popups.MessageDialog'),\r\n UICommand = require('Windows.UI.Popups.UICommand'),\r\n PropertyValue = require('Windows.Foundation.PropertyValue'),\r\n Int32 = require('System.Int32');\r\n\r\nvar dialog = new MessageDialog('My Message');\r\ndialog.Title = 'My Title';\r\ndialog.DefaultCommandIndex = 0;\r\ndialog.Commands.Add(new UICommand('OK', null, PropertyValue.CreateInt32(0)));\r\ndialog.Commands.Add(new UICommand('Cancel', null, PropertyValue.CreateInt32(1)));\r\ndialog.ShowAsync().then(function (command) {\r\n var id = Int32.cast(command.Id);\r\n alert((id == 0) ? 'Pushed \"OK\"' : 'Pushed \"Cancel\"')\r\n});\r\n{code}\r\n\r\n*Expected:*\r\n\r\n* This should show alert dialog with two buttons: \\[OK\\] \\[Cancel\\] when you click \"Show Alert\"\r\n* When you click \\[OK\\] you should see `\"Pushed \"OK\"`\r\n* When you click \\[Cancel\\] you should see `\"Pushed \"Cancel\"`\r\n", "attachment": [], "flagged": false, "summary": "Windows Hyperloop: accessing generic collections throws exception", "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\nWindows 10\r\nTitanium SDK 6.1.0.v20170426140837", "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": "418143", "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-04-27T04:52:05.000+0000", "updated": "2017-04-27T04:52:05.000+0000" }, { "id": "419883", "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 call functions like IndexOf, Clear, Insert etc. with no issues and access properties like Count.\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-05-17T13:23:03.000+0000", "updated": "2017-05-17T13:23:03.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }