mattermost-community / focalboard

Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
https://www.focalboard.com
Other
21.87k stars 1.97k forks source link

Bug: Cards disappear after deleting last Select property #3082

Open chenilim opened 2 years ago

chenilim commented 2 years ago

Steps to reproduce the behavior

  1. Create a board (e.g. from the Personal Tasks template)
  2. Open a card, and delete all the Select properties
  3. The board goes blank

Expected behavior

The board should show the cards, under an empty group column.

Edition and Platform

Additional context (optional)

The error in the console is "ASSERT [Board views must have groupByProperty set]".

Note that other views (table, calendar, gallery) continue to work, but it's not obvious to the user how to fix this state - they see all the cards disappear.

chenilim commented 2 years ago

Let's write a mini spec on the expected behavior for board views without a select property to group by.

rthomas67 commented 10 months ago

I encountered this in a different way.

IMO, this is just a side effect of the board-view requirement for at least one "select" property to allow "group by" something.

A few other ways to resolve this might be:

Since (according to the OP) there is a related "ASSERT" console message, it appears to be a detectable circumstance in the code, but that should be revealed more obviously in the UI instead of requiring a user to review back-end output messages and guess about what's wrong.

Departing commented 1 month ago

I just experienced this problem after deleting a property on a card. All of my cards disappeared. How do I fix it? I tried changing views, refreshing, closing out the application.

rthomas67 commented 1 month ago

I just experienced this problem after deleting a property on a card. All of my cards disappeared. How do I fix it? I tried changing views, refreshing, closing out the application.