{ "id": "168429", "key": "TIMOB-24834", "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": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" }, { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-08-31T16:00:35.000+0000", "created": "2017-06-15T17:16:03.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" }, { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [ { "id": "55714", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "169416", "key": "AC-5129", "fields": { "summary": "Previous issue \"TIMOB-24834 Duplicate resource error with multiple app_name definitions\" NOT FIXED", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-08-31T16:00:42.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": "13715", "name": "Hyperloop", "description": "Hyperloop project" } ], "description": "h5.Issue Description \r\n\r\n\r\nWhen compiling an Titanium Hyperloop project for Android, I am getting the following error:\r\n\r\n{code}\r\n[ERROR] /test/hyperloop-test3/build/android/res/values/values.xml:220: error: Resource entry app_name is already defined.\r\n[ERROR] /test/hyperloop-test3/build/android/res/values/strings.xml:3: Originally defined here.\r\n{code}\r\n\r\nIt seems that Hyperloop is generating a values.xml file for the library: venuekit.aar which defines an app_name property.\r\n\r\nIs there a way to use the library as Titanium already defines app_name property in strings.xml based on the value from Tiapp.xml?\r\n\r\nh5. Steps to reproduce\r\n\r\n# Download the project https://drive.google.com/file/d/0BwTWo-c2a0b9ellLN3lYbHNuMUU/view?usp=sharing\r\n# Run ", "attachment": [], "flagged": false, "summary": "Android: Duplicate resource error with multiple app_name definitions", "creator": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OS: Mac OS X 10.12.5\r\nNode.js: 6.10.3\r\nnpm: 3.10.10\r\nAppc CLI: 6.2.2.\r\nTitanium CLI: 5.0.114\r\nTitanium SDK: 6.1.0.GA\r\nHyperloop: 2.1.1", "closedSprints": [ { "id": 917, "state": "closed", "name": "2017 Sprint 13 SDK", "startDate": "2017-06-18T16:14:35.902Z", "endDate": "2017-07-02T16:14:00.000Z", "completeDate": "2017-07-06T23:53:22.101Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "422365", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/9162\r\nPR (6_1_X): https://github.com/appcelerator/titanium_mobile/pull/9163", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-20T12:31:04.000+0000", "updated": "2017-06-20T15:06:19.000+0000" }, { "id": "422379", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Passed FR\r\nNode Version: 6.10.3\r\nNPM Version: 3.10.10\r\nMac OS: 10.12.4\r\nAppc CLI: 6.2.2\r\nAppc CLI NPM: 4.2.9\r\nTitanium SDK version: 6.1.1.v20170620083951\r\nAppcelerator Studio, build: 4.9.0.201705302345\r\nXcode 8.3.2\r\nHyperloop 2.1.1\r\nAndroid 7.1 Device\r\n\r\nI built with SDK 6.1.0 and reproduced the original bug. Then I built with PR/9163 and found that the errors are no longer there, and the app build to device also worked as expected.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-20T17:33:54.000+0000", "updated": "2017-06-20T17:38:11.000+0000" }, { "id": "422414", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Confirmed that changes are seen in these SDK builds:\r\n6.1.1.v20170620103414\r\n6.2.0.v20170620104530", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-20T22:12:12.000+0000", "updated": "2017-06-20T22:12:12.000+0000" }, { "id": "426254", "author": { "name": "mcarney", "key": "mcarney", "displayName": "Matt Carney", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "mcarney", "key": "mcarney", "displayName": "Matt Carney", "active": true, "timeZone": "America/New_York" }, "created": "2017-08-08T20:12:10.000+0000", "updated": "2017-08-08T20:12:10.000+0000" }, { "id": "427417", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks for your report [~mcarney], there indeed still was an issue with modules that we didn't catch because the ticket was originally only reported for Hyperloop.\r\n\r\n[~cwilliams] or [~gmathews], can you take a look at this so maybe we can get this into 6.2.0? Thanks!\r\n\r\nPR (master): https://github.com/appcelerator/titanium_mobile/pull/9373\r\nPR (6_2_X): https://github.com/appcelerator/titanium_mobile/pull/9374", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-08-30T15:01:41.000+0000", "updated": "2017-08-30T15:01:41.000+0000" }, { "id": "427420", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "The native project-component of this fix is included in 6.2.0 (release next week, RC this week). Thanks everyone!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-08-30T15:25:18.000+0000", "updated": "2017-08-30T15:25:18.000+0000" }, { "id": "427438", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Latest PR is causing a regular expression issue, and apps cannot build on Windows-Android. I cannot build to either device or emulator.\r\n{code}\r\n[INFO] : Alloy compiled in 0.40176s\r\n[INFO] : Alloy compiler completed successfully\r\n[INFO] : Starting Hyperloop assembly\r\n[INFO] : [Hyperloop] Generating system metabase\r\n[INFO] : [Hyperloop] Generated AST cache file at C:\\Users\\Test\\AppData\\Local\\Temp\\hyperloop_android-25_metabase.ac5b8e07ce4460b75668b48bbec369655313d172.json.gz in 4.174 seconds\r\n[INFO] : Skipping Hyperloop compile, no usage found ...\r\n[INFO] : Finished Hyperloop assembly\r\n[INFO] : JavaScript files need to be encrypted\r\n[INFO] : Processing JavaScript files\r\n[INFO] : Encrypting JavaScript files: C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.2.0.v20170830125819\\android\\titanium_prep.win32.exe \"com.appc.test2\" \"C:\\Users\\Test\\Documents\\Appcelerator_Studio_Workspace1\\test2\\build\\android\\assets\" \"--file-listing\" \"C:\\Users\\Test\\Documents\\Appcelerator_Studio_Workspace1\\test2\\build\\android\\titanium_prep_listing.txt\"\r\n[INFO] : Writing C:\\Users\\Test\\Documents\\Appcelerator_Studio_Workspace1\\test2\\build\\android\\bin\\assets\\app.json\r\n[INFO] : Extracting module resources: C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.2.0.v20170830125819\\android\\modules\\titanium-analytics.res.zip\r\n2017-08-30T23:21:06.020Z | ERROR | An uncaught exception was thrown!\r\nInvalid regular expression: /(values(?:-[^\\]+)?)\\[^\\]+$/: Unterminated character class\r\n2017-08-30T23:21:06.021Z | ERROR | Invalid regular expression: /(values(?:-[^\\]+)?)\\[^\\]+$/: Unterminated character class\r\n{code}\r\n\r\nThis is the environment:\r\nNode Version: 6.10.1\r\nNPM Version: 3.10.10\r\nWindows OS: 10.0.14393\r\nAppc CLI: 6.2.4-master.9\r\nAppc CLI NPM: 4.2.9\r\nTitanium SDK version: 6.2.0.v20170830125819\r\nAppcelerator Studio, build: 4.9.1.201707200100\r\nAndroid OS 7.1.2\r\n\r\n[~lchoudhary] has identified the commit that caused this regression.\r\nhttps://github.com/appcelerator/titanium_mobile/blob/f47d32761193f51fe4bc56f8bb811ee7a466f38c/android/cli/lib/base-builder.js#L76\r\n", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-30T23:52:24.000+0000", "updated": "2017-08-30T23:52:24.000+0000" }, { "id": "427445", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fixes for the Windows regression with unescaped path separators:\r\n\r\nPR (master): https://github.com/appcelerator/titanium_mobile/pull/9381\r\nPR (6_2_X): https://github.com/appcelerator/titanium_mobile/pull/9382", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-08-31T08:25:18.000+0000", "updated": "2017-08-31T08:25:18.000+0000" }, { "id": "427456", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket. Fix is validated with SDK 6.2.0.v20170831045700; same environment as listed previously.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-31T16:00:27.000+0000", "updated": "2017-08-31T16:00:27.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }