analytics icon indicating copy to clipboard operation
analytics copied to clipboard

Usernames shown as IDs instead of readable names

Open fthommen opened this issue 3 years ago • 10 comments

Hi,

thanks for solving the latest issues. Great work!

Unfortunately I got one more which is not new, but I realized it only now: In the sharing list, users from AD (Active Directory/LDAP) are not listed with their name but with some AD ID: Sharing_Analytics

Compare to the share list of a file: Sharing_Files

Interestingly group names are printed as names and not as IDs

fthommen avatar Jun 27 '22 18:06 fthommen

AD Setup!? puh. need to have a look how to debug this

Rello avatar Jun 27 '22 19:06 Rello

:-). From our side it would of course be nice to have this fixed, but it's also not a huge problem. So from my side it can have a low prio

fthommen avatar Jun 28 '22 07:06 fthommen

Hello, any chance to get access to your instance to do some debugging? alternatively, you could send me something from the browser log. as soon as you type something in the searchbox (please use something to find a user), a request is sent to the server

https://.../nextcloud/ocs/v1.php/apps/files_sharing/api/v1/sharees?format=json&itemType=file&search=t&lookup=false&perPage=200&shareType[]=0&shareType[]=1

I need the return of this request something like: Bildschirmfoto 2022-06-29 um 16 59 46

I need to see where the expected names are written

Rello avatar Jun 29 '22 15:06 Rello

@fthommen send it to analytics at scherello . de

Rello avatar Jun 29 '22 16:06 Rello

any chance to get access to your instance to do some debugging?

Unfortunately not. It's in a strictly internal network behind firewall ecc. ecc.

alternatively, you could send me something from the browser log.

I'll give it a try. I assume you used the web developers tools of Firefox or Chrome for your example screenshot?

fthommen avatar Jun 29 '22 19:06 fthommen

Hi, any news?

Rello avatar Jul 12 '22 17:07 Rello

I apologize, I completely for forgot this and was also away in the meantime. This is probably/hopefully what you are looking for:

Screenshot 2022-07-15 at 19 27 17

A = Name B = AD ID C = Email address

fthommen avatar Jul 15 '22 17:07 fthommen

Hi, I finally found it. the information above was looking at the search. Is my assumption correct, that the real names are shown when you search for an employee to share with? Its just shown wrong once the member is part of the share-list. this is how I could just reproduce it...

OCP\IUser::getDisplayName

Rello avatar Aug 17 '22 21:08 Rello

solved with the next release...

Rello avatar Aug 19 '22 12:08 Rello

Great (as usual). Thanks in advance

fthommen avatar Aug 19 '22 14:08 fthommen