Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24538

iOS: Setting Ti.UI.ListItem "bindId" property to reserved identifier should fail gracefully

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.2.0
    • Component/s: iOS
    • Labels:
      None

      Description

      There are properties like "badge" and "constants" that are private API of the UITableViewCell, which we subclass with our TiUIListItem. Setting the bindId to those values and trying to update the underlaying key-paths afterwards will cause a crash like "this class is not key value coding-compliant for the key color." which doesn't say anything to the Titanium developer. Instead, we should show a modal error saying "The bindId "<bind-id>" is reserved by the system, please choose a different name and try again.". Easy one.

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              hknoechel Hans Knöchel
              Reviewer:
              Vijay Singh
              Tester:
              Harry Bryant
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code