[jira] [Updated] (CB-10192) Native Android Contacts app crashed after creating new contact in Cordova app

2015-12-16 Thread Vladimir Kotikov (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Kotikov updated CB-10192:
--
Labels: Android contact.save triaged  (was: Android contact.save)

> Native Android Contacts app crashed after creating new contact in Cordova app
> -
>
> Key: CB-10192
> URL: https://issues.apache.org/jira/browse/CB-10192
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 1.1.0
> Environment: Google Nexus 6 Marshmallow
> Cordova : 5.4.0
> Contacts Plugin: 1.1.0
>Reporter: Sumama Waheed
>Assignee: Vladimir Kotikov
>  Labels: Android, contact.save, triaged
>
> I successfully create a new contact with minimal fields like First Name and 
> Given Name. 
> The contact is created successfully and you can see it in the native Android 
> contacts app if you scroll to the correct place.
> However, if you search for the new contact by name, it crashes the Contacts 
> app every time until you delete that contact !!.
> Cordova : 5.4.0
> Contacts Plugin: 1.1.0
> This is how I am creating the contact:
> {code:javascript}
> var contact = navigator.contacts.create();
> contact.displayName = firstName + " " + lastName;
> contact.nickname = firstName; 
> var name = new ContactName();
> name.givenName = firstName;
> name.familyName = lastName;
> contact.name = name;
> var phoneNumbers = [];
> phoneNumbers.push(new ContactField('work', workPhone, false));
> phoneNumbers.push(new ContactField('mobile', mobilePhone, true)); // 
> preferred number 
> contact.phoneNumbers = phoneNumbers;
> var organizations = [];
> organizations.push(new ContactOrganization(true, "work", "Company", 
> "Company", "Supervisor"));
> contact.organizations = organizations;
> contact.save(onSuccess,onError);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10192) Native Android Contacts app crashed after creating new contact in Cordova app

2015-12-16 Thread Vladimir Kotikov (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Kotikov updated CB-10192:
--
Environment: 
Google Nexus 6 Marshmallow
Cordova : 5.4.0
Contacts Plugin: 1.1.0

  was:Google Nexus 6 Marshmallow


> Native Android Contacts app crashed after creating new contact in Cordova app
> -
>
> Key: CB-10192
> URL: https://issues.apache.org/jira/browse/CB-10192
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 1.1.0
> Environment: Google Nexus 6 Marshmallow
> Cordova : 5.4.0
> Contacts Plugin: 1.1.0
>Reporter: Sumama Waheed
>  Labels: Android, contact.save
>
> I successfully create a new contact with minimal fields like First Name and 
> Given Name. 
> The contact is created successfully and you can see it in the native Android 
> contacts app if you scroll to the correct place.
> However, if you search for the new contact by name, it crashes the Contacts 
> app every time until you delete that contact !!.
> Cordova : 5.4.0
> Contacts Plugin: 1.1.0
> This is how I am creating the contact:
> {code:javascript}
> var contact = navigator.contacts.create();
> contact.displayName = firstName + " " + lastName;
> contact.nickname = firstName; 
> var name = new ContactName();
> name.givenName = firstName;
> name.familyName = lastName;
> contact.name = name;
> var phoneNumbers = [];
> phoneNumbers.push(new ContactField('work', workPhone, false));
> phoneNumbers.push(new ContactField('mobile', mobilePhone, true)); // 
> preferred number 
> contact.phoneNumbers = phoneNumbers;
> var organizations = [];
> organizations.push(new ContactOrganization(true, "work", "Company", 
> "Company", "Supervisor"));
> contact.organizations = organizations;
> contact.save(onSuccess,onError);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10192) Native Android Contacts app crashed after creating new contact in Cordova app

2015-12-16 Thread Vladimir Kotikov (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Kotikov updated CB-10192:
--
Description: 
I successfully create a new contact with minimal fields like First Name and 
Given Name. 

The contact is created successfully and you can see it in the native Android 
contacts app if you scroll to the correct place.

However, if you search for the new contact by name, it crashes the Contacts app 
every time until you delete that contact !!.

Cordova : 5.4.0
Contacts Plugin: 1.1.0

This is how I am creating the contact:

{code:javascript}
var contact = navigator.contacts.create();
contact.displayName = firstName + " " + lastName;
contact.nickname = firstName; 
var name = new ContactName();
name.givenName = firstName;
name.familyName = lastName;
contact.name = name;

var phoneNumbers = [];
phoneNumbers.push(new ContactField('work', workPhone, false));
phoneNumbers.push(new ContactField('mobile', mobilePhone, true)); // preferred 
number 
contact.phoneNumbers = phoneNumbers;

var organizations = [];
organizations.push(new ContactOrganization(true, "work", "Company", "Company", 
"Supervisor"));
contact.organizations = organizations;

contact.save(onSuccess,onError);
{code}

  was:
I successfully create a new contact with minimal fields like First Name and 
Given Name. 

The contact is created successfully and you can see it in the native Android 
contacts app if you scroll to the correct place.

However, if you search for the new contact by name, it crashes the Contacts app 
every time until you delete that contact !!.

Cordova : 5.4.0
Contacts Plugin: 1.1.0

This is how I am creating the contact:
{noformat}
var contact = navigator.contacts.create();
contact.displayName = firstName + " " + lastName;
contact.nickname = firstName; 
var name = new ContactName();
name.givenName = firstName;
name.familyName = lastName;
contact.name = name;

var phoneNumbers = [];
phoneNumbers.push(new ContactField('work', workPhone, false));
phoneNumbers.push(new ContactField('mobile', mobilePhone, true)); // preferred 
number 
contact.phoneNumbers = phoneNumbers;

var organizations = [];
organizations.push(new ContactOrganization(true, "work", "Company", "Company", 
"Supervisor"));
contact.organizations = organizations;

contact.save(onSuccess,onError);
{noformat}


> Native Android Contacts app crashed after creating new contact in Cordova app
> -
>
> Key: CB-10192
> URL: https://issues.apache.org/jira/browse/CB-10192
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 1.1.0
> Environment: Google Nexus 6 Marshmallow
>Reporter: Sumama Waheed
>  Labels: Android, contact.save
>
> I successfully create a new contact with minimal fields like First Name and 
> Given Name. 
> The contact is created successfully and you can see it in the native Android 
> contacts app if you scroll to the correct place.
> However, if you search for the new contact by name, it crashes the Contacts 
> app every time until you delete that contact !!.
> Cordova : 5.4.0
> Contacts Plugin: 1.1.0
> This is how I am creating the contact:
> {code:javascript}
> var contact = navigator.contacts.create();
> contact.displayName = firstName + " " + lastName;
> contact.nickname = firstName; 
> var name = new ContactName();
> name.givenName = firstName;
> name.familyName = lastName;
> contact.name = name;
> var phoneNumbers = [];
> phoneNumbers.push(new ContactField('work', workPhone, false));
> phoneNumbers.push(new ContactField('mobile', mobilePhone, true)); // 
> preferred number 
> contact.phoneNumbers = phoneNumbers;
> var organizations = [];
> organizations.push(new ContactOrganization(true, "work", "Company", 
> "Company", "Supervisor"));
> contact.organizations = organizations;
> contact.save(onSuccess,onError);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10192) Native Android Contacts app crashed after creating new contact in Cordova app

2015-12-16 Thread Vladimir Kotikov (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Kotikov updated CB-10192:
--
Description: 
I successfully create a new contact with minimal fields like First Name and 
Given Name. 

The contact is created successfully and you can see it in the native Android 
contacts app if you scroll to the correct place.

However, if you search for the new contact by name, it crashes the Contacts app 
every time until you delete that contact !!.

Cordova : 5.4.0
Contacts Plugin: 1.1.0

This is how I am creating the contact:
{noformat}
var contact = navigator.contacts.create();
contact.displayName = firstName + " " + lastName;
contact.nickname = firstName; 
var name = new ContactName();
name.givenName = firstName;
name.familyName = lastName;
contact.name = name;

var phoneNumbers = [];
phoneNumbers.push(new ContactField('work', workPhone, false));
phoneNumbers.push(new ContactField('mobile', mobilePhone, true)); // preferred 
number 
contact.phoneNumbers = phoneNumbers;

var organizations = [];
organizations.push(new ContactOrganization(true, "work", "Company", "Company", 
"Supervisor"));
contact.organizations = organizations;

contact.save(onSuccess,onError);
{noformat}

  was:
I successfully create a new contact with minimal fields like First Name and 
Given Name. 

The contact is created successfully and you can see it in the native Android 
contacts app if you scroll to the correct place.

However, if you search for the new contact by name, it crashes the Contacts app 
every time until you delete that contact !!.

Cordova : 5.4.0
Contacts Plugin: 1.1.0

This is how I am creating the contact:

var contact = navigator.contacts.create();
contact.displayName = firstName + " " + 
lastName;
contact.nickname = firstName; 
var name = new ContactName();
name.givenName = firstName;
name.familyName = lastName;
contact.name = name;

var phoneNumbers = [];
phoneNumbers.push(new ContactField('work', 
workPhone, false));
phoneNumbers.push(new ContactField('mobile', 
mobilePhone, true)); // preferred number 
contact.phoneNumbers = phoneNumbers;

var organizations = [];
organizations.push(new 
ContactOrganization(true, "work", "Company", "Company", "Supervisor"));
contact.organizations = organizations;

contact.save(onSuccess,onError);


> Native Android Contacts app crashed after creating new contact in Cordova app
> -
>
> Key: CB-10192
> URL: https://issues.apache.org/jira/browse/CB-10192
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 1.1.0
> Environment: Google Nexus 6 Marshmallow
>Reporter: Sumama Waheed
>  Labels: Android, contact.save
>
> I successfully create a new contact with minimal fields like First Name and 
> Given Name. 
> The contact is created successfully and you can see it in the native Android 
> contacts app if you scroll to the correct place.
> However, if you search for the new contact by name, it crashes the Contacts 
> app every time until you delete that contact !!.
> Cordova : 5.4.0
> Contacts Plugin: 1.1.0
> This is how I am creating the contact:
> {noformat}
> var contact = navigator.contacts.create();
> contact.displayName = firstName + " " + lastName;
> contact.nickname = firstName; 
> var name = new ContactName();
> name.givenName = firstName;
> name.familyName = lastName;
> contact.name = name;
> var phoneNumbers = [];
> phoneNumbers.push(new ContactField('work', workPhone, false));
> phoneNumbers.push(new ContactField('mobile', mobilePhone, true)); // 
> preferred number 
> contact.phoneNumbers = phoneNumbers;
> var organizations = [];
> organizations.push(new ContactOrganization(true, "work", "Company", 
> "Company", "Supervisor"));
> contact.organizations = organizations;
> contact.save(onSuccess,onError);
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10192) Native Android Contacts app crashed after creating new contact in Cordova app

2015-12-16 Thread Sumama Waheed (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sumama Waheed updated CB-10192:
---
Affects Version/s: 1.1.0
  Description: 
I successfully create a new contact with minimal fields like First Name and 
Given Name. 

The contact is created successfully and you can see it in the native Android 
contacts app if you scroll to the correct place.

However, if you search for the new contact by name, it crashes the Contacts app 
every time until you delete that contact !!.

Cordova : 5.4.0
Contacts Plugin: 1.1.0

This is how I am creating the contact:

var contact = navigator.contacts.create();
contact.displayName = firstName + " " + 
lastName;
contact.nickname = firstName; 
var name = new ContactName();
name.givenName = firstName;
name.familyName = lastName;
contact.name = name;

var phoneNumbers = [];
phoneNumbers.push(new ContactField('work', 
workPhone, false));
phoneNumbers.push(new ContactField('mobile', 
mobilePhone, true)); // preferred number 
contact.phoneNumbers = phoneNumbers;

var organizations = [];
organizations.push(new 
ContactOrganization(true, "work", "Company", "Company", "Supervisor"));
contact.organizations = organizations;

contact.save(onSuccess,onError);

  was:
I successfully create a new contact with minimal fields like First Name and 
Given Name. 

The contact is created successfully and you can see it in the native Android 
contacts app if you scroll to the correct place.

However, if you search for the new contact by name, it crashes the Contacts app 
every time until you delete that contact !!.




> Native Android Contacts app crashed after creating new contact in Cordova app
> -
>
> Key: CB-10192
> URL: https://issues.apache.org/jira/browse/CB-10192
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 1.1.0
> Environment: Google Nexus 6 Marshmallow
>Reporter: Sumama Waheed
>  Labels: Android, contact.save
>
> I successfully create a new contact with minimal fields like First Name and 
> Given Name. 
> The contact is created successfully and you can see it in the native Android 
> contacts app if you scroll to the correct place.
> However, if you search for the new contact by name, it crashes the Contacts 
> app every time until you delete that contact !!.
> Cordova : 5.4.0
> Contacts Plugin: 1.1.0
> This is how I am creating the contact:
>   var contact = navigator.contacts.create();
>   contact.displayName = firstName + " " + 
> lastName;
>   contact.nickname = firstName; 
>   var name = new ContactName();
>   name.givenName = firstName;
>   name.familyName = lastName;
>   contact.name = name;
>   var phoneNumbers = [];
>   phoneNumbers.push(new ContactField('work', 
> workPhone, false));
>   phoneNumbers.push(new ContactField('mobile', 
> mobilePhone, true)); // preferred number 
>   contact.phoneNumbers = phoneNumbers;
>   var organizations = [];
>   organizations.push(new 
> ContactOrganization(true, "work", "Company", "Company", "Supervisor"));
>   contact.organizations = organizations;
>   contact.save(onSuccess,onError);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10192) Native Android Contacts app crashed after creating new contact in Cordova app

2015-12-12 Thread Vladimir Kotikov (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Kotikov updated CB-10192:
--
Labels: Android contact.save  (was: contact.save)

> Native Android Contacts app crashed after creating new contact in Cordova app
> -
>
> Key: CB-10192
> URL: https://issues.apache.org/jira/browse/CB-10192
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
> Environment: Google Nexus 6 Marshmallow
>Reporter: Sumama Waheed
>  Labels: Android, contact.save
>
> I successfully create a new contact with minimal fields like First Name and 
> Given Name. 
> The contact is created successfully and you can see it in the native Android 
> contacts app if you scroll to the correct place.
> However, if you search for the new contact by name, it crashes the Contacts 
> app every time until you delete that contact !!.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-10192) Native Android Contacts app crashed after creating new contact in Cordova app

2015-12-11 Thread Sumama Waheed (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-10192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sumama Waheed updated CB-10192:
---
Description: 
I successfully create a new contact with minimal fields like First Name and 
Given Name. 

The contact is created successfully and you can see it in the native Android 
contacts app if you scroll to the correct place.

However, if you search for the new contact by name, it crashes the Contacts app 
every time until you delete that contact !!.



  was:
I successfully create a new contact with minimal fields like First Name and 
Given Name. 

The contact is created successfully and you can see it in the native Android 
contacts app if you scroll to the correct place.

However, if you search for the new contact by name, it crashes the Contacts app 
every time until to delete that contact !!.




> Native Android Contacts app crashed after creating new contact in Cordova app
> -
>
> Key: CB-10192
> URL: https://issues.apache.org/jira/browse/CB-10192
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
> Environment: Google Nexus 6 Marshmallow
>Reporter: Sumama Waheed
>  Labels: contact.save
>
> I successfully create a new contact with minimal fields like First Name and 
> Given Name. 
> The contact is created successfully and you can see it in the native Android 
> contacts app if you scroll to the correct place.
> However, if you search for the new contact by name, it crashes the Contacts 
> app every time until you delete that contact !!.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org