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

problem with the renaming of class #3791

Closed
habi4ek opened this issue Mar 23, 2015 · 1 comment
Closed

problem with the renaming of class #3791

habi4ek opened this issue Mar 23, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@habi4ek
Copy link

habi4ek commented Mar 23, 2015

I have class "testClass"

create class testClass
Class created successfully. Total classes in database now: 24

if you do a bad request

ALTER CLASS testClass NAME = 'rename_class'
Class updated successfully

class name is "= 'rename_class'"
then the class can not be deleted or renamed

ALTER CLASS = 'rename_class' NAME goodName
Error: com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #22: Unknown class's attribute '' NAME goodName'. Supported attributes are: [NAME, SHO
RTNAME, SUPERCLASS, OVERSIZE, STRICTMODE, ADDCLUSTER, REMOVECLUSTER, CUSTOM, ABSTRACT, CLUSTERSELECTION]
Command: alter CLASS = 'rename_class' NAME goodName
------------------------------^

DROP CLASS = 'rename_class'
Removed class in 0,045000 sec(s).

but

classes
----------------------------------------------+----------------------
-------------+
NAME | SUPERCLASS
CORDS |
----------------------------------------------+----------------------
-------------+
= 'rename_class' |
0 |
_studio |
0 |

@lvca lvca added this to the 2.0.6 milestone Mar 25, 2015
@tglman tglman added the bug label Mar 26, 2015
@tglman tglman modified the milestones: 2.1, 2.0.6 Mar 26, 2015
@tglman tglman assigned luigidellaquila and unassigned tglman Mar 26, 2015
@lvca lvca modified the milestones: 2.1-rc1, 2.1-rc2 Apr 1, 2015
@lvca lvca removed the bug label Apr 8, 2015
@lvca lvca modified the milestones: 2.1-rc2, 2.1 GA May 5, 2015
@lvca lvca assigned tglman and unassigned luigidellaquila Jul 3, 2015
@lvca lvca added the bug label Jul 3, 2015
@tglman
Copy link
Member

tglman commented Jul 6, 2015

fixed closing

@tglman tglman closed this as completed Jul 6, 2015
@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