After creating a new Entity, the entity was not visible via the Entity Inspector.
Adding the Entity Browse screen in the menu presented me with a NoSuchScreenException.
Downgrading the platform to 6.10.3 resolved the issue, everything worked again as usual.
Hi,
Could you please share a small project in order to help us investigate the problem. Also, more detailed information about your entity will be helpful
The Entity is rather straightforward as you can see below, just one field, no association.
I created another TestEntity to test if there was a problem with this entity, But the problem with the Test Entity was exactly the same. The problems that I faced:
The entity did not appear in the Entity Inspector
Adding the Browse screen to the menu was not possible with a NoSuchScreen exception.
After downgrading to 6.10.3, everything worked immediately. So I expect an issue with 6.10.4
package com.company.idm.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.haulmont.chile.core.annotations.NamePattern;
import com.haulmont.cuba.core.entity.StandardEntity;
@NamePattern("%s|description")
@Table(name = "IDM_CSS_OVERRIDE_FILE")
@Entity(name = "idm$CssOverrideFile")
public class CssOverrideFile extends StandardEntity {
private static final long serialVersionUID = 2202505925157658612L;
@Column(name = "FILE_NAME")
protected String fileName;
public void setFileName(String fileName) {
this.fileName = fileName;
}
public String getFileName() {
return fileName;
}
}
I didn’t run your code but there is one thing I see in your entity class.
You reference an attribute ‘description’ in your NamePattern definition which not exists in your class:
I guess this creates an error when creating an instance of this class…
Do you use Studio to create the datamodel entity? This should prevent you do this.