Cuba 7 background tasks compatibility

Hi

We are trying to upgrade from 6.10.13 to 7.1 and I don’t see a way to make BackgroundTask working with a legacy Frame.

It is not mentionned in cuba 7 release notes as a required migration, maybe I missed something ?

We have quite some screens using such tasks and at this stage we want to avoid migrating them, to mitigate the risk.

Regards
Michael

Hello @michael.renaud

Just wrap your frame into the following:

UiControllerUtils.getScreen(frame.getFrameOwner())

Regards,
Daniil

thanks @tsarev