Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2773] String getting truncated on Android

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-05-30T21:23:23.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, string
ReporterFrank Apap
AssigneeVarun Joshi
Created2012-05-01T13:30:08.000+0000
Updated2016-03-08T07:47:41.000+0000

Description

Hi, I was having sporadic crashes of my app and I've narrowed it down to something happening when I get a specific http response from a service. I can recreate the issue. Below is a hardcoded response, what I see is that TI is having issues with it as the log output is truncating the data. resp = "http://ons.ms/bidHGcbEL0FaYM/?url=http%253A%252F%252Fprazu.com%252Flp1%252F%253Fpartner%253D4%2526subID%253D\">http://cdn.ons.ms/banners/firepath/1322719057593.jpg\" />"; Titanium.API.debug('Resp '+resp); On android emulator and iOS the full string is outputted on my Android device (and other devices) the string is truncated after http://ons.ms/bidHGcbEL0FaYM/?url=http

Attachments

FileDateSize
Screen Shot 2012-05-09 at 1.28.29 PM.png2012-05-09T13:42:51.000+0000225190

Comments

  1. Varun Joshi 2012-05-09

    Hi Frank, I tested this issue with Release 2.0.1 GA2 and could not reproduce it. I tested on both the emulator and Android devices with OS version 4 and version 2.3. This was an issue in Release 1.8.2 of the SDK as I found out. I am attaching a screenshot of the debug output from ddms. Thanks, Varun
  2. Frank Apap 2012-05-20

    Excellent. if its fixed in 2.0.1 that is fine. I'm upgrading as we speak.
  3. Varun Joshi 2012-05-21

    Hi Frank, Were you able to get this resolved?

JSON Source