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

ParameterMissing error when try to set empty array to any property #339

Open
iyhunko opened this issue Apr 6, 2020 · 6 comments
Open

ParameterMissing error when try to set empty array to any property #339

iyhunko opened this issue Apr 6, 2020 · 6 comments
Labels

Comments

@iyhunko
Copy link
Contributor

iyhunko commented Apr 6, 2020

in Connection.php
in public function prepareBindings(array $bindings)
$bindings with empty array values will be missing in $prepared, thus we will have ParameterMissing exception.

@iyhunko
Copy link
Contributor Author

iyhunko commented Apr 6, 2020

Example:

if we try to do this update:

"MATCH (external_socialdata_datasource:`External`:`SocialData`:`DataSource`) WHERE external_socialdata_datasource.uuid = {uuid} SET external_socialdata_datasource.phones = {phones_update}, external_socialdata_datasource.updated_at = {updated_at_update} RETURN count(external_socialdata_datasource), external_socialdata_datasource"
array:3 [
  "uuid" => "a8bf564e-4aaa-4c7a-974f-771a4d284eda"
  "phones_update" => []
  "updated_at_update" => "2020-04-06 11:16:57"
]

we will get this error:

GraphAware\Bolt\Exception\MessageFailureException {#1062
  #statusCode: "Neo.ClientError.Statement.ParameterMissing"
  #message: "Expected parameter(s): phones_update"

@Mulkave Mulkave added the Bug label Jul 8, 2020
@stale
Copy link

stale bot commented Jan 4, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Wontfix label Jan 4, 2021
@stale stale bot closed this as completed Jan 18, 2021
@IlliaBalia IlliaBalia reopened this Feb 15, 2021
@Mulkave Mulkave removed the Wontfix label Feb 15, 2021
@stale
Copy link

stale bot commented Aug 14, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Wontfix label Aug 14, 2021
@Mulkave Mulkave removed the Wontfix label Nov 24, 2021
@vaix-dungpx
Copy link

Hello, i connect to Neo4j Aura Db that uri is neo4j+s://6397445c.databases.neo4j.io and not working

@engsamar
Copy link

engsamar commented Mar 1, 2024

@vaix-dungpx did you solve your connection error with Aura Db ?

@vaix-dungpx
Copy link

@vaix-dungpx did you solve your connection error with Aura Db ?

Thanh you, it's done. I tested it and it's working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants