[TIMOB-1582] iphone: fix log patch support for 4.0.x
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:56:34.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | ios, iphone, logging |
Reporter | Jeff Haynie |
Assignee | Jeff Haynie |
Created | 2011-04-15T02:56:38.000+0000 |
Updated | 2011-04-17T01:56:34.000+0000 |
Description
with apple's 4.0.2 (geez), we need to have a similar patch as we did with 4.0.1
(from [b2f01f3f70339e9f186ce3e8913cb6c67dfe93b0]) [#1582 state:fixed-in-qa] logging patch for 4.0.x http://github.com/appcelerator/titanium_mobile/commit/b2f01f3f70339e9f186ce3e8913cb6c67dfe93b0"> http://github.com/appcelerator/titanium_mobile/commit/b2f01f3f70339...
This still has problems.
You need to reverse the list of versions in the
for
loop or the path for 4.0.2 will be overwritten if the 4.0.1 path is still available.So, change:
to:
You'll know you have this problem if you see multiple patch messages appear:
(from [457aa11f3f82352c00b14703ec92b7c0f2f57479]) [#1582 state:fixed-in-qa] better fix for logging patch by breaking once the platform is found http://github.com/appcelerator/titanium_mobile/commit/457aa11f3f82352c00b14703ec92b7c0f2f57479"> http://github.com/appcelerator/titanium_mobile/commit/457aa11f3f823...
confirmed against 1.4.1.82947a