Detached entities in composition-association problem

Hello,

I have tree entities project.

House one-to-one composition to Address
Address many-to-on association to Street

On every entity I have instance name defined.

When generate screen to support CRUD operation in browse mode for House I got detached entity description and also in edit screen.

In a zip file attached a sample project.

How can I eliminate this behavior? This is a bug or something must be configured.
Picutre2
Picture1
test01.zip (164.8 KB)

Hi,
In the Address entity you have this code:

    @InstanceName
    @DependsOnProperties({"code", "street"})
    public String getInstanceName () {
        return String.format("%s %s", code, street);
    }

Passing street to the String.format leads to the instance name looking like on your screenshots.
Instead of passing “street”, use e.g. street.getInstanceName().