Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13271] CodeProcessor: valueOf and toString don't work on unknown values

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-03-29T05:25:19.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.1.0, 2013 Sprint 07 JS, 2013 Sprint 07
ComponentsCode Processor
Labelsn/a
ReporterBryan Hughes
AssigneePraveen Innamuri
Created2013-03-29T05:12:43.000+0000
Updated2017-03-16T20:56:50.000+0000

Description

The defaultValue method on object doesn't work when toString or valueOf returns unknown

Comments

  1. Eric Merriman 2013-06-17

    Please provide test steps and sample code.
  2. Bryan Hughes 2013-06-17

    Run the following code:
       (new Date()).toString();
       
    If it works, nothing should happen. I don't remember what the original problem was, but I suspect that the code processor crashed or something before.
  3. Lee Morris 2017-03-16

    Closing ticket as fixed.

JSON Source