Event Handlers are gone

Hi guys,

All the 4 Event Handlers disappeared for no reason.
Obviously, this affects everything in our project.

Can you, please, tell us what’s going on?

Thanks!

Hi Florian,

what is your app id?
What language did you use for event handlers - was it Java, JS, or Codeless?
Have these handlers been deployed to the server?

Stanislaw

Hi @stanislaw.grin,

Thanks for your reply.
App ID: 9A0EE5CB-E73B-38E1-FF67-55D050082500

A freelance made it a few weeks ago and I think she used Java for Event Handlers.
Yes, they have been deployed and everything was working well until this morning.

Ok, we’re looking into it

Do you remember how these handlers were named?

It was probably something that looked like:

  • CampaignTableEventHandler
  • OrganizationTableEventHandler
  • PaymentTableEventHandler
  • PromoTableEventHandler

Could you try to redeploy your business logic?

How should I do? The option is not available.
All the deployed Event Handlers are gone.
The only left is a draft.

Don’t you have this code locally?
If not, then it most likely that you should decompile code from the draft and deploy it again.
Are you sure you didn’t delete handlers accidentally?
Maybe your freelancer has access to your app?
Can you ask him/her to provide you with the code of missed handlers?

For sure, nobody in the team delete the Event Handlers.
One freelancer deployed API Services last days. Is this can be related to the issue?

It seems we have an old version of the code of Event Handlers in Java. Is there a way to upload them?

One freelancer deployed API Services last days. Is this can be related to the issue?

Yes, that could be the reason if freelancers deployed a model without those handlers. Each deployment of the model overrides the existing model. This warning should appear before deployment and needs user confirmation to proceed.
I’m not sure we can help here without the source code of your handlers. Try to contact your freelancers, maybe they still have sources of handlers.

Ok, it’s noted.

=> It seems we have an old version of the code of Event Handlers saved in Java. Is there a way to upload them?

Is there a way to upload them?

You can download it, then decompile using JD-GUI or Intellij IDEA, add decompiled code to your current model and redeploy it