Skip to content

Reading from no data error #1660

Open
Open
@guizombas

Description

@guizombas

Critical Error: When you are in the last page of the table with only one data and delete it using an API Request, the body wont find any data, but will try to read it anyways, throwing a error that isnt treated. When it happens, everything in the screen disapper. This error occurs in some other isolated cases too.

To Reproduce
Steps to reproduce the behavior:

  1. Using the toolkit provider and the pagination provider
  2. Create enough registers to fill one page of the table
  3. Create one more, go to the second page and then delete it
  4. See error

Screenshots
image
my table component

errorTable
Error print

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions