{ "id": "120596", "key": "ALOY-838", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15403", "description": "Alloy 1.3.0", "name": "Alloy 1.3.0", "archived": false, "released": true, "releaseDate": "2013-12-20" }, { "id": "15753", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15764", "description": "2013 Sprint 25", "name": "2013 Sprint 25", "archived": true, "released": true, "releaseDate": "2013-12-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-05T21:26:31.000+0000", "created": "2013-09-29T08:58:54.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "alloy", "config", "environment", "platform", "qe-automatedtest" ], "versions": [], "issuelinks": [ { "id": "33159", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "122321", "key": "TIDOC-1356", "fields": { "summary": "Guides: Update Alloy Docs for Release 1.3.0", "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": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-08-05T21:26:31.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": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" }, { "id": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "Right now it's not possible to have a configuration that applies only to {{ios}} in {{production}} in {{config.json}}. It would be nice to be able to mix both conditionals, just like in the XML views and TSS styles (and of course JS controllers).", "attachment": [], "flagged": false, "summary": "Alloy: Mix conditional environment and platform values", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "master", "closedSprints": [ { "id": 21, "state": "closed", "name": "2013 Sprint 22", "startDate": "2013-10-21T20:22:56.406Z", "endDate": "2013-11-03T21:23:56.406Z", "completeDate": "2013-11-21T16:47:05.851Z" } ], "comment": { "comments": [ { "id": "273318", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "The PR: https://github.com/appcelerator/alloy/pull/247", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-09-29T08:59:26.000+0000", "updated": "2013-09-29T08:59:26.000+0000" }, { "id": "276353", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "test app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-838\r\n\r\nFunctional test should include running the given test app on multiple platforms, both sims and devices, and confirming that the runtime unit tests pass. Asserting that all existing compilations still pass with {{jake test:all}} would be a good idea too. ", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T15:51:34.000+0000", "updated": "2013-10-23T15:51:34.000+0000" }, { "id": "282022", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening as one unit test is failing.\r\n\r\nIn order to have all runtime unit test passing on Android, those lines have to be added in the config.json file:\r\n\r\n{code}\r\n \"os:android env:test\": {\r\n \"button\": \"os:android env:test\"\r\n },\r\n\"os:android env:development\": {\r\n \"button\": \"os:android env:development\"\r\n },\r\n{code}\r\n\r\n\r\notherwise one test is failing on Android:\r\n{code}\r\n[FAIL] index controller --> #button component has correct style\r\n[INFO] \r\n[INFO] index controller #button component has correct style\r\n[INFO] expected [object Button] to have style:\r\n[INFO] {\"envOnly\":\"test\",\"id\":\"button\",\"osOnly\":\"android\",\"title\":\"os:android env:test\"}\r\n[INFO] but found this instead:\r\n[INFO] {\"envOnly\":\"test\",\"id\":\"button\",\"osOnly\":\"android\",\"title\":\"env:test os:android \"}\r\n[INFO] Error: expected [object Button] to have style:\r\n[INFO] {\"envOnly\":\"test\",\"id\":\"button\",\"osOnly\":\"android\",\"title\":\"os:android env:test\"}\r\n[INFO] but found this instead:\r\n[INFO] {\"envOnly\":\"test\",\"id\":\"button\",\"osOnly\":\"android\",\"title\":\"env:test os:android \"}\r\n[INFO] at new (jasmine.js:1:1431)\r\n[INFO] at [object Object].toHaveStyle (jasmine.js:1:13466)\r\n[INFO] at [object Object]. (runtimeTester.js:1:1637)\r\n[INFO] at [object Object].execute (jasmine.js:1:10733)\r\n[INFO] at [object Object].next_ (jasmine.js:1:27094)\r\n[INFO] at [object Object].start (jasmine.js:1:26510)\r\n[INFO] at [object Object].execute (jasmine.js:1:31005)\r\n[INFO] at [object Object].next_ (jasmine.js:1:27094)\r\n[INFO] at jasmine.js:1:27067\r\n[INFO] at [object Object].finish (jasmine.js:1:30669)\r\n[INFO] Finished in 0.039 seconds\r\n[INFO] 8 specs, 1 failure\r\n\r\n{code}\r\n\r\n\r\nTiSDK 3.2.0.v20131127194046\r\nCLI 3.2.0-beta\r\nAlloy 1.3.0-beta\r\nTitanium Studio 3.2.0.201311262027\r\n\r\niPad OS 7 and simulator\r\nAndroid Google Nexus Galaxy 4.3", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-02T23:49:46.000+0000", "updated": "2013-12-03T00:08:02.000+0000" }, { "id": "282091", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "PR for the updated config.json: https://github.com/appcelerator/alloy/pull/280", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-12-03T10:02:30.000+0000", "updated": "2013-12-03T10:02:30.000+0000" }, { "id": "282153", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolved using [~fokke]'s PR above", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-03T18:24:38.000+0000", "updated": "2013-12-03T18:24:38.000+0000" }, { "id": "282182", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified all tests are passing after latest PR (merged in master) with Alloy 1.3.0-beta.\r\n\r\nIs it possible to merge the PR in the 1_3_X branch too?", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-03T19:36:29.000+0000", "updated": "2013-12-03T19:36:55.000+0000" }, { "id": "282187", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "already done", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-03T20:01:30.000+0000", "updated": "2013-12-03T20:01:30.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }