Skip to content

Wrong metadata name in Spring documentation : 28.3.1.4 Available caching SpEL evaluation context [SPR-8938] #13578

Closed
@spring-projects-issues

Description

@spring-projects-issues

Alexander Derenbach opened SPR-8938 and commented

In table 28.1. in the actual documentation there is a SpEL field #root.params listed. The fields is actualy named args in class CacheExpressionRootObject.

@Cacheable(value="databaseCache",key="{#root.methodName,#root.args}")
public test(Long t1) {
}

will work.


Affects: 3.1 GA

Referenced from: commits e9ab1a7

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)type: taskA general task

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions