Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

id()/elementId() issues on Neo4j 4.4 #3049

Open
Assignees
Labels
in: coreIssues in core support in: mappingMapping and conversion infrastructure type: regressionA regression from a previous release
@michael-simons

Description

I found several tests that fail on 4.4

  • org.springframework.data.neo4j.integration.issues.IssuesIT#hydrateProjectionReachableViaMultiplePaths
  • org.springframework.data.neo4j.integration.issues.IssuesIT#asdf

There's a class cast exception happening in the template support and I think that should be fixed.

I am assigning you as you wrote both the test and last time touch the element id support in that area.

Some other test use elementId() verbatim during setup. I disabled those on 4.4 and I think they can safely stay that way.

In addition I missed the change to the CypherGenerator in which the elementId function is modified in the templates. This is problematic, as the generator is a singleton. As such, testing will fail if you run for example TemplateExampleTests against Neo4j 4.4 first, and than CypherGeneratorTests, the latter relying on the fact that it has been expressed "Cypher 5" and "can use element id".

Metadata

Metadata

Labels

in: coreIssues in core support in: mappingMapping and conversion infrastructure type: regressionA regression from a previous release

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /