I am trying to extend SearchFolder and appFolder for multitenancy.
as per documentation the appFolder is com.haulmont.cuba.security.entity.AppFolder but there is no such entity showing in editor, it is only sys$appFolder.
After extending both the app stops after login giving following error - IllegalStateException - There is no root screen opened.
The ExtSearFolder is extended as -
@DiscriminatorValue("EXT")
@Extends(SearchFolder.class)
@Entity(name = "sheelcompliance_ExtSearchFolder")
public class ExtSearchFolder extends SearchFolder implements HasTenant {
private static final long serialVersionUID = 9140663717602552694L;
@Column(name = "TENANT_ID")
protected String tenantId;
public String getTenantId() {
return tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
}
How to solve this
Regards
Umesh Sharma