{ "id": "169030", "key": "TIMOB-24985", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-08-24T11:03:15.000+0000", "created": "2017-07-20T10:31:20.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "regression" ], "versions": [ { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-24T11:03: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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\n*This is a regression from 6_1_X*\r\n\r\nSetting an image on an imageview crashes the app, there are no error logs generated. It occurs when using a blob, file or string, and setting on creation, directly setting the property calling the setter\r\n\r\n{code}\r\nvar window = Ti.UI.createWindow({ backgroundColor: 'black' });\r\nvar fromFile = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'Logo.png');\r\nvar imageView = Ti.UI.createImageView({\r\n image: fromFile\r\n});\r\nwindow.add(imageView);\r\nwindow.open()\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Add the above to an existing app.js\r\n# Build for Windows\r\n\r\nh5.Actual\r\n\r\nApp will crash on start\r\n\r\nh5.Expected\r\n\r\nApp should not crash, the default Titanium app logo should show", "attachment": [], "flagged": false, "summary": "Windows: Setting image on an ImageView crashes the app", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Ti SDK: 6.2.0.v20170719160617\r\nLumia 550 10.0\r\nWindows 10 Pro", "comment": { "comments": [ { "id": "424443", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This issue is addressed by \r\nhttps://github.com/appcelerator/titanium_mobile_windows/pull/1036", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-20T10:39:47.000+0000", "updated": "2017-07-20T10:39:47.000+0000" }, { "id": "427149", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified in 6.2.0.v20170823163641", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-08-24T11:03:12.000+0000", "updated": "2017-08-24T11:03:12.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }