Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24324] iOS: "occurrenceCount" is misspelled in TiCalendarRecurrenceRule.m

GitHub Issuen/a
TypeStory
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2017-01-23T14:43:46.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.1.0
ComponentsiOS
Labelscalendar, ios, spelling
ReporterKiley Williams
AssigneeHans Knöchel
Created2017-01-18T17:50:55.000+0000
Updated2017-01-23T18:22:56.000+0000

Description

In valueForUndefinedKey:key, the @"end" key contains a dictionary with two keys. One of the keys should be "occurrenceCount", as stated in the documentation. In the Objective-C code, it is actually misspelled as @"occuranceCount". This causes the property to be unable to be accessed with the correct variable spelling. Referenced documentation: http://docs.appcelerator.com/platform/latest/#!/api/recurrenceEndDictionary-property-occurrenceCount

Comments

  1. Hans Knöchel 2017-01-18

    PR: https://github.com/appcelerator/titanium_mobile/pull/8764
  2. Hans Knöchel 2017-01-18

    [~Yrkh8trnoy] here we go! Do you have a small test-case we could hand over to our QE?
  3. Lee Morris 2017-01-23

    [~Yrkh8trnoy] [~hansknoechel] I'll second that!
  4. Hans Knöchel 2017-01-23

    [~lmorris] I changed the ticket type to Story today, since no logical- or functional changes have been made to the code, so a functional test is not necessary from my point of view.
  5. Lee Morris 2017-01-23

    Verified that this works fine and am closing the ticket. Tested on; iPhone 7 (10.2) MacOS 10.11.6 (15G31) Studio 4.8.1.201612050850 Ti SDK 6.1.0.v20170123064346 Appc NPM 4.2.8 Appc CLI 6.1.0 Ti CLI 5.0.11 Alloy 1.9.5 Arrow 1.10.1 Xcode 8.2 (8C38) Node v4.6.0 Java 1.7.0_80

JSON Source