Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20190] Titanium.Database.ResultSet.fieldName([index]) is not returning the correct value

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-01-07T15:47:36.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.3.0
ComponentsWindows
Labelsn/a
ReporterKai Lu
AssigneeChristopher Williams
Created2016-01-04T13:43:01.000+0000
Updated2016-05-24T20:00:17.000+0000

Description

On windows phone the database resultset.fieldName(index) returns 0,1 or NULL or field values instead of the field name from the search criteria. To be noted that I set fieldName as aliasName in the query string. for example: select name as full_name from contacts;

Comments

  1. Ewan Harris 2016-05-24

    Verified using: Windows 10 Pro Visual Studio 2015 Community Update 2 Appc Core: 5.3.0-46 Appc NPM: 4.2.5-5 Ti SDK: 5.3.0.v20160523083840 Lumia 520 8.1, Lumia 930 10.0 Titanium.Database.ResultSet.fieldName([index]) now returns the expected value of the fields name rather than the fields values Closing ticket

JSON Source