Server logic disappeared completely

Hi team,

I cannot tell what happened, but my well functioning server code disappeared. The function is still there but today it is empty.

My AppID is #66C2DBD4-189A-7377-FF95-915D98235700
and the service in question is “calculateFairValueByIsinOrTicker”

Could you please check whether you find a trace of this code.

Thank you.
Regards, Joerg

Hi Joerg,

Have you checked in Changelog ?

Regards,
Mark

Hi Mark,

yes, I did. No history available.

Regards, Joerg

Browser’s local storage must have been cleared, that’s where the changelog is stored. Here’s what I see:

  1. The getListings model (which contains the service that is missing now ) has been deployed multiple times on 03/23/25:

  2. The internal service file is there, it was modified last time on 03/22/25. The file’s name includes _deprecated:

  3. A new (now blank) service with the name of “calculateFairValueByIsinOrTicker was created on 03/23/25 (see the screenshot above).

Does this timeline make any sense to you?

Regards,
Mark

The timeline makes sense to me. On 03/22/2025 I renamed the old service to _deprecated and created a new one with the name from scratch. I deployed it quite often on 03/23/2025 because I changed and tested in real life.

It worked well and I did not make major changes anymore since then.
But today I realized that when I invoke the service that no result will be produced. So, I checked the source code and realized that it was gone.

What has happened?

Regards, Joerg

To be honest, I am not sure what happened. We can two things:

  1. Restore the logic from the _deprecated service

or

  1. Check if there is an updated (new) service in our backups from 03/25/25

Option (1) is easier to do.

Regards,
Mark

The _deprecated service is still there, it was just a renaming. I have the source code. But, this code is not worth it. :slight_smile:

Option (2) sounds more promising to me. Does that mean any extra cost to me?

Regards, Joerg

No, there would be no extra cost for this

Ok, then Option (2) would be my choice.

Thank you for that in advance.

Regards, Joerg

Added: How can one delete source code on the server? The only way I can do it, is deploying an empty service. Or are there other ways this can happen by accident?

I guess it was a mistaken deployment on your side. From our side, there have been no similar accidents, and this part of our product is extremely stable.

Could you please check if there is a back-up available as suggested by Mark?

Regards, Joerg

Sure, we will let know when check

Hi Joerg,

We restored calculateFairValueByIsinOrTicker to the state it was on March 23rd from our backup. We have not deployed the logic, it is available in the “draft” state, which is what the Codeless editor will show. Before you deploy it, make sure to make any kind of change in the Codeless logic to trigger code regeneration.

Regards,
Mark

Thank you a lot. It looks good and I make some changes to trigger the code regeneration.

Regards, Joerg

1 Like