Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16836] Parity: Android - Log messages lost when logging commands are placed in a loop

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-05-15T20:49:53.000+0000
Affected Version/sRelease 3.2.3
Fix Version/sn/a
ComponentsAndroid
Labelsqe-3.2.3
ReporterOlga Romero
AssigneeChris Barber
Created2014-04-10T00:00:11.000+0000
Updated2014-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

FileDateSize
app.js2014-04-10T00:00:16.000+00002497
app.js2014-04-10T00:00:15.000+0000450

Comments

  1. Chris Barber 2014-05-15

    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.
  2. Olga Romero 2014-06-16

    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

JSON Source