[TIMOB-27342] iOS regression: Console.warn/error don't log all parameters
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-08-28T17:00:56.000+0000 |
Affected Version/s | Release 8.1.0 |
Fix Version/s | Release 8.1.1 |
Components | iOS |
Labels | engSchedule, regression |
Reporter | Rene Pot |
Assignee | Vijay Singh |
Created | 2019-08-19T10:37:43.000+0000 |
Updated | 2019-08-28T23:32:47.000+0000 |
Description
When using console.log/warn/error usually all parameters get logged, however since SDK 8.1.0 this is no longer the case.
If you run this code:
console.log('a', 'b');
console.warn('a', 'b');
console.error('a', 'b');
it will log:
[INFO] a b
[WARN] a
[ERROR] a
It should log a b
for all 3 types.
It works fine for Android and iOS SDK 8.0.0.GA
PR(8_1_X) - https://github.com/appcelerator/titanium_mobile/pull/11162 PR(Master) - https://github.com/appcelerator/titanium_mobile/pull/11163 PR(8_3_X) - https://github.com/appcelerator/titanium_mobile/pull/11164 Test Case 1.
Test Case 2 -
FR Passed. Waiting for CR.
See comment on the 8_1_X back port, this is crashing in our test suite for not properly handling undefined as an argument.
[~cwilliams] Updated PR.
Merged to master, 8_1_X and 8_3_X
Verified the Fix on sdk 8.3.0.v20190828100616,8.2.0.v20190828134315 and 8.1.1.v20190828100656. console and Ti.APi logs works as expected.