Map @EnableRestore entity annotation in Studio

Hi
Small suggestion : in Studio, have a checkbox in entity editor to activate or not the @EnableRestore annotation. Currently, the only way is to set it in the IDE. I would see it as a first class option in Studio along “versioned” and “soft delete”.
Michael

Hi Michael,
You are right, now it is not obvious how to enable restore for an entity.
Perhaps we should even make all SoftDelete entities available for restore by default, and use @EnableRestore(false) for disabling it.
Thanks for the hint.

1 Like

That would make sense indeed, as SoftDelete without data recovery seems of little sense functionnaly. In fact I discovered the @EnableRestore annotation after having myself trying to restore a soft deleted entity without success.

1 Like

In platform 6.4+ all soft deleted entities will be available for restore by default (see PL-7486). The opposite need is very rare, so we decided not to add the option to Studio.

:ticket: See the following issue in our bug tracker:

https://youtrack.cuba-platform.com/issue/STUDIO-2191