{
"id": "93627",
"key": "TIMOB-9692",
"fields": {
"issuetype": {
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"name": "Bug",
"subtask": false
},
"project": {
"id": "10153",
"key": "TIMOB",
"name": "Titanium SDK/CLI",
"projectCategory": {
"id": "10100",
"description": "Titanium and related SDKs used in application development",
"name": "Client"
}
},
"fixVersions": [],
"resolution": {
"id": "2",
"description": "The problem described is an issue which will never be fixed.",
"name": "Won't Fix"
},
"resolutiondate": "2017-05-01T22:18:35.000+0000",
"created": "2012-06-21T11:08:20.000+0000",
"priority": {
"name": "Low",
"id": "4"
},
"labels": [
"anvil",
"core"
],
"versions": [
{
"id": "13271",
"description": "Release 2.1.0",
"name": "Release 2.1.0",
"archived": false,
"released": true,
"releaseDate": "2012-06-29"
}
],
"issuelinks": [
{
"id": "29810",
"type": {
"id": "10003",
"name": "Relates",
"inward": "relates to",
"outward": "relates to"
},
"inwardIssue": {
"id": "116440",
"key": "TIMOB-14372",
"fields": {
"summary": "iOS: Correct known Anvil regressions",
"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": "Medium",
"id": "3"
},
"issuetype": {
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"name": "Bug",
"subtask": false
}
}
}
}
],
"assignee": {
"name": "emerriman",
"key": "emerriman",
"displayName": "Eric Merriman ",
"active": true,
"timeZone": "America/Los_Angeles"
},
"updated": "2017-05-23T20:37:28.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": "10204",
"name": "Drillbit"
}
],
"description": "Test case *app/test_custom_values* fails under Anvil, but works fine in an app.\r\n\r\n{code}\r\nvar testRun = {};\r\nfunction valueOf(test, actual) {\r\n\treturn {\r\n\t\tshouldBe : function(expected) {\r\n\t\t\tif (expected !== actual) {\r\n\t\t\t\tTi.API.info(\"expected: <\"+expected+\">, actual: <\"+actual+\">\");\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n}\r\n\r\nTi.API.info(\"-- start --\");\r\nvalueOf(testRun, Ti.App.id).shouldBe('org.appcelerator.titanium.testharness');\r\nvalueOf(testRun, Ti.App.name).shouldBe('test_harness');\r\nvalueOf(testRun, Ti.App.version).shouldBe(\"1.0.1\");\r\nvalueOf(testRun, Ti.App.publisher).shouldBe(\"test publisher\");\r\nvalueOf(testRun, Ti.App.url).shouldBe(\"http://www.test.com\");\r\nvalueOf(testRun, Ti.App.description).shouldBe('test description');\r\nvalueOf(testRun, Ti.App.copyright).shouldBe('copyright 2010 test');\r\nTi.API.info(\"-- end --\");\r\n{code}\r\n\r\ntiapp.xml section:\r\n{code}\r\n org.appcelerator.titanium.testharness\r\n test_harness\r\n 1.0.1\r\n test publisher\r\n http://www.test.com\r\n test description\r\n copyright 2010 test\r\n{code}",
"attachment": [],
"flagged": false,
"summary": "Anvil: app/test_custom_values test case fails on iOS",
"creator": {
"name": "mstepanov",
"key": "mstepanov",
"displayName": "Max Stepanov",
"active": true,
"timeZone": "America/Los_Angeles"
},
"subtasks": [],
"reporter": {
"name": "mstepanov",
"key": "mstepanov",
"displayName": "Max Stepanov",
"active": true,
"timeZone": "America/Los_Angeles"
},
"environment": "iOS",
"comment": {
"comments": [
{
"id": "213009",
"author": {
"name": "opiecyrus",
"key": "opiecyrus",
"displayName": "Opie Cyrus",
"active": true,
"timeZone": "America/Chicago"
},
"body": "Nothing about this bug report indicates this as a Anvil bug versus platform bug. This looks like a failure stemming from the test being run within a required file. This should be verified in a standalone test case using require.",
"updateAuthor": {
"name": "opiecyrus",
"key": "opiecyrus",
"displayName": "Opie Cyrus",
"active": true,
"timeZone": "America/Chicago"
},
"created": "2012-08-06T15:26:48.000+0000",
"updated": "2012-08-06T15:26:48.000+0000"
},
{
"id": "418458",
"author": {
"name": "lmorris",
"key": "lmorris",
"displayName": "Lee Morris",
"active": false,
"timeZone": "America/Los_Angeles"
},
"body": "Closing ticket as \"Won't Fix\" as Anvil is no longer supported.",
"updateAuthor": {
"name": "lmorris",
"key": "lmorris",
"displayName": "Lee Morris",
"active": false,
"timeZone": "America/Los_Angeles"
},
"created": "2017-05-01T22:18:35.000+0000",
"updated": "2017-05-01T22:18:35.000+0000"
}
],
"maxResults": 2,
"total": 2,
"startAt": 0
}
}
}