{ "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.
(from [e61312657476fd12e518bd1ede772a92bd7a4a65])\n[#3237 state:fixed-in-qa] Fixed POST mechanism\nfor sending files
\nchanged 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...
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'});\"
\nin app.js to use your own username / password in place of the\nstrings.
\nOnce launched, just click the button and let it go. Once\nfinished, you should see the test file uploaded to twitpic.
[INFO] Titanium SDK version: 1.7.0 (03/01/11\n16:10 e613126) nexus s (2.3.2) Nexus 1 (2.2.2) sim.