{ "id": "132451", "key": "TIMOB-17254", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" }, { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-07-07T17:59:36.000+0000", "created": "2014-07-01T10:07:54.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "module_acs", "qe-3.3.0", "qe-testadded", "regression" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [ { "id": "38786", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "132449", "key": "TIMOB-17253", "fields": { "summary": "iOS: Filename of a photo blob uploaded to ACS has no file extension and always has the same name", "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": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-07T18:57:09.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": "13617", "name": "Cloud", "description": "Cloud/CloudPush and related items" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Cloud.Photos.update* function is not working for the photos from Gallery or Camera. \r\nIt's throwing *Invalid photo file type* error. Please refer attached screenshot. \r\nIf the new photo is assigned through an image file instead of a blob from camera or gallery then it works fine.\r\n\r\nh5. Steps To Reproduce\r\n1. Create a default titanium classic app\r\n2. Copy the app.js and windows folder from \"~/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.3/example\" into the Resources directory of the project.\r\n3. Install and launch app on iOS device\r\n4. Create a user from Users > Create User\r\n5. Create a photo from Dashboard as the current user of your app is owner of that photo.\r\n6. Press back button twice and go to Photos > Query Photo\r\n7. Select the photo that you created from dashboard.\r\n8. Press \"Update Photo\" button\r\n9. Press \"Select Photo from Gallery\" or \"Take Photo with Camera\" to select/take a photo and use it\r\n10. Add some text for tag field.\r\n11. Press Update button. \r\n\r\nh5. Actual Result\r\nInvalid photo file type error is thrown. (See attachment)\r\n\r\nh5. Expected Result\r\nPhoto should be updated correctly.\r\n", "attachment": [ { "id": "49402", "filename": "photo_update.png", "author": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-07-01T10:07:54.000+0000", "size": 67776, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Cloud.Photos.update function is not working for photos from camera or gallery", "creator": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Appcelerator Studio - 3.3.0.201406271159\r\nTitanium SDK - 3.3.0.v20140627202512\r\nNode - 0.10.28\r\nacs - 1.0.14\r\nalloy - 1.4.0-rc3\r\nCLI - 3.3.0-rc4\r\nOS - OSX 10.9.3\r\nXcode - 5.1.1\r\niTunes - 11.2.2(3)\r\nDevice - iPhone 5S (iOS 7.1.1)", "closedSprints": [ { "id": 133, "state": "closed", "name": "2014 Sprint 13 SDK", "startDate": "2014-06-23T21:55:20.791Z", "endDate": "2014-07-04T00:00:00.000Z", "completeDate": "2014-07-07T17:32:18.561Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "312304", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR for master: https://github.com/appcelerator/titanium_mobile/pull/5885\r\nPR for 3.3.x: https://github.com/appcelerator/titanium_mobile/pull/5886", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-07-03T20:12:13.000+0000", "updated": "2014-07-03T20:12:13.000+0000" }, { "id": "312634", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\r\nMac OSX 10.9.4\r\nAppcelerator Studio, build: 3.3.0.201407031747\r\nTitanium SDK, build: 3.3.0.v20140707105712\r\nTitanium CLI, build: 3.3.0-rc4\r\nAlloy: 1.4.0-rc4\r\niOS Device: iPhone 5 (7.0.6)\r\n\r\nFollowed test steps provided in the description.\r\nPhoto is successfully updated with the correct tags.\r\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-07T18:56:51.000+0000", "updated": "2014-07-07T18:56:51.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }