RE: Document and Media - deleted root folder by mistake.

Joey Wong, modified 6 Years ago. Junior Member Posts: 34 Join Date: 4/4/16 Recent Posts

Liferay version 6.2. GA6+.

I mistakenly deleted a root folder for one of the sub sites.

Is there a way I can reset or sync the cache for this? Here are the screenshots.

Any tips are welcome.

Thanks in advance.

thumbnail
Jorge Díaz, modified 6 Years ago. Liferay Master Posts: 753 Join Date: 1/9/14 Recent Posts
Joey Wong:

Liferay version 6.2. GA6+.

I mistakenly deleted a root folder for one of the sub sites.

Is there a way I can reset or sync the cache for this? Here are the screenshots.

Any tips are welcome.

Thanks in advance.

Hi Joey Wong,

How did you delete the root folder?

  • Using Liferay interface (I think this is not possible)
  • Calling a API?
  • Deleting something from database?

In fact, root folder doesn't exists in "DLFolder" table (Liferay uses folderId=0 identifier) so perhaps you deleted any other related thing.

 

Can you give more information about your deletion operation? (perhaps go to a site that is working fine and explain which buttons or links did you use)

 

Regards,

Jorge Díaz

Joey Wong, modified 6 Years ago. Junior Member Posts: 34 Join Date: 4/4/16 Recent Posts

Via a series of clicks via web app.

Yes it is doubtful but I can't really recall the exact steps to reproduce this.

 

You know of any trick to fix this?