{ "id": "112305", "key": "TIMOB-13443", "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": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15396", "description": "2013 Sprint 07 Core", "name": "2013 Sprint 07 Core", "archived": true, "released": true, "releaseDate": "2013-04-08" }, { "id": "15105", "description": "2013 Sprint 07", "name": "2013 Sprint 07", "archived": true, "released": true, "releaseDate": "2013-04-08" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-08T22:47:14.000+0000", "created": "2013-04-06T07:25:51.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-closed-3.1.0", "regression" ], "versions": [], "issuelinks": [ { "id": "27470", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "109254", "key": "TIMOB-13356", "fields": { "summary": "Android: make TiBaseService an interface", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-04-09T23:35:34.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "this [commit](https://github.com/appcelerator/titanium_mobile/commit/48fd5c12f6f7b4941affd5ce8d6a0ab9f65113fc) broke backward compatibility of modules when using :\r\nincrementServiceRefCount\r\ndecrementServiceRefCount\r\ngetServiceRefCount\r\n\r\nMethod names have changed without supporting deprecated. As a consequence a module built before will crash using a newer sdk and vice versa", "attachment": [ { "id": "37247", "filename": "com.service-android-0.1.zip", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-08T22:06:30.000+0000", "size": 44969, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Deprecate incrementServiceRefCount, decrementServiceRefCount and getServiceRefCount before removing them", "creator": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "environment": "Titanium 3.1.0 to 3.2.0\r\nAndroid", "comment": { "comments": [ { "id": "246337", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~farfromrefuge] Those APIs are private and not listed as being supported from release to release. Is there a reason you are relying on them?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-07T23:00:36.000+0000", "updated": "2013-04-07T23:00:36.000+0000" }, { "id": "246376", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-04-08T06:37:47.000+0000", "updated": "2013-04-08T06:37:47.000+0000" }, { "id": "246508", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test case:\n1. Create a titanium project\n2. Include the attached project\n3. Run the following app.js\n{code}\nvar win = Ti.UI.createWindow({\n\tbackgroundColor:'white'\n});\nvar label = Ti.UI.createLabel();\nwin.add(label);\nwin.open();\n\n// TODO: write your module tests here\nvar service = require('com.service');\nTi.API.info(\"module is => \" + service);\n\nlabel.text = service.example();\n\nTi.API.info(\"module exampleProp is => \" + service.exampleProp);\nservice.exampleProp = \"This is a test value\";\n\nalert(service.getServiceRefCount());\nif (Ti.Platform.name == \"android\") {\n\tvar proxy = service.createExample({\n\t\tmessage: \"Creating an example Proxy\",\n\t\tbackgroundColor: \"red\",\n\t\twidth: 100,\n\t\theight: 100,\n\t\ttop: 100,\n\t\tleft: 150\n\t});\n\n\tproxy.printMessage(\"Hello world!\");\n\tproxy.message = \"Hi world!. It's me again.\";\n\tproxy.printMessage(\"Hello world!\");\n\twin.add(proxy);\n}\n{code}\n\n\nExpected Result:\nYou should get an alert with '0' as its message\n\nActual Result:\nThe app hangs on splash screen with a class not found exception in log.\n", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-08T21:40:31.000+0000", "updated": "2013-04-08T21:40:31.000+0000" }, { "id": "246516", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/4125\r\n\r\n\r\nEDIT: \r\nbackport: https://github.com/appcelerator/titanium_mobile/pull/4127", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-08T21:47:35.000+0000", "updated": "2013-04-08T22:31:00.000+0000" }, { "id": "246529", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Need backport to 3_1_X as well", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-08T22:24:19.000+0000", "updated": "2013-04-08T22:24:19.000+0000" }, { "id": "246780", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with:\nMac OS 10.8.3\nXcode 4.6\nCLI: 3.1.0-cr\nAlloy: 1.1.0-cr\nAppcelerator Studio, build: 3.1.0.201304082106\nTitanium SDK version 3.1.0.v20130409124549\n\nNexus 4 4.2.1", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-09T23:35:12.000+0000", "updated": "2013-04-09T23:35:12.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }