Import Entity Inspector AppFolder failed: no setter for 'locName'

Hi,

we’ve found the following issue when trying to export & import an AppFolder through the entity inspector.
When trying to do so, at the import the following error occurs:

2016-09-27 11:20:35.414 ERROR [http-nio-8080-exec-13/app/admin] com.haulmont.cuba.gui.app.core.entityinspector.EntityInspectorBrowse - Entities import error
com.haulmont.cuba.core.global.RemoteException: Can't find setter for property 'locName' at class class com.haulmont.cuba.core.entity.AppFolder
 at com.haulmont.cuba.core.sys.ServiceInterceptor.aroundInvoke(ServiceInterceptor.java:83) ~[na:na]

The errors in the following Browser: https://github.com/cuba-platform/cuba/blob/9b2bc1659df9b28afcfe7b1b83c6ad92cb395661/modules/gui/src/com/haulmont/cuba/gui/app/core/entityinspector/EntityInspectorBrowse.java#L403

I think one solution could be to do something like this:

                    
if (!metaProperty.annotatedElement.isAnnotationPresent(com.haulmont.chile.core.annotations.MetaProperty)) {
  entityImportView.addProperty(metaProperty.getName());
}

Because attributes with @MetaProperty Annotation should probably be excluded, right?

Bye,
Mario

Hi Mario,
Yes, you’re right, such properties must be excluded. This will be fixed in the next release. Thanks for finding a bug.

Hi,
the problem is fixed in the platform version 6.3.0.