Skip to content

after upgrading to 0.8.2 Collections are empty in helper method after an insert #2275

Closed
@calculon0

Description

@calculon0

I'm running into weird behavior after upgrading to 0.8.2. After inserting an object into a Collection, a helper method tries to find that object in the Collection and display it in a template.

0.8.1.3 works fine. 0.8.2 has an empty Collection in the helper method.

repo: https://github.com/calculon0/empty-collection-in-helper

Clicking the button will add an object into the Collection and it will get displayed in 0.8.1.3. In 0.8.2 and devel, errors are thrown because the Collection is empty.

I narrowed it down to commit df2820f.

Metadata

Metadata

Assignees

No one assigned

    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