[Owncloud] Introduction of display names, please take care of it in your Apps!
Robin Appelman
icewind at owncloud.com
Thu Jan 31 13:43:47 UTC 2013
getDisplayName works fine, but getDisplayNameS, which is used to search for users doesn't
- Robin Appelman
Arthur Schiwon <blizzz at owncloud.com> wrote:
>On 01/31/2013 11:30 AM, Bjoern Schiessle wrote:
>> On 01/30/2013 07:53 PM, Robin Appelman wrote:
>>> This broke sharing since OC_User::getDisplayNames doesn't return anything for
>>> users that don't have a display name set.
>>
>> You are right. The easiest way would be to make sure that every user has
>> a display name even if it is the same as the login name. Do you have an
>> idea where I could place a function to populate the display_name column
>> during update? Couldn't find one.
>
>Just by reading the code the backends getDisplayName returns the uid
>again if the display name is not set.
>
>However, the database result needs to be checked properly, that's not
>happening yet.
>
>I wouldn't populate the database as long as it's not necessary.
>
>Cheers
>Arthur
>
>>
>> cheers,
>> Björn
>>
>_______________________________________________
>Owncloud mailing list
>Owncloud at kde.org
>https://mail.kde.org/mailman/listinfo/owncloud
More information about the Owncloud
mailing list