Skip to content

Feature: Create rule to enforce that adaptable is not stored inside model #234

@kwin

Description

@kwin

According to https://sling.apache.org/documentation/bundles/models.html#a-note-about-cache-true-and-using-the-self-injector the adaptable should not be stored in the model when cache=true is used, as this might exhaust the memory easily.
A rule to enforce that the adaptable is not stored in a field when the adaptable has cache=true should be added to prevent this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureruleNew rule or modification of existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions