Bug #15921
closed
[Workbench2] Remove spurious trailing slash from API endpoints
Added by Tom Clegg about 5 years ago.
Updated about 5 years ago.
Release relationship:
Auto
Description
For example, Workbench2 reportedly requests "POST /arvados/v1/collections/" when creating a new collection. The correct endpoint is "POST /arvados/v1/collections".
- Related to Bug #15916: [controller] POST /arvados/v1/collections/ (with extra trailing slash) returns 404 added
- Assigned To set to Lucas Di Pentima
- Status changed from New to In Progress
Fix at commit 75ba9a3a (wb2 repo) - branch 15921-trailing-slash-fix
Trailing slashes were being added to every resource. Fixed that and updated the necessary calls to add the missing slash when needed.
Update at commit a908c393 fixes the api call made by the the link account service.
This came up originally trying to create a collection (although other stuff would have failed too).
I tried to create a collection and ran into another bug.
I fixed the bug and pushed c055c90f752c104305e4097a9b7b5d029615e08f
This LGTM.
- Status changed from In Progress to Resolved
Also available in: Atom
PDF