{ "id": "63016", "key": "TIMOB-2384", "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": "11227", "name": "Release 1.5.0 M02", "archived": true, "released": true, "releaseDate": "2010-11-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:57.000+0000", "created": "2011-04-15T03:18:19.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "developer", "titanium" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-04-17T01:58:57.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": "{html}

Code in Titanium Developer is wiping out the url parameter of\nour JS-based activities declared in tiapp.xml. Video of\nbehavior:

\n

http://screencast.com/t/RTdw9NGM0xpe

\n

Problem is in \nthis block of code in Titanium Developer:

\n

\nhttps://github.com/appcelerator/titanium_developer/blob/62b74ffdc8e...

\n

It wipes out any line that it sees that contains the string\n'url' in it, and replaces it with the url element that contains the\nurl of the \"publisher\". Similar thing happens if the string\n'copyright' is in there.

\n

If we can't release a new Titanium Developer with 1.5,\nthen we need to do something about this outside of Developer, such\nas change the Javascript Activity's 'url' parameter to 'path' or\nsomething like that.

{html}", "attachment": [], "flagged": false, "summary": "Android: 'url' attribute of activity element (tiapp.xml) gets wiped out when \"save changes\" clicked in TiDev project Edit screen", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "128326", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

Hmm, auto-comments (the bot) don't seem to work from Ti Dev, at\nleast not in this case. The commit was done several hours ago:

\n

\nhttps://github.com/appcelerator/titanium_developer/commit/7d5eaf781...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:18:19.000+0000", "updated": "2011-04-15T03:18:19.000+0000" }, { "id": "128327", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

G1 (1.6) G2(2.2) RC2 - verified using the Service test which has\nthe url parameter.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:18:20.000+0000", "updated": "2011-04-15T03:18:20.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }