Skip to content

Abnormal function in rename a property when use of Alter property command #8541

@hfereidouni

Description

@hfereidouni

OrientDB Version: 3.0.7

Java Version: 8 u181

OS: macOS 10.13.6

Expected behavior

I have tried to rename a property of a class with this command:
alter property bcd.bcdId name bcd.did
I expected the name attribute has been changed because I didn't get any error with this command and it was ok. Also, I have tried the command below on another class property:
alter property bcc.bccId name cid

Actual behavior

But, the property name attribute just had been changed to NULL and also I couldn't drop the property after this... so, I had to drop the classes, it was ok but very painful.

Steps to reproduce

1- create class bcd extends V
2- create property bcd.bcdId long
3- alter property bcd.bcdId name bcd.did

and

1- create class bcc extends V
2- create property bcc.bccId long
3- alter property bcc.bccId name cid

Hey @saeedtabrizi, do you have any idea about this issue?

Metadata

Metadata

Labels

buglegacy not used anymore

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions