{ "id": "123274", "key": "AC-2088", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-12-10T16:59:43.000+0000", "created": "2013-12-05T12:31:19.000+0000", "labels": [ "alloy" ], "versions": [], "issuelinks": [], "assignee": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:03.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." } ], "description": "I installed the beta updates today. \r\n\r\nI used this command for installing alloy 1.3 beta \"npm install -g alloy@1.3.0-beta\" \r\n\r\nWhen I tried to install and open my application it said - \"sync/util\" module not found. I navigate to my alloy folder and checked for the files and \"sync/util\" was not there.\r\n\r\nI have attached the screen shot of alloy 1.2.2 folder which has all the files for your reference. Alloy 1.3 beta doesn't have util.js inside sync.", "attachment": [ { "id": "44407", "filename": "Screen Shot 2013-12-05 at 5.54.58 pm.png", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-05T12:31:19.000+0000", "size": 184557, "mimeType": "image/png" } ], "flagged": false, "summary": "Alloy 1.3 Beta - Error sync/utils not found", "creator": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium Studio & sdk - 3.2 beta, Alloy 1.3 beta", "comment": { "comments": [ { "id": "283385", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ewieber] sync/util.js was meant to be a place for common code shared by Alloy's builtin sync adapters. It has since been removed as it really only contained 1 or 2 functions, and it was easier to maintain them in the adapters that actually needed them, rather than adding another file to your distribution. \r\n\r\nWhat adapter are you using? All of the Alloy adapters, for which util.js was intended, have been updated to reflect its absence. I wonder if you're using a 3rd party adapter that was making use of the undocumented and not-intended-for-public-consumption util.js module. ", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T01:41:11.000+0000", "updated": "2013-12-10T01:41:25.000+0000" }, { "id": "283387", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "body": "I have used custom adapters which was working fine till 3.1.3. I will create a new project with existing alloy adapter and check whether it works and update here. Thank you.", "updateAuthor": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-10T02:06:33.000+0000", "updated": "2013-12-10T02:06:33.000+0000" }, { "id": "283392", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mano_mykingdom] the Titanium SDK version is irrelevant. This is a change between Alloy 1.2.2 and 1.3.0 in an effort to ensure that adapters were standalone and didn't need to be dependent on code specific to an Alloy version. Alloy's builtin adapters will be fine. If 3rd party adapters used the util.js module then they should encounter this error. FYI, this was teh full content of the util.js file before it was deleted:\n\n{code:javascript}\nfunction S4() {\n return (((1+Math.random())*0x10000)|0).toString(16).substring(1);\n};\n\nexports.guid = function() {\n return (S4()+S4()+'-'+S4()+'-'+S4()+'-'+S4()+'-'+S4()+S4()+S4());\n}\n{code}", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T02:18:55.000+0000", "updated": "2013-12-10T02:18:55.000+0000" }, { "id": "283446", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Sorry, It was my mistake I think. In tiapp.xml I changed the alloy version from 1.2.2 to 1.3.0-beta and it's working fine. Sorry for the confusion and thank you for your clarification.", "updateAuthor": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-10T05:36:38.000+0000", "updated": "2013-12-10T05:36:38.000+0000" }, { "id": "283555", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Glad to hear this is resolved.\r\nClosing as invalid bug.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T16:59:43.000+0000", "updated": "2013-12-10T16:59:43.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }