Skip to content

Unable to create a new DB under Windows #371

@corradomio

Description

@corradomio

ArcadeDB Version: 22.2.1

JDK Version: 11

OS: Windows 10

Expected behavior

to create a new database with name "test" using the web interface

Actual behavior

Exception: unable to create the db because its name ("../databases/test") contains invalid characters

Steps to reproduce

The error is located in "EmbeddedDatabase" line 154.
The code suppose that the path is written using the platform's path separator ("File.separator") BUT this is not necessary true.
In this case, the path is "../databases/test" in Linux-like format, BUT in Windows the path separator is "\".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions