Skip to content

Set icon, Set as space image and Edit description fail silently when a request fails #4194

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Set icon, Set as space image and Edit description show no error when a request they need fails. In useSpaceActionsSetIcon.ts some calls run before the try/catch, and the image and description actions have no error handling at all.

Reproduction Steps

  1. As a space manager, open a project space with an image
  2. Make the PROPFIND of the space root fail (500), then Customize > Set icon and pick an emoji
  3. Make the GET of the image fail, then right-click it > Set as space image
  4. Make the PROPFIND of .space/readme.md fail, then right-click the space > Customize > Edit description

Expected Outcome

An error toast for each action, and the emoji dialog doesn't stay stuck.

Actual Outcome

Set icon: the emoji dialog stays open without any feedback. Set as space image and Edit description: nothing happens, only a console error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions