age-viewer
age-viewer copied to clipboard
Error while creating graph
Bug Description I was trying to create a graph using Apache AGE viewer but I am getting this error:
An error occurred
Error Code: undefined
Error Details: TypeError: Cannot read properties of undefined (reading 'map')
When I checked the logs I got this:
info: ::ffff:127.0.0.1 - - [06/Mar/2023:16:04:24 +0000] "POST /api/v1/cypher/init HTTP/1.1" 500 76
{"timestamp":"2023-03-06 21:34:24"}
Reproduction Steps Steps to reproduce the behavior:
- Run
Age-viewer
and log in. - Click on
Create Graph
and type a name and then pressDone
- See error
Expected behavior It should create a graph.
Desktop:
- OS: WSL2 with Ubuntu 20.04.2 LTS
- Browser Chrome
- Version 110.0.5481.178
Additional context
The user is the Superuser
and one can create graph database by writing query by oneself.
It looks like this is caused by the backend trying handle some non-existent files. I can work on a fix. Thank you for your submission.
I faced the same issue but I believe they mentioned in the tips you have to upload a CVS file.id when doing so.. the error is gone. while it is not convenient to create a button that do only creat non empty graph