jmix
jmix copied to clipboard
Get rid of deprecated API
Remove all API that has been deprecated prior 3.0
Hi @glebfox
Please pay attention that some view has
@Autowired
protected MessageBundle messageBundle;
so navigation to those views fails with error:
java.lang.IllegalStateException: messageGroup is not set
at io.jmix.flowui.view.MessageBundle.getMessage(MessageBundle.java:66) ~[jmix-flowui-2.8.999-SNAPSHOT.jar:na]
Looks like following changes should be pointed in ticket on Studio for migration:
@Autowired
protected MessageBundle messageBundle;
should be replaced with:
@ViewComponent
protected MessageBundle messageBundle;
@mig-sam Studio should already provide migration since the @Autovired annotation has been deprecated for MessageBundle.
P.S. views fixed