fixed publishing of user properties to lookup-server#25300
fixed publishing of user properties to lookup-server#25300abangtor wants to merge 0 commit intonextcloud:masterfrom
Conversation
|
Thanks 👍 Please squash the commits together and we are good. |
| $publicData[$property->getName()] = $property->getValue(); | ||
| $publicData[$property->getName()] = [ | ||
| 'value' => $property->getValue(), | ||
| 'verified' => $property->getVerified() |
There was a problem hiding this comment.
The lookup server also seems to check a signature at least for Twitter and website?
There was a problem hiding this comment.
Mind to add how to get the signature? We talked briefly about the signature at #25290 and were lost ;)
|
Still not fixed in 2023. |
|
Conflicts 😞 Sorry, I'm not familiar with lookup_server_connector and therefore cannot review it. |
|
@ArtificialOwl you're our expert in lookup server, could you have a look when time allows? :) |
|
Reopening to review. Anything here that still needs to be done @abangtor ? We would like to help you get this one in :) |
|
Rebasing went wrong - nevertheless copied the PR to the repo: #51229 |
Fix #25290
Fix of the bug in the lookup_server_connector module to publish public user information to the lookup-server.
There is a bug in the getUserAccountData method in the RetryJob.php of the lookup-server-connector module.
The properties are written into an one dimensional array $publicData:
server/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
Line 197 in 7668c86
Later on the array is read as it is a two dimensional array:
server/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
Lines 203 to 214 in 7668c86
This causes the values to be empty and no properties are send to the loopup-server.