Different Entity, same field name = error?

Posts   
 
    
rblock avatar
rblock
User
Posts: 71
Joined: 13-Mar-2009
# Posted on: 18-Apr-2012 21:32:32   

Hi,

I got an error message, that the name of an entity field is already user in another Entity. But others too, where I did not get such error message. There is a field named AutoIndex at EACH entity but there I get no error hint.

And of course: Why should the name of an attribute of one class be a problem for another class with the same attribute name? disappointed

It seems to be a bug, so I'll attach a screenshot and the zipped project file.

Tired greetings

Reiner

Attachments
Filename File size Added on Approval
LLBLGen Pro 3.5 Current, Entity field rename error.png 27,029 18-Apr-2012 21:32.49 Approved
3P Personnel Planning.zip 38,978 18-Apr-2012 21:33.17 Approved
Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 19-Apr-2012 10:08:21   

Please read the error message carefully You already have a navigator called "PlanningResponsibility" in the same entity. So If you try to name a field in the same entity with the same name, it will give this error. After all Navigators and Fields are mapped to peoperties in a class.

rblock avatar
rblock
User
Posts: 71
Joined: 13-Mar-2009
# Posted on: 19-Apr-2012 10:25:23   

Hi Walaa,

I found it this morning because I forgot that the trailing '_IX' and '_FK' are stripped off from the name. flushed

So I already changed the name of the navigator element.

Thanks 4 your answer! simple_smile

Thankfull greetings

Reiner