"No @ViewController annotation for class" error when navigate to extend view

Hello,

I have an action on a custom button navigate to an extend view:

@Subscribe(“gdBlacklistsDataGrid.importAction”)
public void onGdBlacklistsDataGridImportAction(final ActionPerformedEvent event) {
viewNavigators.view(ExtImportgdblacklist.class).withBackwardNavigation(true)
.navigate();
}
When I click the button, an error occurs:
image
And here is my code:
ExtImportgdblacklist.java (13.3 KB)
Importexcelmodule.java (18.1 KB)

In Jmix 2.1.2

Thank you!

Hi,

Unfortunately, I can’t reproduce the issue. Could you please attach a demo project that reproduces the problem?

Regards,
Gleb

Hi,

I found the problem and resolved it. Caused by @Transaction annotation.

Thanks for support!