Uh oh!
There was an error while loading. Please reload this page.
Properly search for users when limittogroups is enabled - #20772
Conversation
rullzer
commented
May 4, 2020
To test
Now as TestUser search the sharee endpoint for 'test' Before:
After:
|
Uh oh!
There was an error while loading. Please reload this page.
550657d to
c9e4e27Comparenickvergessen
commented
May 4, 2020
I can not reproduce the failure before the patch so unwilling to approve the fix, but at least it is not breaking something. |
rullzer
commented
May 4, 2020
Ok let me try to explain. Basically it does boom because of: server/lib/private/Group/Group.php Line 310 in 5bf3d1b Which goes to: server/lib/private/Group/Database.php Line 333 in 5bf3d1b Now there are 2 issues here
The new way will actually search displaynames as well. Which is what you want. |
This comment has been minimized.
This comment has been minimized.
rullzer
commented
May 6, 2020
Ok it seems I just don't get the tests... |
rullzer
commented
May 6, 2020
/backport to stable19 |
MorrisJobke
commented
Aug 20, 2020
Underlying code was changed with #21452 |
c9e4e27 to
4054c47CompareMorrisJobke
commented
Aug 20, 2020
I merged the changes from this PR with the enhancements from #21452 to also filter out disabled users properly. Ready for review. |
MorrisJobke
commented
Aug 20, 2020
What? |
MorrisJobke
commented
Aug 20, 2020
Seems that this came in via another PR. |
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 32117: failuresqliteShow full logmysql8.0-php7.2
acceptance-app-files
Show full log |
MorrisJobke
commented
Aug 20, 2020
It isn't on master :/ |
MorrisJobke
commented
Aug 20, 2020
@kesselb Any idea? |
kesselb
commented
Aug 20, 2020
@MorrisJobke similar to #22257. But warning is unrelated to this pr. |
MorrisJobke
commented
Aug 21, 2020
Unfortunately this doesn't show up locally :/ |
Searching just for the uid is not enough. This makes sure this done properly again now. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
…ed to contain more results Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4c9e8d5 to
a0cbf16CompareMorrisJobke
commented
Aug 21, 2020
Actually it was fixed in master -> merging then. |
The backport to test failed. Please do this backport manually. |
Searching just for the uid is not enough.
This makes sure this done properly again now.
Actually fixes a valid failure in the integrationtests...