{ "id": "141955", "key": "TIMOB-18274", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-12-22T18:20:47.000+0000", "created": "2014-12-20T00:27:43.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "filesystem", "images", "ios", "qe-3.5.0" ], "versions": [ { "id": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [ { "id": "44297", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "141895", "key": "TIMOB-18262", "fields": { "summary": "iOS: Cannot load images from the applicationDataDirectory", "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": "44298", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "141953", "key": "TIMOB-18273", "fields": { "summary": "MobileWeb: Cannot load images from the applicationDataDirectory", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "44299", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "141956", "key": "TIMOB-18275", "fields": { "summary": "Android: 'Images' property for imageView 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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-12-22T23:27:17.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Images in ImageViews, tab icons,etc, can not be loaded from the `applicationDataDirectory`. This is not a regression as I encounter the same issue with SDK 3.4.1.GA. This applies to the \"images\" property (separate from the \"image\" property)\r\n\r\n*Steps to reproduce issue*:\r\n1. Run project with below code\r\n2. Notice that the image at the bottom of the screen is not loaded\r\n\r\n*Expected result*:\r\nBoth the top and bottom image are loaded\r\n\r\n*Notes*:\r\nThis is not a regression.\r\nThe same behavior is witnessed even when passing in 'file' or 'blob' objects to the array.\r\n\r\nHere is the sample code to replicate:\r\n\r\n{code}\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Test',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar image1 = Titanium.UI.createImageView({\r\n top: 10,\r\n image: \"/appicon.png\"\r\n});\r\n\r\nvar icon = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'appicon.png');\r\nvar dest = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory, 'appicon.png');\r\n\r\ndest.write(icon.read());\r\n\r\nvar image2 = Titanium.UI.createImageView({\r\n bottom: 10,\r\n images: [Ti.Filesystem.applicationDataDirectory + 'appicon.png',\r\n Ti.Filesystem.applicationDataDirectory + 'appicon.png',\r\n Ti.Filesystem.applicationDataDirectory + 'appicon.png']\r\n});\r\n\r\nwin2.add(image1);\r\nwin2.add(image2);\r\n\r\nwin2.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Images property cannot load array of images from the applicationDataDirectory", "creator": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.5.0.v20141219144914\r\nStudio 3.4.1.201410281743 \r\nXcode 6.1.1\r\n\r\nOn: \r\niPad mini, iOS 8.1\r\niPhone 6, iOS 8.2b3\r\niPhone 4S Sim, iOS 8.1", "comment": { "comments": [ { "id": "337333", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "You need to start animation to view images\r\nAdd this\r\n{code}\r\nimage2.start()\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-22T18:20:47.000+0000", "updated": "2014-12-22T18:20:47.000+0000" }, { "id": "337368", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified with both SDK 3.5.0.v20141222103320 and 3.4.1.GA that you need to call image2.start() in order to see the animation appear at the bottom of the window.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-22T23:26:25.000+0000", "updated": "2014-12-22T23:26:25.000+0000" }, { "id": "337369", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-22T23:27:04.000+0000", "updated": "2014-12-22T23:27:04.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }