Skip to content

Using YapDatabaseViewMappings with fixed range #89

@ERussel

Description

@ERussel

I think i found a bug when used YapDatabaseViewMappings with fixed range. When i received notification about changes my app just freeze. I found out that the problem in method + (void)postProcessAndFilterRowChanges:(NSMutableArray *)rowChanges
withOriginalMappings:(YapDatabaseViewMappings *)originalMappings
finalMappings:(YapDatabaseViewMappings *)finalMappings.

It has cycle by groups and inner cycle where range applies to changes, but when group from outside cycle is not equal to first group in rowChanges array then we get infinite loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions