Skip to content
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

Cannot create Class from Studio in 2.1-RC3 #4315

Closed
alexpmorris opened this issue Jun 6, 2015 · 3 comments
Closed

Cannot create Class from Studio in 2.1-RC3 #4315

alexpmorris opened this issue Jun 6, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@alexpmorris
Copy link

If I try and create a new class from the console (ie. create MyClass), it works fine.

If I try creating a new class from the Studio's Schema Page, it forces me to pick a SuperClass even if I don't want to set one, with the error:

com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #28: Syntax error after EXTENDS for class MyClass. Expected the super-class name. Use CREATE CLASS [EXTENDS [,] ] [CLUSTER ] [ABSTRACT] Command: CREATE CLASS MyClass extends ------------------------------------^

I tried checking the Abstract box as well, and it didn't make a difference.

@madobati
Copy link

madobati commented Jun 7, 2015

I think it's a bug of "Studio Schema". I received the same error with same operation.
Super class should be optional in the create class command but if your class isn't child of another class, you can extend it (in the step of creation) with super default class "E" (Edge), "V" (Vertex) ..
ps. You can change the superclass after the creation step with:
alter class XXXXX superclass XXXXX.

@lvca lvca added the bug label Jun 12, 2015
@lvca lvca added this to the 2.1 GA milestone Jun 12, 2015
@wolf4ood
Copy link
Member

wolf4ood commented Jul 6, 2015

@alexpmorris
Can you retry with 2.1-rc5?

@alexpmorris
Copy link
Author

Yes, I believe this issue is resolved!

@lvca lvca modified the milestones: 2.1 GA, 2.1-rc6 Jul 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants