[Owncloud] Introduction of display names, please take care of it in your Apps!

Arthur Schiwon blizzz at owncloud.com
Thu Jan 31 11:06:30 UTC 2013


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
>



More information about the Owncloud mailing list