HI ,
I am creating multiple pages from templates of another space . Once the page tree is created in current space when I am trying to edit any of the pages from page tree I am getting navigated to empty page .Any idea why I am getting this issue or any fix needed for this .
Page pageRetro = new Page();
pageRetro.setTitle(wikiManager.getPageTemplate("Retrospectives").getTitle());
String templateRetro = wikiManager.getPageTemplate("Retrospectives").getContent();
pageRetro.setBodyAsString(templateRetro);
wikiManager.addPage(pageRetro, pageTW, space.getKey());
pageManager.saveContentEntity(TWHomePage, null);
Above is the sample code of how i am creating pages from template. I am using confluence 7.4.6 version .