{ "id": "162897", "key": "ALOY-1538", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-01-27T10:55:12.000+0000", "created": "2016-08-31T02:08:09.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-01-27T14:46:47.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": [ { "id": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "Every time I use the Alloy FlexSpace component I get a warning.\r\n\r\n*Code:*\r\n\r\n{code:java}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n{code}\r\n\r\n*WARNING:*\r\n{noformat}\r\n[WARN] Ti.UI.iPhone.SystemButton.FLEXIBLE_SPACE DEPRECATED in 5.4.0, in favor of Ti.UI.iOS.SystemButton.FLEXIBLE_SPACE\r\n{noformat}\r\n\r\nYou might have to change it to the new API's.\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Alloy is wrapped with a deprecated API", "creator": { "name": "xicovarisco_orange", "key": "xicovarisco_orange", "displayName": "Francisco Ruaro Varisco", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "xicovarisco_orange", "key": "xicovarisco_orange", "displayName": "Francisco Ruaro Varisco", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 5.5.0.v20160821213142\r\n", "comment": { "comments": [ { "id": "395129", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, This is an warning. The app should build without any error. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-09-01T18:52:15.000+0000", "updated": "2016-09-01T18:52:15.000+0000" }, { "id": "395153", "author": { "name": "xicovarisco_orange", "key": "xicovarisco_orange", "displayName": "Francisco Ruaro Varisco", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It is building without any error, but it would be better not to have any warning as well. That's why I put the \"type\" of the ticket as \"IMPROVEMENT\" not \"BUG\" \r\n:)", "updateAuthor": { "name": "xicovarisco_orange", "key": "xicovarisco_orange", "displayName": "Francisco Ruaro Varisco", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-01T22:39:52.000+0000", "updated": "2016-09-01T22:39:52.000+0000" }, { "id": "395277", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Please update your project. \r\n\r\nThat warning because, you are trying to use Deprecated functions. \r\n\r\nThanks ", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-09-04T05:32:28.000+0000", "updated": "2016-09-04T05:32:28.000+0000" }, { "id": "400159", "author": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "So is deprecated?\r\nPlease tell me what to use instead.\r\n dont seem to work anymore, tested on 5.5.1", "updateAuthor": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2016-11-01T09:53:11.000+0000", "updated": "2016-11-01T09:53:11.000+0000" }, { "id": "405418", "author": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "body": "This should not be closed. This is an Alloy issue not a user project issue. I see the same WARN messages in my app using 6.0.1. Alloy is generating deprecated code when you use the tag.\r\n\r\nTo Sharif -- you're right it's a warning not an error. But, Alloy should be updated to no longer generate the deprecated API call.\r\n\r\nTo Mostafizur -- this code is being generated by Alloy. There's nothing users of your tool can do to have it generate the proper code. So, your comment is just meaningless.", "updateAuthor": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "created": "2017-01-26T20:46:39.000+0000", "updated": "2017-01-26T20:46:39.000+0000" }, { "id": "405477", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is a valid issue, caused by Alloy probably using the deprecated {{Ti.UI.iPhone}} namespace instead of {{Ti.UI.iOS}}. Although I think it's fixed for latest Alloy, I'll move to Alloy for further investigation next sprint.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-27T10:37:09.000+0000", "updated": "2017-01-27T10:37:09.000+0000" }, { "id": "405478", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Update: Checked this. [~nunocostapt] did an [Alloy PR|https://github.com/appcelerator/alloy/pull/798] last September to fix all deprecated API calls in Alloy. This should not occur in latest Alloy anymore and I cannot reproduce it. [~acvauctions], which Alloy /Ti version are you testing with? The patch was in Alloy 1.9.3 and SDK 6.0.0, see ALOY-1520.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-27T10:52:43.000+0000", "updated": "2017-01-27T10:55:51.000+0000" }, { "id": "405491", "author": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "body": "Below is what I'm running. I was seeing the WARN messages when generating a non-platform app and thus using 1.9.0. I see that my platform-generated apps are using the {{UI.iOS}} namespace properly. Sorry, I always forget that you guys embed separate versions within the appc/platform environment (a decision I didn't like back when I worked there and suggested then that it would cause confusion and issues).\r\n\r\n{code}\r\n≫ alloy -v\r\n1.9.0\r\n\r\n≫ appc alloy -v\r\n1.9.5\r\n{code}", "updateAuthor": { "name": "acvauctions", "key": "acvauctions", "displayName": "Tim Poulsen (ACV)", "active": true, "timeZone": "America/New_York" }, "created": "2017-01-27T14:46:47.000+0000", "updated": "2017-01-27T14:46:47.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }