{ "id": "84451", "key": "TIMOB-6973", "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": "12093", "description": "", "name": "Sprint 2012-01", "archived": true, "released": true, "releaseDate": "2012-01-15" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-23T16:13:03.000+0000", "created": "2012-01-04T09:49:10.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_network", "parity", "qe-testadded", "regression" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "14462", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "83297", "key": "TIMOB-6411", "fields": { "summary": "Android: HTTPClient - send() creates benign error messages in log", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "14734", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "85087", "key": "TIMOB-7277", "fields": { "summary": "Crash on launch of NBC app", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-03-13T17:45:14.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" } ], "attachment": [ { "id": "24922", "filename": "error.png", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-04T09:49:10.000+0000", "size": 59648, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: HTTPClient - Sending blobs as form data fails in 1.8.0.1", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK version: 1.8.0.1\r\nJavascript Engine: Rhino & V8 \r\nPlatform & version: Android 2.2+ \r\nDevice Details: Android emulator \r\nHost Operating System: OSX 10.7.2\r\nTitanium Studio version: 1.0.7.201112132151", "comment": { "comments": [ { "id": "177988", "author": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I get a slightly different error when form posting a blob (photo either from the camera or gallery)\r\n\r\norg.apache.http.entity.mime.content.FileBody\r\n\r\nIs this the same bug?", "updateAuthor": { "name": "ghigh@hightg.com", "key": "ghigh@hightg.com", "displayName": "Gerry High", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-04T11:20:41.000+0000", "updated": "2012-01-04T11:20:41.000+0000" }, { "id": "178877", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[PR #1158|https://github.com/appcelerator/titanium_mobile/pull/1158] sent.\r\nThis also fixes TIMOB-6411, so both tickets should be tested and resolved.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-11T10:17:51.000+0000", "updated": "2012-01-11T10:17:51.000+0000" }, { "id": "179295", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\n\r\nSDK build: 1.9.0.v20120113141633\r\nRuntime: V8, Rhino\r\nTitanium Studio, build: 1.0.8.201201122152\r\nDevice: Droid 3 (2.3.4)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T16:50:15.000+0000", "updated": "2012-01-13T16:50:15.000+0000" }, { "id": "180044", "author": { "name": "jasonsznol", "key": "jasonsznol", "displayName": "Jason Sznol", "active": true, "timeZone": "America/New_York" }, "body": "Is there any idea on when this will be released in code? This is a huge blocker that is preventing me from porting my app to Ti 1.8 and I would really like to take advantage of V8.", "updateAuthor": { "name": "jasonsznol", "key": "jasonsznol", "displayName": "Jason Sznol", "active": true, "timeZone": "America/New_York" }, "created": "2012-01-20T11:44:19.000+0000", "updated": "2012-01-20T11:44:19.000+0000" }, { "id": "180046", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This fix is already in a CI build so you try it right away. ", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-20T11:51:37.000+0000", "updated": "2012-01-20T11:51:37.000+0000" }, { "id": "180265", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening and closing this issue to update label and Fix Version field.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-23T16:12:50.000+0000", "updated": "2012-01-23T16:12:50.000+0000" }, { "id": "181505", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "updated labels", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-02-02T12:18:15.000+0000", "updated": "2012-02-02T12:18:15.000+0000" }, { "id": "181869", "author": { "name": "avtarsingh.suchariya", "key": "avtarsingh.suchariya", "displayName": "AvtarSingh Suchariya", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The following function is working fine on IPhone. but when I am trying to upload image in android, no error message generated but image is not uploaded.\r\n\r\nfunction uploadImage() {\r\n\tvar db = Titanium.Database.open(Titanium.Locale.getString('database_file_name'));\r\n\tvar query = 'select * from ' + Titanium.Locale.getString('database_table_name') + ' where isUpload = 0';\r\n\tvar resultSet = db.execute(query);\r\n\tif(resultSet.rowCount > 0) {\r\n\t\tTitanium.App.Properties.setBool('isUploadRunning', true);\r\n\t\tvar imageID = resultSet.fieldByName('businessCardId');\r\n\t\tvar image = Ti.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory + resultSet.fieldByName('imageFile'));\r\n\t\tvar blob = image.read();\r\n\t\tresultSet.close();\r\n\t\tdb.close();\r\n\t\tTitanium.API.error('Web Service Call ' + image.getNativePath());\r\n\t\tvar request = Titanium.Locale.getString('app_url_other') + Titanium.Locale.getString('web_service_UploadCardPhoto');\r\n\t\tTitanium.API.error('Web Service Call ' + request);\r\n\t\tvar req = Titanium.Network.createHTTPClient({\r\n\t\t\ttimeout : 1600000,\r\n\t\t\tonload : function(e) {\r\n\t\t\t\tTitanium.API.error('Web Service Response - On Image Upload ' + this.responseText);\r\n\t\t\t\tvar data = JSON.parse(this.responseText)\r\n\t\t\t\tif(data.status == true) {\r\n\t\t\t\t\tTitanium.App.Properties.setBool('isUploadRunning', false);\r\n\t\t\t\t\tTitanium.API.error('UserToken is ' + Titanium.App.Properties.getString('UserToken'));\r\n\t\t\t\t\tvar db = Titanium.Database.open(Titanium.Locale.getString('database_file_name'));\r\n\t\t\t\t\tdb.execute('UPDATE ' + Titanium.Locale.getString('database_table_name') + ' SET imageID=?, isUpload=1 WHERE businessCardId=?', data.data, imageID);\r\n\t\t\t\t\tdb.close();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tTitanium.API.error('Response Status false ' + data.message + ' Code ' + data.code);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tonerror : function(e) {\r\n\t\t\t\tTitanium.API.error('Web Service Response - On Error' + this.responseText);\r\n\t\t\t\tvar alertDialog = Titanium.UI.createAlertDialog({\r\n\t\t\t\t\ttitle : 'Alert',\r\n\t\t\t\t\tmessage : Titanium.Locale.getString('internet_connection_not_available'),\r\n\t\t\t\t\tbuttonNames : ['OK']\r\n\t\t\t\t});\r\n\t\t\t\talertDialog.show();\r\n\t\t\t}\r\n\t\t});\r\n\t\treq.open('POST', request);\r\n\t\treq.setRequestHeader(\"ContentType\", \"multipart/form-data\");\r\n\t\treq.send({\r\n\t\t\t'aToken' : Titanium.Locale.getString('application_token'),\r\n\t\t\t'uToken' : Titanium.App.Properties.getString('UserToken'),\r\n\t\t\t'fileType' : 2,\r\n\t\t\t'fileObject' : blob\r\n\t\t});\r\n\t}\r\n}", "updateAuthor": { "name": "avtarsingh.suchariya", "key": "avtarsingh.suchariya", "displayName": "AvtarSingh Suchariya", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-06T02:24:33.000+0000", "updated": "2012-02-06T02:24:33.000+0000" }, { "id": "181870", "author": { "name": "avtarsingh.suchariya", "key": "avtarsingh.suchariya", "displayName": "AvtarSingh Suchariya", "active": true, "timeZone": "America/Los_Angeles" }, "body": "updated to 1.8.1 but not working image upload.", "updateAuthor": { "name": "avtarsingh.suchariya", "key": "avtarsingh.suchariya", "displayName": "AvtarSingh Suchariya", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-06T02:25:47.000+0000", "updated": "2012-02-06T02:25:47.000+0000" }, { "id": "181946", "author": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "body": "This issue latest notification was not sent due to JIRA mail setting. Fixed now. Please check the issue for latests changes.", "updateAuthor": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "created": "2012-02-06T06:35:35.000+0000", "updated": "2012-02-06T06:35:35.000+0000" }, { "id": "182986", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Note to QE: Gathering more information about AvtarSingh Suchariya's bug", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-02-13T15:59:20.000+0000", "updated": "2012-02-13T15:59:20.000+0000" }, { "id": "183208", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Avtar, \r\ncan you please contact me at mpmiranda@appcelerator.com so I can help you with this issue? \r\n\r\nBest,\r\n\r\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-02-15T10:58:26.000+0000", "updated": "2012-02-15T10:58:26.000+0000" }, { "id": "183369", "author": { "name": "avtarsingh.suchariya", "key": "avtarsingh.suchariya", "displayName": "AvtarSingh Suchariya", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Mauro Parra-Miranda I mailed you regarding this.", "updateAuthor": { "name": "avtarsingh.suchariya", "key": "avtarsingh.suchariya", "displayName": "AvtarSingh Suchariya", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-16T03:06:55.000+0000", "updated": "2012-02-16T03:06:55.000+0000" }, { "id": "281103", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Anvil test case added.\nPR link:\nhttps://github.com/appcelerator/titanium_mobile/pull/5011", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-25T08:21:23.000+0000", "updated": "2013-11-25T08:21:23.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }