Project

General

Profile

Actions

Bug #17637

closed

"Not found" error when trashing project

Added by Peter Amstutz over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Target version:
Start date:
05/13/2021
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
Release relationship:
Auto

Description

It displays a spurious "not found" error when trashing a project. It appears to happen because the project is still considered selected after it has been trashed.

Steps to reproduce:

  1. Create a subproject
  2. Click on the subproject so it is displayed in the main panel
  3. Right-click on the subproject on the left tree view and select "move to trash"
  4. The project will be correctly trashed, but it will pop up a confusing dialog saying the project is not found

Subtasks 1 (0 open1 closed)

Task #17670: Review 17637-not-found-after-trashResolvedPeter Amstutz05/13/2021

Actions

Related issues

Blocks Arvados - Story #17512: Release Arvados 2.2ResolvedPeter Amstutz05/03/2021

Actions
Actions #1

Updated by Peter Amstutz over 1 year ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz over 1 year ago

Actions #3

Updated by Peter Amstutz over 1 year ago

  • Assigned To set to Lucas Di Pentima
Actions #4

Updated by Lucas Di Pentima over 1 year ago

  • Status changed from New to In Progress
Actions #5

Updated by Lucas Di Pentima over 1 year ago

Updates at arvados-workbench2|55b961b - branch 17637-not-found-after-trash
Test run: developer-tests-workbench2: #415

  • Fixes "not found" error message/dialog after trashing a project.
  • Removes superfluous snackbar "About to do X..." messages when trashing groups and collections.
  • Fixes error messages when untrashing collections and projects.
  • Navigates to the recently untrashed project.
  • Updates the projects tree on the left side panel after trashing a project.
  • Adds cypress test.
Actions #6

Updated by Peter Amstutz over 1 year ago

  • Release set to 38
Actions #7

Updated by Peter Amstutz about 1 year ago

Lucas Di Pentima wrote:

Updates at arvados-workbench2|55b961b - branch 17637-not-found-after-trash
Test run: developer-tests-workbench2: #415

  • Fixes "not found" error message/dialog after trashing a project.

I found an edge case:

  1. Create a project
  2. Create a subproject
  3. Select the subproject
  4. Right click on the parent project and trash it
  5. You still get the "not found" error and the project tree gets confused
  • Removes superfluous snackbar "About to do X..." messages when trashing groups and collections.
  • Fixes error messages when untrashing collections and projects.
  • Navigates to the recently untrashed project.
  • Updates the projects tree on the left side panel after trashing a project.
  • Adds cypress test.
Actions #8

Updated by Lucas Di Pentima about 1 year ago

Peter Amstutz wrote:

I found an edge case:

Good catch! I've simplified and fixed the issue, and in the process fixed another one that slipped through: the side panel tree wasn't being updated on some occasions.

Updates at arvados-workbench2|f6d52fc8
Test run: developer-tests-workbench2: #416

Actions #9

Updated by Peter Amstutz about 1 year ago

Lucas Di Pentima wrote:

Peter Amstutz wrote:

I found an edge case:

Good catch! I've simplified and fixed the issue, and in the process fixed another one that slipped through: the side panel tree wasn't being updated on some occasions.

Updates at arvados-workbench2|f6d52fc8
Test run: developer-tests-workbench2: #416

This LGTM, thanks!

Actions #10

Updated by Lucas Di Pentima about 1 year ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF