Project

General

Profile

Actions

Bug #22541

open

API can return malformed favorite links

Added by Lisa Knox about 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
Story points:
-

Description

There is a malformed favorites link with the following properties that is in the db and is returned by the API:

{
  "created_at": "2025-01-21T18:27:35.177340000Z",
  "etag": "7ngxxl8fcydq0303956blklcp",
  "head_kind": "",
  "head_uuid": "",
  "kind": "arvados#link",
  "link_class": "star",
  "modified_at": "2025-01-21T18:27:35.185460000Z",
  "modified_by_user_uuid": "jutro-tpzed-54n8ytzdwala7jk",
  "name": "",
  "owner_uuid": "jutro-tpzed-54n8ytzdwala7jk",
  "properties": {},
  "tail_kind": "arvados#user",
  "tail_uuid": "jutro-tpzed-54n8ytzdwala7jk",
  "uuid": "tordo-o0j2j-wfz2kz8fqxefm8j",
}

Previous to #22473, this link would cause the sidePanelTree to crash, showing an empty div that wouldn't come back until re-initialized by a page refresh. #22473 addressed the issue in WorkBench, but it would be a good idea to prevent the API from returning malformed links to the client entirely. It is still unclear what caused the malformed link in the first place.


Related issues 1 (0 open1 closed)

Related to Arvados - Bug #22473: SidePanel Tree disappears when expanding My FavoritesResolvedLisa KnoxActions
Actions #1

Updated by Lisa Knox about 2 months ago

  • Related to Bug #22473: SidePanel Tree disappears when expanding My Favorites added
Actions

Also available in: Atom PDF