Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5162] iOS: Ti.Database.ResultSet fieldCount is a property beginning in 3.3.0. Update Anvil, KS, etc.

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2015-09-10T04:25:10.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sRelease 5.1.0
ComponentsiOS
Labelscoverage, database, parity, tbs-2.1.0
ReporterStephen Tramer
AssigneeHans Knöchel
Created2011-08-29T15:02:14.000+0000
Updated2015-11-06T17:55:53.000+0000

Description

iOS incorrectly has fieldCount as a function fieldCount(). In addition: * The DB tests must be updated to catch mistakes like this going forward, if possible, and also test correct values * The documentation for Ti.Database.ResultSet must be updated

Comments

  1. Ingo Muschenetz 2014-08-14

    3.4.0 is moved forward, and 3.5.0 is taking its place in the calendar.
  2. Hans Knöchel 2015-09-05

    [~stephentramer] Where are the db tests located? Cannot find anything related in the KS projects.
  3. Hans Knöchel 2015-09-09

    Updated docs & KitchenSink. *PR*: https://github.com/appcelerator/titanium_mobile/pull/7152
  4. Chee Kiat Ng 2015-09-10

    PR Merged.
  5. Eric Wieber 2015-11-06

    Verified fixed, using: MacOS 10.11.2 (15C31f) Studio 4.4.0.201511040454 Ti SDK 5.1.0.v20151104190037 Appc NPM 4.2.1 Appc CLI 5.1.0-42 Ti CLI 5.0.5 Alloy 1.7.23 Arrow 1.3.18 Xcode 7.2 (7C46t) Node v0.12.7 Java 1.7.0_80 production Documentation has been updated on the CI docs site and the KS tests now use the getFieldCount() function instead of the removed fieldCount().

JSON Source