Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16692] Windows Hybrid: InstanceRegistry doesn't properly compare objects when reusing handles

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-03-25T06:18:59.000+0000
Affected Version/sn/a
Fix Version/s2014 Sprint 06, 2014 Sprint 06 Tooling, Release 3.3.0
ComponentsWindows Hybrid
Labelsmodule_hybrid, qe-testadded
ReporterChris Barber
AssigneeChris Barber
Created2014-03-25T06:16:42.000+0000
Updated2014-07-02T16:25:15.000+0000

Description

When looking up instances, it does a == comparison to see if the dictionary value matches the passed in object, instead of calling Equals().

Attachments

FileDateSize
wp_ss_20140701_0001.jpeg2014-07-01T22:34:28.000+000088310

Comments

  1. Chris Barber 2014-03-25

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5519 3_2_X_hybrid pull request: https://github.com/appcelerator/titanium_mobile/pull/5520
  2. Chris Barber 2014-07-02

    I updated the example in the guide.
  3. Samuel Dowse 2014-07-02

    Verified on: Windows 8.1 Appcelerator Studio, build: 3.3.0.201406271159 Titanium SDK, build: 3.3.0.v20140701104113 Titanium CLI, build: 3.3.0-rc4 Alloy: 1.4.0-rc3 Visual Studio, build: 2013 (12.0.30501.00 Update 2) Windows Device: Nokia Lumia 520 (8.0) Using the updated example in the guide worked. Four buttons load successfully on screen. Studio log shows 23 Instances are created. Closing.

JSON Source