{ "id": "159103", "key": "AC-3420", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-03-29T10:15:30.000+0000", "created": "2016-03-29T08:31:45.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "51177", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "159105", "key": "ALOY-1477", "fields": { "summary": "Regression: Missing model attributes cause error on collection data binding", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "updated": "2016-03-29T10:18:50.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": "I've already update my Appcelerator with the 26 March release.\r\n\r\nI have now this problem with models in my app (Android and iOS):\r\n\r\nThe code: \r\n\r\n\r\n{code:java}\r\n\r\n{code}\r\n\r\n\r\nThe error:\r\n\r\n\r\n{code:java}\r\n[ERROR] : TiExceptionHandler: (main) [425,145864] ----- Titanium Javascript Runtime Error -----\r\n[ERROR] : TiExceptionHandler: (main) [0,145864] - In undefined:5,8\r\n[ERROR] : TiExceptionHandler: (main) [0,145864] - Message: Uncaught ReferenceError: tit is not defined\r\n[ERROR] : TiExceptionHandler: (main) [0,145864] - Source: ((__t=(tit))==null?'':__t)+\r\n[ERROR] : V8Exception: Exception occurred at undefined:5: Uncaught ReferenceError: tit is not defined\r\n[ERROR] : ViewRootImpl: sendUserActionEvent() mView == null\r\n{code}\r\n\r\n\r\nIt happens in all sites on my code that I'm using $model options. ", "attachment": [], "flagged": false, "summary": "Error with models in the new Appcelerator update", "creator": { "name": "amurcia", "key": "amurcia", "displayName": "Anna", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amurcia", "key": "amurcia", "displayName": "Anna", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.11.3\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 4294967296\r\nNode.js\r\n Node.js Version = 0.12.7\r\n npm Version = 2.11.3\r\nTitanium CLI\r\n CLI Version = 5.0.6\r\nTitanium SDK\r\n SDK Version = 5.1.2.GA\r\n SDK Path = /Users/a/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA\r\n Target Platform = android", "comment": { "comments": [ { "id": "380900", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Thanks [~amurcia], this probably duplicates ALOY-1474 but could you show me what the model attributes look like? Does it have a {{tit}} attribute?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-03-29T08:43:36.000+0000", "updated": "2016-03-29T08:43:36.000+0000" }, { "id": "380901", "author": { "name": "amurcia", "key": "amurcia", "displayName": "Anna", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\r\nexports.definition = {\r\n\tconfig: {\r\n\t\tcolumns: {\r\n\t\t\t\"idFoto\": \"INTEGER PRIMARY KEY AUTOINCREMENT\",\r\n\t\t \"idGaleria\": \"integer\",\r\n\t\t \"imagen\": \"text\",\r\n\t\t \"imagen_path\": \"text\",\r\n\t\t \"autor\": \"text\",\r\n\t\t \"pie\": \"text\",\r\n\t\t \"tit\": \"text\",\r\n\t\t \"publ\": 'integer'\r\n\t\t},\r\n\t\tadapter: {\r\n\t\t\ttype: \"sql\",\r\n\t\t\tcollection_name: \"FotoG\",\r\n\t\t\tidAttribute: \"idFoto\"\r\n\t\t}\r\n\t}\r\n}\r\n\r\n", "updateAuthor": { "name": "amurcia", "key": "amurcia", "displayName": "Anna", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-29T08:48:29.000+0000", "updated": "2016-03-29T08:49:00.000+0000" }, { "id": "380904", "author": { "name": "amurcia", "key": "amurcia", "displayName": "Anna", "active": true, "timeZone": "America/Los_Angeles" }, "body": "My versions of npm, ti, and alloy can be the problem?\r\n\r\n$ npm -v\r\n2.11.3\r\n$ ti -v\r\n5.0.5\r\n$ alloy -v\r\n1.7.19", "updateAuthor": { "name": "amurcia", "key": "amurcia", "displayName": "Anna", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-29T09:01:43.000+0000", "updated": "2016-03-29T09:01:43.000+0000" }, { "id": "380910", "author": { "name": "amurcia", "key": "amurcia", "displayName": "Anna", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Now, I've updated alloy and my version is\r\n\r\n$ alloy -v\r\n1.8.3\r\n\r\nbut the problem still happen", "updateAuthor": { "name": "amurcia", "key": "amurcia", "displayName": "Anna", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-29T10:12:07.000+0000", "updated": "2016-03-29T10:12:07.000+0000" }, { "id": "380911", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~amurcia] thanks a million for the extra info. I managed to nail it and I'm fixing - right now - it as ALOY-1477. Please watch that ticket.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-03-29T10:15:23.000+0000", "updated": "2016-03-29T10:15:23.000+0000" }, { "id": "380912", "author": { "name": "amurcia", "key": "amurcia", "displayName": "Anna", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thank you.", "updateAuthor": { "name": "amurcia", "key": "amurcia", "displayName": "Anna", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-29T10:18:50.000+0000", "updated": "2016-03-29T10:18:50.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }