Bug #16750
closedworkbench 1 trash page not working with logincluster enabled
Added by Peter Amstutz over 4 years ago. Updated over 4 years ago.
Updated by Peter Amstutz over 4 years ago
- Subject changed from trash page not working with logincluster enabled to workbench 1 trash page not working with logincluster enabled
Updated by Lucas Di Pentima over 4 years ago
- Assigned To set to Lucas Di Pentima
Updated by Lucas Di Pentima over 4 years ago
- Target version changed from 2020-09-09 Sprint to 2020-09-23 Sprint
Updated by Lucas Di Pentima over 4 years ago
- Target version changed from 2020-09-23 Sprint to 2020-10-07 Sprint
Updated by Lucas Di Pentima over 4 years ago
- Status changed from New to In Progress
Updated by Lucas Di Pentima over 4 years ago
Updates at 06b0aba - branch 16750-logincluster-wb1-trash-fix
Test run: developer-run-tests: #2127
- Applies
.fetch_multiple_pages(false)
toUser
request when listing trashed items andLoginCluster
is set. - Haven't been able to properly test this, and don't want to burn more time on a wb1 fix. Ideas always welcome :)
Updated by Peter Amstutz over 4 years ago
Lucas Di Pentima wrote:
Updates at 06b0aba - branch
16750-logincluster-wb1-trash-fix
Test run: developer-run-tests: #2127
- Applies
.fetch_multiple_pages(false)
toUser
request when listing trashed items andLoginCluster
is set.- Haven't been able to properly test this, and don't want to burn more time on a wb1 fix. Ideas always welcome :)
It's a small fix but it seems a little overcomplicated, I think all you need to do was add .fetch_multiple_pages(false)
to the users query. If you think about it, we fetched one page of collection items, so we can't have more owner_uuids than fit on a single page anyway.
Updated by Lucas Di Pentima over 4 years ago
Update at 50697add7
Test run: developer-run-tests: #2129
As suggested, I've update the code so that it always queries User
and Group
classes with .fetch_multiple_pages(false)
.
Updated by Peter Amstutz over 4 years ago
Lucas Di Pentima wrote:
Update at 50697add7
Test run: developer-run-tests: #2129As suggested, I've update the code so that it always queries
User
andGroup
classes with.fetch_multiple_pages(false)
.
Now there's a "federated_reqs = [User]" line that doesn't serve any purpose. And it might be good to just rebase/squash this because the history is noisy. But I'm sorry for spending so much time on such a small fix so you should feel free to merge it :-)
Updated by Lucas Di Pentima over 4 years ago
Updates at 45cabb9 (rebased)
Will merge. Thanks!
Updated by Anonymous over 4 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Resolved
Applied in changeset arvados|79455c249d7227627948b5b9ff121efd42fbc4fe.