You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error was detected in custom Cypher if you use many SpEL expressions
If there are more than 10 SpEL expressions in Query, all expressions named “$__SpEL__10” and onwards, are replaced with the value “$__SpEL__1”
After calling cypherQuery.replace I get the string $__SpEL__1 = "OPTIONAL"
MATCH (comp: Componentwherecomp.name=~ $__SpEL__0
)
OPTIONALMATCH (comp)<-[ownerOf: OWNER_OF]-(team: Team $__SpEL__2)
$__SpEL__3MATCH (comp)<-[con: `CONTAINS`]-(system: System $__SpEL__4)
$__SpEL__5MATCH (comp)-[u: USES]->(t: Techstack $__SpEL__6)
$__SpEL__7MATCH(comp)<-[to: TARGET_OBJECT]-(cr:CheckResult)-[crOf: RESULT_OF]->(ccr:Check)
WITHcomp,collect(u) asuList, collect(t) astList, collect(con) asconList ,collect(system) assystemList, collect(ownerOf) asownerOfList, collect(team) asteamList,collect(to) astoList, collect(cr) ascrList, collect(crOf) ascrOfList, collect(ccr) asccrList
$__SpEL__8
$__SpEL__9OPTIONAL0// <--- there should be a different value hereRETURNcomp, uList, tList, conList, systemList, ownerOfList, teamList, toList, crList, crOfList, ccrListOPTIONAL1// <--- there should be a different value hereSKIP $skipLIMIT $limit
The text was updated successfully, but these errors were encountered:
Hello, this is my first time writing on github, so I apologize if I'm doing something wrong.
spring-data-neo4j/src/main/java/org/springframework/data/neo4j/repository/query/Neo4jQuerySupport.java
Line 273 in 40466d0
An error was detected in custom Cypher if you use many SpEL expressions
If there are more than 10 SpEL expressions in Query, all expressions named “$__SpEL__10” and onwards, are replaced with the value “$__SpEL__1”
For example, here is my preprepared cypherQuery:
After calling cypherQuery.replace I get the string $__SpEL__1 = "OPTIONAL"
The text was updated successfully, but these errors were encountered: