[
https://issues.apache.org/jira/browse/IGNITE-12799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17061959#comment-17061959
]
Sergey Chernolyas commented on IGNITE-12799:
--------------------------------------------
Hi [~slava.koptilin]!
Class org.springframework.context.expression.StandardBeanExpressionResolver
thinks that SpEL is between "#\{" and "}". It doesn't recognize SpEL in all
other strings. It was my error. Also, you can look at
[https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/expression/StandardBeanExpressionResolver.html]
I have appended test method which checks cache names. Test method
[https://github.com/apache/ignite/blob/2e5df6d42536c53421f18cd68c4befe0939f26ac/modules/spring-data-2.0/src/test/java/org/apache/ignite/springdata/IgniteSpringDataCrudSelfExpressionTest.java#L116]
checks that SpEL have been processed.
> Set right SpEL at Spring Data tests
> -----------------------------------
>
> Key: IGNITE-12799
> URL: https://issues.apache.org/jira/browse/IGNITE-12799
> Project: Ignite
> Issue Type: Bug
> Components: spring
> Affects Versions: 2.8.1
> Reporter: Sergey Chernolyas
> Assignee: Sergey Chernolyas
> Priority: Trivial
> Fix For: 2.8.1
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> PersonExpressionRepository uses SpEL "@cacheNames.personCacheName". It is
> wrong. SpEL "#\{cacheNames.personCacheName}" must be used.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)