scholrly / neo4django

Drop-in Neo4j/Django integration.
GNU General Public License v3.0
357 stars 83 forks source link

Filter chain failing tests #218

Open tonjo opened 10 years ago

tonjo commented 10 years ago

The test test_filter_chain_contains_istartswith causes an ERROR:

StatusException: Error [400]: Bad Request. Bad request syntax or unsupported method.
Invalid data sent: javax.script.ScriptException: java.lang.NullPointerException

It happens only when chaining a __contains with a __istartswith.

The other 2 are failing tests, chaining filter on a single user model should be equivalent to an "AND" in a select.

tonjo commented 10 years ago

@mhluongo, did you have a look on this one? The simplest filter chaining on a single Model is not working as (I am) expecting.