Skip to content

blocks without content showing error while rendering #12

@abhisheksarmah

Description

@abhisheksarmah

when a hero block is created under a page but it does not contain any data and we updated it in block order, then an error was thrown while trying previewing.

Error page displayed - flare public error sharing

Some suggestions to deal with the scenario,

  • We shall be restricting the user to update block order if the content for the block is not available.
  • When we uncheck all blocks in the Order Blocks section, the page shall be updated with no blocks.
  • Instead, we could restrict the preview if blocks have no contents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions