Skip to content

Y24-279 - [BUG] Fix children_count out of sync issue of ancestry gem  #820

Description

@seenanair

Describe the bug
Some Labwhere locations are showing child count incorrectly.
The original bug is described in tis story Y24-225

As part of the research done on Y24-225, it appears that this is a known issue with the Ancestry gem where children_count is getting out of sync with the actual value.
This issue is raised in the Ancestry repository and the suggested solution is to use rebuild_counter_cache

This fix has already merged (as shown in the CHANGELOG) but has not yet been released. It is expected to be released soon, as mentioned in this comment.

Once the next Ancestry gem release is out, rebuild_counter_cache can be used, which will hopefully fix this issue

Additional context
Original story - #813

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingOn holdOn holdticket: generatedbugs that emerge from users creating request ticketsvalue:2Value to the insitute is low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions