Removing a field from Entity and View

Noticed that when I am removing a field from an Entity, the Studio is not removing the same from the view automatically unlike legacy version. View erp$AssetDepreciation/assetDepreciation-view definition error: property journal doesn't exist
 at com.haulmont.cuba.core.sys.AbstractViewRepository.loadView( ~[cuba-global-7.0.5.jar:7.0.5] 
at com.haulmont.cuba.core.sys.AbstractViewRepository.deployView( ~[cuba-global-7.0.5.jar:7.0.5] 
at com.haulmont.cuba.core.sys.AbstractViewRepository.init( ~[cuba-global-7.0.5.jar:7.0.5] 
at com.haulmont.cuba.core.sys.AbstractViewRepository.checkInitialized( ~[cuba-global-7.0.5.jar:7.0.5] 
at com.haulmont.cuba.core.sys.AbstractViewRepository.findView( ~[cuba-global-7.0.5.jar:7.0.5]

Attributes should be removed from the view if they have been removed from the Entity. We have created a YouTrack issue.
For now, you can delete such fields by yourself.

1 Like