cancel
Showing results for 
Search instead for 
Did you mean: 

Impossible to restore documents, but only folders.

jour_
Champ in-the-making
Champ in-the-making

Hi,

When I want to restore a deleted folder, only folders are restored : documents stay in the trash of their folder.

I want them to be restored at the good state (I mean the state they had before I deleted them)not in the "project" state.

Can someone help me?

My version is 5.6

5 REPLIES 5

Florent_Guillau
World-Class Innovator
World-Class Innovator

Do your documents have a custom lifecycle? Undeleting a document just follows the undelete transition, from the deleted state they are in when deleted., so you must have that in your custom lifecycle (and incidentally it means that the original state is lost).

Yes, they have.

I tried this

I was wrong

You would have to save the state at deletion time, and restore it at undelete time. This requires modification of the lifecycle state change listener.