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
I created a file containing a single Cypher CREATE statement that includes a property with value containing a hash (#) character. When this file is loaded into the browser using Neo4j Desktop the CREATE statement is truncated, meaning it cannot be executed without throwing an error.
If I cut and paste the statement from the file directly into the browser the statement are copied correctly and the query is executed.
Reproduce Steps
Create a file called test-create-with-hash.cypher and copy it to Neo4j's project directory. File contents:
CREATE (Line_1:Line {lineId: 1, text: "#"})
;
Find the file in the Desktop management tool and select "Open".
File contents are copied into the browser, but the statement is truncated at the hash (#) character.
Expected Behavior
File contents should be copied completely to the browser, and not truncated.
Current Behavior
See above.
Can you propose a solution?
What needs to be done to address this issue? Ideally, provide a pull request with a fix.
Review how Neo4j Desktop parses source files.
Your Environment
software name
version
OS
macOS Catalina 10.15.7
Web browser
node.js
npm
yarn
Neo4j Browser
Version 1.4.15 (1.4.15.85)
Neo4j
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
For enhancements or other issues, please describe in as much detail as possible how the app should be changed and how this would benefit users/developers.
The text was updated successfully, but these errors were encountered:
martinswanson
changed the title
Cypher statements with string literals containing hash (#) are truncated when loading via the browser
Cypher statements with string literals containing hash (#) are truncated when loading to the browser via Neo4j Desktop
Sep 1, 2022
Description
I created a file containing a single Cypher CREATE statement that includes a property with value containing a hash (#) character. When this file is loaded into the browser using Neo4j Desktop the CREATE statement is truncated, meaning it cannot be executed without throwing an error.
If I cut and paste the statement from the file directly into the browser the statement are copied correctly and the query is executed.
Reproduce Steps
test-create-with-hash.cypher
and copy it to Neo4j's project directory. File contents:Expected Behavior
File contents should be copied completely to the browser, and not truncated.
Current Behavior
See above.
Can you propose a solution?
What needs to be done to address this issue? Ideally, provide a pull request with a fix.
Review how Neo4j Desktop parses source files.
Your Environment
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
For enhancements or other issues, please describe in as much detail as possible how the app should be changed and how this would benefit users/developers.
The text was updated successfully, but these errors were encountered: