{ "id": "126604", "key": "AC-2252", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "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": "2014-03-03T02:51:06.000+0000", "created": "2014-02-19T21:41:26.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "35287", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "126632", "key": "AC-2264", "fields": { "summary": "file not found in assets folder", "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 } } } } ], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:15.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": [], "description": "h3. Steps to Reproduce\n1. create new alloy project\n2. copy file to the resources directory\n3. debug project\n4. check if file is still there\n\nh3. Actual Result\nfile is removed\n\nh3. Expected Result\nfile must be available so i can access it on app", "attachment": [ { "id": "46051", "filename": ".log", "author": { "name": "jude2004gh@gmail.com", "key": "jude2004gh@gmail.com", "displayName": "Jude Addo", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-19T21:41:35.000+0000", "size": 3023, "mimeType": "text/plain" }, { "id": "46049", "filename": ".log", "author": { "name": "jude2004gh@gmail.com", "key": "jude2004gh@gmail.com", "displayName": "Jude Addo", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-19T21:41:28.000+0000", "size": 3023, "mimeType": "text/plain" }, { "id": "46050", "filename": "diagnostic6466857774981459190.log", "author": { "name": "jude2004gh@gmail.com", "key": "jude2004gh@gmail.com", "displayName": "Jude Addo", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-19T21:41:33.000+0000", "size": 14187, "mimeType": "text/plain" } ], "flagged": false, "summary": "every file i copy to resources drectory is removed when debugging alloy project", "creator": { "name": "jude2004gh@gmail.com", "key": "jude2004gh@gmail.com", "displayName": "Jude Addo", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jude2004gh@gmail.com", "key": "jude2004gh@gmail.com", "displayName": "Jude Addo", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio 3.2.1", "comment": { "comments": [ { "id": "293814", "author": { "name": "jude2004gh@gmail.com", "key": "jude2004gh@gmail.com", "displayName": "Jude Addo", "active": true, "timeZone": "America/Los_Angeles" }, "body": "SDK version is 3.2.1.GA", "updateAuthor": { "name": "jude2004gh@gmail.com", "key": "jude2004gh@gmail.com", "displayName": "Jude Addo", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-19T21:43:46.000+0000", "updated": "2014-02-19T21:43:46.000+0000" }, { "id": "293880", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We recommend you to put local files under \\app\\assets\\ folder. \\assets* folders are copied to \\Resources folder as part of the build process.\n\nFor example, you can put a .jpg file under a new \\app\\assets\\app_images folder and access it in your code:\n\n var image = Ti.UI.createImageView({\n image: '/app_images/random.jpg'\n})\n", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T03:47:07.000+0000", "updated": "2014-02-20T03:47:07.000+0000" }, { "id": "293882", "author": { "name": "jude2004gh@gmail.com", "key": "jude2004gh@gmail.com", "displayName": "Jude Addo", "active": true, "timeZone": "America/Los_Angeles" }, "body": "thanks! it worked.", "updateAuthor": { "name": "jude2004gh@gmail.com", "key": "jude2004gh@gmail.com", "displayName": "Jude Addo", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T03:57:29.000+0000", "updated": "2014-02-20T03:57:29.000+0000" }, { "id": "293895", "author": { "name": "jude2004gh@gmail.com", "key": "jude2004gh@gmail.com", "displayName": "Jude Addo", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I tried to use the same idea to load a json file which i have stored in \\app\\assets\\data.\n\ni tried reading it from the controller like this\n\nvar fileName = '/data/data.json';\n\nbut i get this error \"/data/data/com.isasgh.icgc.lwd/app_appdata/data/data.json: open failed: ENOENT (No such file or directory)\"", "updateAuthor": { "name": "jude2004gh@gmail.com", "key": "jude2004gh@gmail.com", "displayName": "Jude Addo", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T05:06:04.000+0000", "updated": "2014-02-20T05:06:04.000+0000" }, { "id": "293904", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening this ticket to investigate the second issue.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T06:59:03.000+0000", "updated": "2014-02-20T06:59:03.000+0000" }, { "id": "294305", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please provide a simple runnable test case to reproduce this error as I am not sure how are you using fileName in your application.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-24T05:32:31.000+0000", "updated": "2014-02-24T05:32:31.000+0000" }, { "id": "295212", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving this ticket as we have not been able to reproduce it and the reporter has not followed up on the requested information.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-03T02:51:06.000+0000", "updated": "2014-03-03T02:51:06.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }