Skip to content
This repository was archived by the owner on Nov 24, 2021. It is now read-only.
This repository was archived by the owner on Nov 24, 2021. It is now read-only.

Invalid Update Crash #123

@beekeweerts

Description

@beekeweerts

Hi @3lvis :) first of all: Thank you for this nice framework.
Its pretty helpful, but I am facing one problem regarding the update of data.

The app is crashing inside: public func controllerDidChangeContent(_ controller: NSFetchedResultsController<NSFetchRequestResult>) { while calling tableView.endUpdates() with this error:
Invalid update: invalid number of rows in section 2. The number of rows contained in an existing section after the update (1) must be equal to the number of rows contained in that section before the update (1), plus or minus the number of rows inserted or deleted from that section (1 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out).

Seems like a duplicate to this issue: #120 but this one is closed cause of a solution within Version 7.4.0. I am using 7.5.0 and still getting this error to 10% of all my users which is pretty bad.
Could u have a look, please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions