[TIMOB-16836] Parity: Android - Log messages lost when logging commands are placed in a loop
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2014-05-15T20:49:53.000+0000 |
Affected Version/s | Release 3.2.3 |
Fix Version/s | n/a |
Components | Android |
Labels | qe-3.2.3 |
Reporter | Olga Romero |
Assignee | Chris Barber |
Created | 2014-04-10T00:00:11.000+0000 |
Updated | 2014-06-19T12:44:25.000+0000 |
Description
Using the default titanium project and the attachment, there is no correct output in the console.
It does work on iOS.
To reproduce:
1. Create the Titanium project. 2. Add the attached app.js 3. Run on Android device and check the log.Expected results:
All console output should be shown filtered based on settings.
[INFO] : 3 bottles of beer on the wall
[INFO] : 2 bottles of beer on the wall
[INFO] : 1 bottles of beer on the wall
[INFO] : 0 bottles of beer on the wall
[INFO] : timed event 1397087456645
[INFO] : timed event 1397087458646
[INFO] : timed event 1397087460647
[INFO] : timed event 1397087462647
Actual results:
Console output missing lines from the looped log calls.
04-09 18:54:48.743: I/TiAPI(6843): timed event 1397087688750
04-09 18:54:50.715: I/TiAPI(6843): timed event 1397087690720
04-09 18:54:50.765: I/TiAPI(6843): timed event 1397087690781
04-09 18:54:50.765: I/TiAPI(6843): timed event 1397087690781
Attachments
File | Date | Size |
---|---|---|
app.js | 2014-04-10T00:00:16.000+0000 | 2497 |
app.js | 2014-04-10T00:00:15.000+0000 | 450 |
I tested with both a Genymotion emulator and a device and I can't reproduce. It always displays the bottles and the timed events. I also tried the other app.js and that worked too.
Tested and cannot reproduce with Mac osx 10.9.3 Mavericks Appcelerator Studio, build: 3.3.0.201406111952 Titanium SDK, build: 3.3.0.v20140613161751 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-rc npm@1.3.2 titanium@3.3.0-rc titanium-code-processor@1.1.1 Device: GalaxyS 4 Android version 4.4.2