onDisplayAssignment error

I’ve not been doing active development for a while now, but for an app I made back in January or so have had several things stopped working. It seems to be related to a change in Backendless components or something similar, related to a Simple Modal. I see that they have a warning connected to the onDisplayAssignment handler, which I don’t think was there before, saying:

The component does not contain the handler, migrate the codeless logic to a new handler and remove the handler

So I clearly need to do some migrating, but I am not sure what to do or why. Any help/info articles that can point me in the right direction?

Hi @Egil_Helland ,
could you provide the AppId and container name in which the error occurs?

Regards,
Sergey

I found out what was going on: The component had been upgraded, so that there were specific UI Library functions for opening and closing the modal. I removed the onDisplayAssignment handler and started using these functions instead, and then things got back into shape! :slight_smile:

1 Like