Skip to content

setSites is never called? #855

Open
Open
@rpayanm

Description

@rpayanm

Package containing the bug

next (Drupal module)

Describe the bug

I had a question about caching:
#848

And I was debugging the code, and the sites variable is empty here:

https://git.drupalcode.org/project/next/-/blob/2.x/src/Plugin/Next/Revalidator/CacheTag.php?ref_type=heads#L53

It is later used here to invalidate the cache:

https://git.drupalcode.org/project/next/-/blob/2.x/src/Plugin/Next/Revalidator/CacheTag.php?ref_type=heads#L68

I created a new field in my article content type to assign the my_app site, but it did not work. I could not find where the setSites function is called:

https://git.drupalcode.org/project/next/-/blob/2.x/src/Event/EntityActionEvent.php?ref_type=heads#L112

Is this a a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageA new issue that needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions