-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sabre dav 3.2 requires on each vcard to have fn set #8
Conversation
Anyone 🏜 @nextcloud/contacts |
@@ -93,6 +93,9 @@ angular.module('contactsApp') | |||
newContact.uid(newUid); | |||
newContact.setUrl(addressBook, newUid); | |||
newContact.addressBookId = addressBook.displayName; | |||
if (_.isUndefined(newContact.fullName()) || newContact.fullName() === '') { | |||
newContact.fullName(t('contacts', 'New Contact')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be capitalized like »New contact« – we always only capitalize the first word. ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it should be NewContact.fullName
everywhere 🤔 ... this would also affect lines which are not touched by this PR - so I think I am misunderstanding you @jancborchardt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MariusBluem I mean the text:
fullName(t('contacts', 'New Contact'));
should be
fullName(t('contacts', 'New contact'));
(lowercase c)
@MariusBluem everything else seems okay. Can you add @jancborchardt changes so we can merge it. :) |
What about the change in the contact_model 😁 https://github.com/owncloud/contacts/pull/526/files |
* Sabre dav 3.2 requires on each vcard to have fn set * Force to set fn before sending back the vcard to the server * New Contact -> New contact
db8cda2
to
ed1659d
Compare
This fixes #29 LGTM |
Downstream from owncloud/contacts#526
cc @irgendwie @Henni