{ "id": "63869", "key": "TIMOB-3237", "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": "11257", "description": "", "name": "Sprint-2011-09", "archived": true, "released": true, "releaseDate": "2011-03-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:01:15.000+0000", "created": "2011-04-15T03:40:07.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "file", "post", "regression", "reported-1.5", "rplist", "upload" ], "versions": [], "issuelinks": [], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2011-04-17T02:01: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": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Attaching file to POST request does not result in the file being\ntransmitted correctly.

{html}", "attachment": [ { "id": "18286", "filename": "resources.zip", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:40:08.000+0000", "size": 909465, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: File upload via POST does not work", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "130348", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

(from [e61312657476fd12e518bd1ede772a92bd7a4a65])\n[#3237 state:fixed-in-qa] Fixed POST mechanism\nfor sending files

\n

changed mechanism for attaching files to POST messages to now\ncheck if file is proxy and grab base file object if so before\nattaching to message. Also renamed TiFile to TiFileProxy for\nclarity sake and to avoid confusion with io.TiFile
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/e61312657476...

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:40:08.000+0000", "updated": "2011-04-15T03:40:08.000+0000" }, { "id": "130349", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

Please use the attached Resources directory to verify fix.\nBefore testing, please change the line:

\n

\n\"client.send({media:myfile,username:'',password:'',message:'test'});\"

\n

in app.js to use your own username / password in place of the\nstrings.

\n

Once launched, just click the button and let it go. Once\nfinished, you should see the test file uploaded to twitpic.

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:40:08.000+0000", "updated": "2011-04-15T03:40:08.000+0000" }, { "id": "130350", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

[INFO] Titanium SDK version: 1.7.0 (03/01/11\n16:10 e613126) nexus s (2.3.2) Nexus 1 (2.2.2) sim.

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:40:09.000+0000", "updated": "2011-04-15T03:40:09.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }