{ "id": "162835", "key": "TIMOB-23830", "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": null, "resolutiondate": null, "created": "2016-08-26T05:07:15.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cb-tooling", "engSchedule" ], "versions": [ { "id": "18253", "name": "Release 5.5.0", "archived": false, "released": true, "releaseDate": "2016-09-13" } ], "issuelinks": [ { "id": "52563", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "162742", "key": "TIMOB-23801", "fields": { "summary": "Titanium Android module build fails with Titanium SDK 6.1.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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2019-09-24T15:53:17.000+0000", "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" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "Can't build a module for Android with a name of \"123abc\". You can create it just fine. It builds just fine for iOS, however on Android, the name is used to declare the Java class for the module and class names in Java can't start with a number.", "attachment": [], "flagged": false, "summary": "Android: Unable to build native module with name that starts with number", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "closedSprints": [ { "id": 1008, "state": "closed", "name": "2018 Sprint 06 SDK", "startDate": "2018-03-11T22:18:04.396Z", "endDate": "2018-03-25T22:18:00.000Z", "completeDate": "2018-03-25T21:52:36.683Z", "originBoardId": 216 } ], "comment": { "comments": [ { "id": "394473", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "TiSDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8273\r\nTiSDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8274", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-26T05:10:02.000+0000", "updated": "2016-08-26T05:10:02.000+0000" }, { "id": "394842", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "Module build on master and 6_0_X branches are broken, I'm getting following build error:\r\n{code}\r\n[ERROR] import org.appcelerator.titanium.util.Log;\r\n[ERROR] ^\r\n[ERROR] symbol: class Log\r\n[ERROR] location: package org.appcelerator.titanium.util\r\n{code} ", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-08-30T21:08:50.000+0000", "updated": "2016-08-30T21:08:50.000+0000" }, { "id": "394843", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "We need to wait for TIMOB-23801 before we can test/merge this.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-30T21:12:05.000+0000", "updated": "2016-08-30T21:12:05.000+0000" }, { "id": "395548", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "Now I'm seeing this:\r\n{code}\r\n[ERROR] Failed to compile Java source files:\r\n[ERROR] \r\n[ERROR] /var/folders/mc/fcb2h6g10_b_9jx5v5qq3z6m0000gp/T/ti-android-module-build-11687-41164-1fxibgb/123abc/build/android/gen/com/test/app/_123abcApplication.java:40: error: cannot find symbol\r\n[ERROR] \truntime.addExternalModule(\"com.test.app\", com.test.app.my123abcBootstrap.class);\r\n[ERROR] \t ^\r\n[ERROR] symbol: class my123abcBootstrap\r\n[ERROR] location: package com.test.app\r\n[ERROR] 1 error\r\n{code}\r\n\r\n*Steps to reproduce:*\r\n1. create a module, name {{123abc}}, id {{com.test.app}}\r\n2. do {{ti build \\-p android}} without {{--build-only}} flag\r\n3. module is built, follow by running the example project\r\n4. the example project failed to run\r\n\r\n", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-09-07T22:34:39.000+0000", "updated": "2016-09-07T22:34:39.000+0000" }, { "id": "398404", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~cbarber] The PR is marked for 6.0.0, but this ticket isn't. Please update one of both, thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-07T20:19:43.000+0000", "updated": "2016-10-07T20:19:43.000+0000" }, { "id": "398405", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~hansknoechel] This ticket and PR will NOT go in 6.0.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-10-07T20:21:21.000+0000", "updated": "2016-10-07T20:21:21.000+0000" }, { "id": "429208", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~hknoechel] Nope. Maybe 7.1 or 7.2.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-10-17T21:12:43.000+0000", "updated": "2017-10-17T21:12:43.000+0000" }, { "id": "434593", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~fmiao] [~gmathews] Can you code review this? [~cbarber] The PR has merge conflicts.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-16T22:36:05.000+0000", "updated": "2018-02-16T22:36:05.000+0000" }, { "id": "434594", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~hknoechel] I'm not certain the PRs are valid. How we generate and use the module names and ids is a disaster. Some places we strip all special characters. Some places we camel case. When the module build was ported over, some wires got crossed and the module name is used for the module id and vice versa. What I'm saying is how the module build handles names and ids needs to be completely reviewed and that includes support for names that start with a number.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-02-16T22:43:18.000+0000", "updated": "2018-02-16T22:43:18.000+0000" }, { "id": "435584", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I'm failing the review of this PR since this PR is so old and I'm not certain it is valid.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-03-14T16:05:40.000+0000", "updated": "2018-03-14T16:05:40.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }