Hi,I want to restore the version programmatically, so went through the
PageManager API and found restore method.PageManager pageManager =
resourceResolver.adaptTo(PageManager.class);Collection
revisions = pageManager.getRevisions(currentPage.getPath(), null);
for(Revision r :revisions){ currentId=r.getId(); break; } try{
pageManager.restore(currentPage.getPath(), currentId); }catch(Exception
e) The above code snippet restoring the version and crash my page too.
Please help me to proceedIt shows ...