{ "id": "133744", "key": "AC-836", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-08-26T00:34:37.000+0000", "created": "2014-07-25T18:44:25.000+0000", "labels": [ "TCSupportTriage", "cloud", "commonJS", "mobileweb", "ti.cloud", "undefined" ], "versions": [], "issuelinks": [ { "id": "50635", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "154978", "key": "TIMOB-20421", "fields": { "summary": "ti.cloud module methods are not responding on MobileWeb when building from Windows", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:37:07.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "** This issue is a result of a patch that had gotten run against ti.cloud to fix a different issue. I removed the patch and this issue no longer exists. You can close this issue and I will open a different issue for the problem that the patch was fixing. Thanks!! **\r\n\r\n-------------------------------------\r\nrequire('ti.cloud') is not working in MobileWeb projects.\r\n\r\nIt does not have any of the methods that it should have on the object such as CreateUser, etc.\r\n\r\nI am not doing anything special. Just out-of-the-box usage of ti.cloud on MobileWeb.", "attachment": [ { "id": "50065", "filename": "alloy.acs.test2.zip", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2014-07-25T18:44:25.000+0000", "size": 8237984, "mimeType": "application/zip" } ], "flagged": false, "summary": "Cannot use Ti.Cloud commonjs module with MobileWeb", "creator": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "environment": "Windows 8", "comment": { "comments": [ { "id": "317234", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello, \r\nwe have tested this issue. It’s not a bug, ti.cloud works as expected in mobile web.\r\n\r\nh3.Testing Environment: \r\nTitanium SDK: 3.3.0.GA,\r\nTitanium CLI: 3.3.0,\r\nWeb Browser: Firefox 31.0,\r\nOS X Version: 10.9.3,\r\nAppcelerator Studio: 3.3.0\r\n\r\nh3.Steps to Test:\r\n1. Create a Alloy project.\r\n2. Paste this code in alloy.js file.\r\n3. Enable cloud from tiapp.xml file\r\n3. Run this code with the testing environment.\r\n\r\nh3.Test Code\r\n{code:title=alloy.js}\r\nvar Cloud = require(\"ti.cloud\");\r\nCloud.Users.create({\r\n email: 'test@mycompany.com',\r\n first_name: 'test_firstname',\r\n last_name: 'test_lastname',\r\n password: 'test_password',\r\n password_confirmation: 'test_password'\r\n}, function (e) {\r\n if (e.success) {\r\n var user = e.users[0];\r\n alert('Success:\\n' +\r\n 'id: ' + user.id + '\\n' +\r\n 'sessionId: ' + Cloud.sessionId + '\\n' +\r\n 'first name: ' + user.first_name + '\\n' +\r\n 'last name: ' + user.last_name);\r\n } else {\r\n alert('Error:\\n' +\r\n ((e.error && e.message) || JSON.stringify(e)));\r\n }\r\n});\r\n{code}\r\n\r\nThanks\r\n\r\n", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-08-06T06:17:52.000+0000", "updated": "2014-08-26T00:34:12.000+0000" }, { "id": "320250", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello! \r\nWe tested the cloud module, and looks like working with mobile web. \r\n\r\nBest Regards! ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-08-26T00:34:37.000+0000", "updated": "2014-08-26T00:34:37.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }