We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to update a database settings where the new value contains a space fails on the server with the error:
Error on command execution (PostServerCommandHandler): Expected <database> <key> <value>
for example:
wget -qO- --content-on-error http://localhost:2480/api/v1/server --post-data='{"command":"set database setting test `arcadedb.dateTimeFormat` \"yyyy-MM-dd HH:mm:ss.SSS\";"}' --user=root --password=password
while:
wget -qO- --content-on-error http://localhost:2480/api/v1/server --post-data='{"command":"set database setting test `arcadedb.dateTimeFormat` \"yyyy-MM-ddTHH:mm:ss.SSS\";"}' --user=root --password=password
works. Note the space in the new date format. I think the problem lies here: https://github.com/ArcadeData/arcadedb/blob/main/server/src/main/java/com/arcadedb/server/http/handler/PostServerCommandHandler.java#L272 If the date-time format contains a space it is split inside too and thus not matching the required number of elements.
Also, the line https://github.com/ArcadeData/arcadedb/blob/main/studio/src/main/resources/static/js/studio-database.js#L865 can be deleted because a language is not used for server commands.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ArcadeDB Version 25.1.1
Trying to update a database settings where the new value contains a space fails on the server with the error:
for example:
while:
works. Note the space in the new date format.
I think the problem lies here: https://github.com/ArcadeData/arcadedb/blob/main/server/src/main/java/com/arcadedb/server/http/handler/PostServerCommandHandler.java#L272 If the date-time format contains a space it is split inside too and thus not matching the required number of elements.
Also, the line https://github.com/ArcadeData/arcadedb/blob/main/studio/src/main/resources/static/js/studio-database.js#L865 can be deleted because a language is not used for server commands.
The text was updated successfully, but these errors were encountered: