Studio 7 beta 2 messes with @MetaProperty

Hi,

If you define a method based metaproperty like this (valid according to docs):

@MetaProperty
public String getFullName() {
    return name;
}

Then switch to the designer and come back to code, it will be turned into this:

@MetaProperty
protected String fullName;

public String getFullName() {
    return fullName;
}

This is a silly example, but as you see the contents of the original getFullName are lost. If it were a complex method it’d be lost.

You can try with the sample project @subbotin added here (sample70.zip) putting the above code in the bottom of TestEntity.java.

Hi Marc,
Thank you for the report.
Created issue: https://youtrack.cuba-platform.com/issue/STUDIO-5211

Regards,
Konstantin