Skip to content

ParentResourceValueMapValueInjector should also check property on the current resource #3593

@ankur-rajput

Description

@ankur-rajput

AEM Version - Applicable to all
Exist in the latest - Yes

ParentResourceValueMapValueInjector should work like the com.day.cq.commons.inherit.ComponentInheritanceValueMap. When we get any inherited property, it is supposed to be checked on the current resource first. And only if the property doesn't exist on the current resource, it should be checked on the parent, and so on.

Expected Behavior

The current resource property should be checked first.

Actual Behavior

The current resource property is ignored.

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