{ "id": "141895", "key": "TIMOB-18262", "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": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-12-19T22:50:46.000+0000", "created": "2014-12-18T21:05:15.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios", "regression" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [ { "id": "44292", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "135949", "key": "TIMOB-17582", "fields": { "summary": "iOS: Unable to check if a JS source file exists on iPad device", "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": "44297", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "141955", "key": "TIMOB-18274", "fields": { "summary": "iOS: Images property cannot load array of 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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "44296", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "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 } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-12-20T00:27:43.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 no longer be loaded from the `applicationDataDirectory` in 3.5.0.BETA\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 image: 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: Cannot load images from the applicationDataDirectory", "creator": { "name": "dbankier", "key": "dbankier", "displayName": "David Bankier", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dbankier", "key": "dbankier", "displayName": "David Bankier", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "3.5.0.BETA", "closedSprints": [ { "id": 272, "state": "closed", "name": "2014 Sprint 25 SDK", "startDate": "2014-12-08T22:49:31.264Z", "endDate": "2014-12-22T01:00:00.000Z", "completeDate": "2015-01-05T18:18:28.523Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "337047", "author": { "name": "dbankier", "key": "dbankier", "displayName": "David Bankier", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The test case shows two images in 3.4.1 but only one in 3.5.0.BETA", "updateAuthor": { "name": "dbankier", "key": "dbankier", "displayName": "David Bankier", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-18T21:08:06.000+0000", "updated": "2014-12-18T21:08:06.000+0000" }, { "id": "337069", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified that passing a string to the image property is not loading properly on iOS with SDK 3.5.0.Beta.\r\n[~jalter] suggested passing a file or blob to the property, which loaded as expected.\r\nThe image property with string value also loads as expected using SDK 3.4.1.GA.\r\n\r\nTested using:\r\nTitanium SDK 3.5.0.v20141217144815\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", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-18T22:17:30.000+0000", "updated": "2014-12-18T22:18:33.000+0000" }, { "id": "337161", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I believe this might be related to TIMOB-17582?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-19T16:36:16.000+0000", "updated": "2014-12-19T16:36:16.000+0000" }, { "id": "337169", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Further testing shows that passing a string to image property on Android is working as expected.\r\nHowever, the image does not load on Mobile Web, even when using SDK 3.4.1.GA.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-19T17:51:29.000+0000", "updated": "2014-12-19T17:51:29.000+0000" }, { "id": "337184", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PRs\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6517\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6516", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-19T18:58:41.000+0000", "updated": "2014-12-19T18:58:41.000+0000" }, { "id": "337212", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "CR failed", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-19T21:35:57.000+0000", "updated": "2014-12-19T21:35:57.000+0000" }, { "id": "337225", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pulls pending\r\nmaster - https://github.com/appcelerator/titanium_mobile/pull/6520\r\n3_5_X - https://github.com/appcelerator/titanium_mobile/pull/6521", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-19T22:46:22.000+0000", "updated": "2014-12-19T22:46:22.000+0000" }, { "id": "337242", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed for image property, using:\r\n\r\nTitanium 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\r\nNexus 5, Android 5.0.1\r\nAndroid emulator, 5.0.1-arm & 5.0.1 64 bit\r\nGenymotion emulator, Android 4.4.4", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-20T00:23:20.000+0000", "updated": "2014-12-20T00:23:20.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }