{ "id": "127706", "key": "AC-1270", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-24T02:21:30.000+0000", "created": "2014-03-15T03:37:46.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "updated": "2016-03-08T07:37:39.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "h3. Steps to Reproduce\nCloud.Users.requestResetPassword\nsends link to email\n\nh3. Actual Result\nhttps:://cloud.appcelerator.com/users/reset_password?key=...\n\nh3. Expected Result\nhttps://cloud.appcelerator.com/users/reset_password?key=...", "attachment": [], "flagged": false, "summary": "Cloud.Users.requestResetPassword sends bad link with two colons", "creator": { "name": "keylo", "key": "keylo", "displayName": "Keylo E.", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "keylo", "key": "keylo", "displayName": "Keylo E.", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio 3.3.0", "comment": { "comments": [ { "id": "297483", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Not sure if you are passing \"template\" field for this API. Can you reproduce this issue with the following code?\r\n\r\n{code}\r\nCloud.Users.requestResetPassword({\r\n email: 'joeuser@mycompany.com'\r\n}, function (e) {\r\n if (e.success) {\r\n alert('Success: Reset Request Sent');\r\n } else {\r\n alert('Error:\\n' +\r\n ((e.error && e.message) || JSON.stringify(e)));\r\n }\r\n});\r\n{code}", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-17T02:45:21.000+0000", "updated": "2014-03-17T02:45:35.000+0000" }, { "id": "297827", "author": { "name": "keylo e.", "key": "keylo e.", "displayName": "Keylo E.", "active": true, "timeZone": "America/New_York" }, "body": "that is the exact code I am using but with a working email. Results in success, email reads.. https:://cloud.appcelerator.com/users/reset_password?key=.......", "updateAuthor": { "name": "keylo e.", "key": "keylo e.", "displayName": "Keylo E.", "active": true, "timeZone": "America/New_York" }, "created": "2014-03-19T07:12:46.000+0000", "updated": "2014-03-19T07:12:46.000+0000" }, { "id": "298193", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Hi Keylo, \n\nThank you for your ticket, it is actually a small bug for our code. And I will create a ticket to fix this bug as soon as possible.\n\nRegards,\nShuo ", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-03-21T06:09:27.000+0000", "updated": "2014-03-21T06:09:27.000+0000" }, { "id": "298194", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Sent a ticket to fix this bug already. It is a small bug and will be fixed quickly.", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-03-21T06:13:46.000+0000", "updated": "2014-03-21T06:13:46.000+0000" }, { "id": "301375", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "This problem will fixed in next deployment.", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-04-18T03:09:33.000+0000", "updated": "2014-04-18T03:09:33.000+0000" }, { "id": "306374", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "The bug has fixed and deployed to production. ", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-05-24T02:21:30.000+0000", "updated": "2014-05-24T02:21:30.000+0000" }, { "id": "365809", "author": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "body": "I've implemented the steps as indicated on the Web site here: http://docs.appcelerator.com/arrowdb/latest/#!/api/Users-method-request_reset_password\r\n\r\nI have my own custom email template and website to update the User's password, however when I request to change the password, I get:\r\n\"{ \"meta\": { \"status\":\"fail\", \"code\":400, \"message\":\"Failed to reset password: reset_password_token is invalid\", \"method_name\":\"resetPassword\" } } \" \r\n\r\nThough I am sure the token is correct (same one that was in the Email, is also the one in the URL, and parsed correctly to resend when making the resetPassword API).\r\n\r\nhttps://community.appcelerator.com/topic/2838/custom-password-reset-page-bad-request-reset_password_token-is-invalid/3", "updateAuthor": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "created": "2015-10-05T16:27:59.000+0000", "updated": "2015-10-05T16:27:59.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }