{ "id": "159810", "key": "TIMOB-23273", "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": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-05-05T13:30:14.000+0000", "created": "2016-04-25T16:11:41.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "imageview", "qe-5.4.0", "windows" ], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "51783", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "160271", "key": "TIMOB-23421", "fields": { "summary": "Windows: Titanium.UI.ImageView, can not load image from blob. ", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-06-24T20:51:37.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": "When trying to get media from the Photo Gallery, I cannot set any blob to an ImageView, no matter how I try it. This is my code in the controller\r\n\r\n{code}\r\nfunction openMedia(){\r\n\t\r\n\tTi.Media.openPhotoGallery({\r\n\t\tsuccess: function(event) {\r\n\t\t\t$.imageView.image = event.media;\r\n\t\t}\r\n\t\tmediaTypes: [ Ti.Media.MEDIA_TYPE_PHOTO ]\r\n\t});\t\r\n}\r\n{code}\r\n\r\n$.imageView is of course an ImageView. It is visible before this is set (300 high, 200 wide) using https://unsplash.it/200/300/?random as image.", "attachment": [], "flagged": false, "summary": "Windows: Cannot set Blob as image on ImageView", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 624, "state": "closed", "name": "2016 Sprint 09 SDK", "startDate": "2016-04-23T00:39:45.452Z", "endDate": "2016-05-07T00:39:00.000Z", "completeDate": "2016-05-09T03:43:10.279Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "383809", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "An addition, this doesn't work either\r\n{code}\r\n$.imageView.image = event.media.nativePath\r\n{code}\r\n\r\nA console.log of the nativePath DOES show content, I'm just not able to set it to the imageView.", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-25T16:25:58.000+0000", "updated": "2016-04-25T16:25:58.000+0000" }, { "id": "383810", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "Another addition: I tried this with 5.3.0.v20160415121959, 5.4.0.v20160420211446 and 5.2.2.GA", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-25T16:26:52.000+0000", "updated": "2016-04-25T16:26:52.000+0000" }, { "id": "384811", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_windows/pull/668", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-05T05:10:32.000+0000", "updated": "2016-05-05T05:10:32.000+0000" }, { "id": "389054", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed.\r\nTested on:\r\nMicrosoft Lumia 640 (8.1)\r\nWindows Simulator (8.1)\r\nMicrosoft Lumia 640 (10)\r\nWindows Simulator (10)\r\nWindows 10 Pro\r\nStudio: 4.7.0.201606150733\r\nTi SDK: 5.4.0.v20160617074028\r\nAppc NPM: 4.2.7-2\r\nApp CLI: 5.4.0-18\r\nNode v4.4.4\r\n*Closing Ticket.*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-24T20:51:13.000+0000", "updated": "2016-06-24T20:51:13.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }