[TIMOB-20193] iOS: Ti.Contacts Cannot create a new entry with unsaved changes
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-06-09T21:54:13.000+0000 |
Affected Version/s | Release 5.1.2, Release 5.1.1 |
Fix Version/s | Release 5.4.0 |
Components | iOS |
Labels | iOS, qe-5.1.2, qe-5.4.0 |
Reporter | Harry Bryant |
Assignee | Angel Petkov |
Created | 2016-01-04T23:51:29.000+0000 |
Updated | 2016-06-09T21:54:41.000+0000 |
PR https://github.com/appcelerator/titanium_mobile/pull/7613 Also I see an issue with the test case -
Ti.Contacts.save()
should be called afterTi.Contacts.removeGroup()
to commit the changes, not at the end of the loop. Use the following app.js for verifying the PR.FT AND CR approved merging. Thanks Skrilkanth. However for calling the Ti.Contacts.Save() doesn't work for a single person.If that is indeed a bug, we should create a separate ticket for that.
[~ssombhatla], Can you add the fix version for this ticket?
[~apetkov] Sorry I did not quite understand - Ti.Contacts.Save() doesn't work for a single person. Can you please elaborate or best if you think it is an issue please do create a ticket. Thanks.
[~sriks] When calling the save function for a single contact as appose to a group. It doesn't seem to work, however I'm not too familiar with the contact module. So I'm not sure if the save method is indeed meant for a single contact or for groups only.
Verified as fixed, I am able to create and remove groups after making changes. Tested On: iPhone 6S (9.3.2) Device Mac OSX El Capitan 10.11.5 Ti SDK: 5.4.0.v20160608165242 Appc Studio: 4.6.0.201605180604 Appc NPM: 4.2.7.-2 App CLI: 5.4.0-11 Xcode 7.3 Node v4.2.6 *Closing ticket.*