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

Adding property to a class with name containing invalid character #10343

Open
Afler opened this issue Oct 22, 2024 · 2 comments
Open

Adding property to a class with name containing invalid character #10343

Afler opened this issue Oct 22, 2024 · 2 comments
Labels
Milestone

Comments

@Afler
Copy link

Afler commented Oct 22, 2024

OrientDB Version: 3.2.34

Java Version: 17.0.8

OS: Windows 10

Expected behavior

I am trying to add LINKLIST property to a class with property name containing ":" character by Oclass#createProperty(String iPropertyName, OType iType) method

Actual behavior

Got the following exception:
image
And property shown like it's added to a class:
image

Steps to reproduce

SQL command example from StackTrace "create property `security:User`.`security:testLink` LinkList"

@tglman
Copy link
Member

tglman commented Oct 22, 2024

Hi,

Thank you do report this, I think for now we cannot allow the character : in the properties names, but that means it should not either create the property, I will double check that the validation are coherent.

Maybe in future we may allow that.

@tglman tglman added the bug label Oct 22, 2024
@tglman tglman added this to the 3.2.x milestone Oct 22, 2024
@Afler
Copy link
Author

Afler commented Oct 25, 2024

@tglman
Hi, thanks for the response. I hope that it is/would be allowed to use some symbols except letters for property/class names. Is there any information about restricted characters for names?

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

2 participants