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

Windows: Unable to set birthday of a contact

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Won't Fix
    • Affects Version/s: Release 5.4.0
    • Fix Version/s: None
    • Component/s: Windows
    • Labels:
    • Environment:

      Windows 10 Pro
      Appc core: 5.4.0-37
      Appc NPM: 4.2.7
      Ti SDK: 5.4.0.v20160801022303

      Description

      Description

      When adding a contact with a birthday the app will throw the following error

      Ti.Contacts.requestAuthorization(function(e) {
          if (e.success) {
              Ti.API.info('auth request success');
              Ti.API.info(JSON.stringify(e));
              var person = Ti.Contacts.createPerson({
      	      firstName: 'Steven',
      	      lastName: 'Gerrard',
      	      organization: 'Liverpool FC',
      	      phone:{
      	        mobile: ['07900 000001', '07900 000002'],
      	        work: ['+44 (0)118 925 6128', '+44 (0)118 000 0000']
      	      },
      	      birthday:'1980-05-30T12:00:00.000+0000'
      	    });
          } else {
              Ti.API.info('auth request fail');
              Ti.API.info(e);
          }
      });
      

      Steps to reproduce
      1. Add the code above to an existing app.js
      2. Build for Windows platform
      Actual result

      The app will error with Application Error: "Runtime Error: invalid vector<T> subscript"

      Expected result

      The birthday should be set with no errors

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eharris Ewan Harris
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-9984
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration