{ "id": "62214", "key": "TIMOB-1582", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:56:34.000+0000", "created": "2011-04-15T02:56:38.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ios", "iphone", "logging" ], "versions": [], "issuelinks": [], "assignee": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:56: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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

with apple's 4.0.2 (geez), we need to have a similar patch as we\ndid with 4.0.1

{html}", "attachment": [], "flagged": false, "summary": "iphone: fix log patch support for 4.0.x", "creator": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126111", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [b2f01f3f70339e9f186ce3e8913cb6c67dfe93b0])\n[#1582 state:fixed-in-qa] logging patch for 4.0.x\n\nhttp://github.com/appcelerator/titanium_mobile/commit/b2f01f3f70339...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:56:38.000+0000", "updated": "2011-04-15T02:56:38.000+0000" }, { "id": "126112", "author": { "name": "jamesk", "key": "jamesk", "displayName": "James K", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This still has problems.

\n

You need to reverse the list of versions in the for\nloop or the path for 4.0.2 will be overwritten if the 4.0.1 path is\nstill available.

\n

So, change:

\n
\nfor v in ('4.0.3','4.0.2','4.0.1'):\n
\n

to:

\n
\nfor v in ('4.0.1','4.0.2','4.0.3'):\n
\n

You'll know you have this problem if you see multiple patch\nmessages appear:

\n
\n[INFO] Found 4.0.1 patch installed\n[INFO] Found 4.0.2 patch installed\n
{html}", "updateAuthor": { "name": "jamesk", "key": "jamesk", "displayName": "James K", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:56:39.000+0000", "updated": "2011-04-15T02:56:39.000+0000" }, { "id": "126113", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [457aa11f3f82352c00b14703ec92b7c0f2f57479])\n[#1582 state:fixed-in-qa] better fix for logging\npatch by breaking once the platform is found \nhttp://github.com/appcelerator/titanium_mobile/commit/457aa11f3f823...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:56:39.000+0000", "updated": "2011-04-15T02:56:39.000+0000" }, { "id": "126114", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

confirmed against 1.4.1.82947a

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:56:39.000+0000", "updated": "2011-04-15T02:56:39.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }