Using an existing class name but different package for an entity

Hi
I don’t know if it’s known and it should stay as is, but I noted that if I create a new entity in the Studio app that has the same name as another one (obviously they are on different packages), then I cannot choose the other class as its parent.

For example, if I create a class named User in my own package, then I cannot select sys$User as its parent.
Am I missing something?

Thanks,
Paolo

Hi, Paolo.
For now, you can not create an entity with the same name as a parent from Studio. So, to extend sys$User, you should create a new class with the different name, for example, extUser. See the examples here and here. Note that you can localise all entity properties using Studio.

:ticket: See the following issue in our bug tracker:

https://youtrack.cuba-platform.com/issue/STUDIO-3728