{ "id": "116403", "key": "TIMOB-14364", "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": "15646", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15690", "description": "2013 Sprint 18 API", "name": "2013 Sprint 18 API", "archived": true, "released": true, "releaseDate": "2013-09-06" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-08-28T20:04:45.000+0000", "created": "2013-06-25T04:40:11.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios7", "iphone", "ipod" ], "versions": [], "issuelinks": [ { "id": "30390", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "115823", "key": "AC-1885", "fields": { "summary": "iOS: Titanium.Filesystem: Error setting remote backup flag", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "29799", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "115799", "key": "TIMOB-14182", "fields": { "summary": "iOS7: Update SDK to support building/running apps for iOS 7", "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": "6", "description": "gh.issue.epic.desc", "name": "Epic", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:35:25.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": "*Problem*\r\nIf the application is meant to set remote backup to false to any directory or file the app throws an exception with no file or directory found\r\n\r\n*Sample code*\r\n{code:javascript}Titanium.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory).setRemoteBackup(false);{code}\r\n\r\n*Error log*\r\n{code}\r\n[INFO] {\r\n\t backtrace = \"#0 () at :0\";\r\n\t line = 1;\r\n\t message = \"Error setting remote backup flag:\";\r\n\t nativeLocation = \"-[TiFilesystemFileProxy setRemoteBackup:] (TiFilesystemFileProxy.m:494)\";\r\n\t nativeReason = \"No such file or directory\";\r\n\t sourceId = 52725952;\r\n\t sourceURL = \"file:///var/mobile/Applications/DF166A0B-7A5B-45B6-907B-F2914B787511/Iberdrola%20IR.app/app.js\";\r\n\t}\r\n{code}\r\n\r\nWe assume that the code is unable to find the applicationDataDirectory and is neither able to write any files here.\r\n", "attachment": [], "flagged": false, "summary": "iOS7: setRemoteBackup(false) causes exception to be thrown if file or directory not found", "creator": { "name": "investis", "key": "investis", "displayName": "Investis Ltd", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "investis", "key": "investis", "displayName": "Investis Ltd", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iPhone/iPad, iOS 7, ipod 5th Generation sdk 3.1.1 ", "comment": { "comments": [ { "id": "261402", "author": { "name": "investis", "key": "investis", "displayName": "Investis Ltd", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The problem is around the applicationdatadirectory/temporarydirectoy/caches directory. Files cannot be stored directly in this directories.\r\nTemporary workaround\r\nMake change in the /iphone/classes/FilesystemModule.m change @\"file://localhost\" to @\"file://\".\r\n\r\nDo not store files directly in those directories, instead create a sub directory and then store files. this will work and make your apps run on ios 7 until a proper solution is achieved.\r\n\r\nRegards\r\nShakil\r\nTeam Investis\r\n", "updateAuthor": { "name": "investis", "key": "investis", "displayName": "Investis Ltd", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-11T05:27:10.000+0000", "updated": "2013-07-11T05:27:10.000+0000" }, { "id": "266381", "author": { "name": "investis", "key": "investis", "displayName": "Investis Ltd", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Post beta 5 this issue seems to have been resolved.", "updateAuthor": { "name": "investis", "key": "investis", "displayName": "Investis Ltd", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-14T05:17:21.000+0000", "updated": "2013-08-14T05:17:21.000+0000" }, { "id": "414470", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:35:25.000+0000", "updated": "2017-03-21T21:35:25.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }