-
Notifications
You must be signed in to change notification settings - Fork 872
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
impossibility to delete a property #3232
Comments
Same problem here. although it looks like Studio problem, why is that possible anyway? Another problem we have, partly related to this one - is a possibility to put non Latin symbol to the class name. |
there is nearly the same problem in DB version 2.1.0I can't delete or rename property which has white space in name
|
Have you tried with back tick (`)? Example:
|
I tried to put different signs in different places but always was getting mistakeorientdb {db=test}> alter property test.'hello mistake' name renemeMistake Error: com.orientechnologies.orient.core.exception.OCommandExecutionException: Property 'test.'hello mistake'' not exists orientdb {db=test}> alter property 'test.hello mistake' name renemeMistake Error: com.orientechnologies.orient.core.exception.OCommandExecutionException: Source class ''test' not found orientdb {db=test}> alter property test.'hello mistake' name renemeMistake Error: com.orientechnologies.orient.core.exception.OCommandExecutionException: Property 'test.'hello mistake'' not exists orientdb {db=test}> alter property test. Error: com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #26: Unknown property attribute 'MIS Error: java.lang.IllegalArgumentException: No enum constant com.orientechnologies.orient.core.metadata.schema.OProperty.ATTRIBUTES.MISTAKE` orientdb {db=test}> alter property Error: com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #26: Unknown property attribute 'MIS Error: java.lang.IllegalArgumentException: No enum constant com.orientechnologies.orient.core.metadata.schema.OProperty.ATTRIBUTES.MISTAKE` orientdb {db=test}> alter property "test.hello mistake" name renemeMistake Error: com.orientechnologies.orient.core.exception.OCommandExecutionException: Source class '"test' not found orientdb {db=test}> alter property 'test.hello mistake name' renemeMistake Error: com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #41: Unknown property attribute 'REN Error: java.lang.IllegalArgumentException: No enum constant com.orientechnologies.orient.core.metadata.schema.OProperty.ATTRIBUTES.RENEMEMISTAKE orientdb {db=test}> alter property "test.hello mistake" name renemeMistake Error: com.orientechnologies.orient.core.exception.OCommandExecutionException: Source class '"test' not found orientdb {db=test}> alter property test."hello mistake" name renemeMistake Error: com.orientechnologies.orient.core.exception.OCommandExecutionException: Property 'test."hello mistake"' not exists |
Fixed in develop branch (2.2.1) Closing, please reopen if you still see any incorrect behaviors here Thanks Luigi |
after peforming the incorrect request to the data base through the studio, a property named "= sec" has developed
Now it's impossible to delete is,due to the constant indication of mistake
com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #20: Expected .. Use DROP PROPERTY . Command: DROP PROPERTY xDirs.= sec ----------------------------^
The text was updated successfully, but these errors were encountered: