{ "id": "127887", "key": "TIMOB-16646", "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": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-04-01T20:44:21.000+0000", "created": "2014-03-20T00:35:14.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_acs", "qe-3.2.3", "qe-automatedtest", "regression" ], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [ { "id": "36295", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "128020", "key": "TIMOB-16670", "fields": { "summary": "iOS: Unable to post a status with attached photo to ACS", "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 } } } }, { "id": "36016", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "128020", "key": "TIMOB-16670", "fields": { "summary": "iOS: Unable to post a status with attached photo to ACS", "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": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-08-08T21:33:21.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": "*Details:* On iOS, cannot upload a photo blob from the camera or photo gallery to ACS.\r\n\r\n*Note:*\r\n1. *This is a regression. SDK 3.2.2.GA + ti.cloud 3.2.1 works fine, but SDK 3.2.3 + ti.cloud 3.2.1 does not*\r\n2. Cannot reproduce the issue on an Android device\r\n\r\n*Steps to reproduce:*\r\n1. Create a default Titanium classic app\r\n2. Next, download and unzip the Archive.zip attachment\r\n3. Drag both the Resources and tiapp.xml into the project created in step 1; replacing both the Resources directory and tiapp.xml\r\n4. Install and launch app to an iOS device\r\n5. Go to Users > Login User and login with username *a* and password *1234*\r\n6. Press Back button twice and go to Photos > Create Photo\r\n7. Press *Select Photo from Gallery* or *Take Photo with Camera* to take a photo\r\n8. Press Create button\r\n\r\n*Actual:* Failed to upload photo error appears (see error.png attachment) even though the photo is 935 KB.\r\n\r\n*Expected:* Should be able to upload a photo from either the photo gallery or after taking a photo.\r\n\r\n*Another note:* If you go to Resources/windows/photos/create.js and uncomment line 36 and 52 (getting the photo with Ti.Filesystem.getFile in Ti.Media.openPhotoGallery and Ti.Media.showCamera respectively), you can upload the photo to ACS without any issues.", "attachment": [ { "id": "46753", "filename": "Archive.zip", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-20T00:35:14.000+0000", "size": 4161072, "mimeType": "application/zip" }, { "id": "46754", "filename": "error.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-20T00:35:14.000+0000", "size": 76854, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Cannot upload a photo blob to ACS", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio, build: 3.2.3.201403181115\r\nSDK build: 3.2.3.v20140319091659\r\nti.cloud: 3.2.1 (latest)\r\nCLI: 3.2.1\r\nAlloy: 1.3.1\r\nXcode: 5.1\r\nDevices: iphone 5 (7.1)", "comment": { "comments": [ { "id": "299164", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can you please take a look?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-28T17:11:47.000+0000", "updated": "2014-03-28T17:11:47.000+0000" }, { "id": "299235", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/5554", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-28T22:56:43.000+0000", "updated": "2014-03-28T22:56:43.000+0000" }, { "id": "299565", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified I was able to upload a photo blob to ACS.\n\nTested on:\n\nAppcelerator Studio, build: 3.2.3.201403271839\nSDK build: 3.2.3.v20140401134117\nCLI: 3.2.3-alpha2\nAlloy: 1.3.1\nXcode: 5.1\nDevices: iphone 5s (7.1)\n", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-04-01T22:34:34.000+0000", "updated": "2014-04-01T22:34:34.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }