Project

General

Profile

Actions

Bug #17319

closed

CommonService.get(uuid) should throw an exception when uuid is empty string

Added by Lucas Di Pentima about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Story points:
-
Release relationship:
Auto

Description

Currently if uuid is "", the service layer does a request to the backend with an incorrect URL, for example: arvados/v1/container_requests/, ultimately getting a 404 response.

RailsAPI may accept trailing slashes on some endpoints, but as we're migrating those endpoint handlings to controller, these kind of issues may start to creep up of different parts of the app.


Subtasks 1 (0 open1 closed)

Arvados - Task #17322: Review 17319-service-layer-uuid-validationClosedDaniel Kutyła02/19/2021Actions
Actions

Also available in: Atom PDF