{ "id": "102612", "key": "TIMOB-11252", "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": "15277", "description": "2013 Sprint 06 Core", "name": "2013 Sprint 06 Core", "archived": true, "released": true, "releaseDate": "2013-03-25" }, { "id": "14816", "description": "2013 Sprint 06", "name": "2013 Sprint 06", "archived": true, "released": true, "releaseDate": "2013-03-25" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-03-15T22:48:24.000+0000", "created": "2012-10-03T20:14:51.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "insight", "triage" ], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" }, { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "22005", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "101022", "key": "TIMOB-10897", "fields": { "summary": "Android: Allow default themes to be set from tiapp.xml", "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": "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": "2017-03-30T17:35:21.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" }, { "id": "10207", "name": "Tooling" } ], "description": "Android manifest changes in the tiapp.xml file do not replace the \"stock\" manifest entries created by the build process. Instead, the stock entries are copied after the custom entries, overriding the customizations.\r\n\r\nh2. Steps to reproduce\r\n\r\n# Create a default Ti project targeting Android\r\n# Build the app (for emulator or device, doesn't matter)\r\n# Open tiapp.xml, view the XML source\r\n# Change the \r\n \t\r\n \t\r\n \r\n{code}\r\n# Open /builds/android/AndroidManifest.xml and copy the and tags that follow the comment\r\n# Paste the copied text into the tiapp.xml between the tags\r\n# Edit the pasted in code to remove |orientation from each of the attributes\r\n# To each of those tags, add android:screenOrientation=\"portrait\" to force portrait orientation in the app\r\n# Save and build the app\r\n# Open /builds/android/AndroidManifest.xml. It will have both your customized entries followed by the generated stock entries. As a result, the app will display in both portrait and landscape orientation.\r\n\r\nh2. Expected results \r\n\r\nChanges in tiapp.xml would override the stock/generated AndroidManifest.xml values\r\n\r\nh2. Actual results\r\n\r\nStock/generated AndroidManifest values pasted in after custom entries, negating the effect of the custom entries.\r\n\r\n\r\nThis is likely a regression as it used to work properly. The tiapp.xml customization technique is taught in the ATMD training course.", "attachment": [], "flagged": false, "summary": "Android: Entries in tiapp.xml do not replace stock values in generated AndroidManifest.xml", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": "SDKs tested: 2.1.2.GA, 2.1.3.v20120927181611, 3.0.0.v20121002103353\r\nDevices tested: Galaxy Nexus 4.0.4, Droid (original) 2.2.3", "comment": { "comments": [ { "id": "242247", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "This is still not working with the 3.0.0.GA SDK, 3.0.2.201302191606 Studio, and 3.0.24 CLI.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2013-03-14T15:59:37.000+0000", "updated": "2013-03-14T15:59:37.000+0000" }, { "id": "242249", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Tim--when did it last work? ", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-14T16:02:31.000+0000", "updated": "2013-03-14T16:02:31.000+0000" }, { "id": "416358", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-30T17:35:21.000+0000", "updated": "2017-03-30T17:35:21.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }