Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotFoundException gets translated to an InvalidDataAccessResourceUsageException instead of to a DataRetrievalFailureException [DATAGRAPH-342] #908

spring-projects-issues opened this issue Mar 12, 2013 · 1 comment
in: core status: declined type: bug


Copy link

@spring-projects-issues spring-projects-issues commented Mar 12, 2013

Florian Bernstein opened DATAGRAPH-342 and commented

When a not existing start node is used for the following query, the occurring NotFoundException should be translated to a DataRetrievalFailureException which indicates that the start doesn't exist. Instead it is translated to an InvalidDataAccessResourceUsageException which seems to be wrong as this would indicate that the query is wrong. I think this is not the case here.

START person = node({0})
 MATCH person -[attributeRel:ATTRIBUTE]-> attribute -[:ATTRIBUTE_CATEGORY]-> category 
 WHERE attributeRel.value! <> 'N' AND attributeRel.value! <> 'NA' 
 RETURN category, COLLECT(attribute), COLLECT(attributeRel) 

Affects: 2.2

Reference URL:!topic/neo4j/i5Bc-N0mFOU

Copy link

@spring-projects-issues spring-projects-issues commented Sep 2, 2017

Nicolas Mervaillie commented

In order to give users a better vision of what’s happening on SDN, we are bulk closing several issues because they are no more relevant, or related to old and un-maintained SDN versions.
We tried to keep the issues that are still relevant, like feature requests that are still absent from SDN. However, some may have been closed by error. If so, please feel free to reopen.

@spring-projects-issues spring-projects-issues added type: bug status: declined in: core labels Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
in: core status: declined type: bug
None yet

No branches or pull requests

1 participant