tdoc.setStore(doc.getStore());
context.put("tdoc", tdoc);
vcontext.put("tdoc", tdoc.newDocument(context));
}
}
<BUG>XWikiDocument tdoc2 = (XWikiDocument) tdoc.clone();
if (content != null && !content.equals("")) {</BUG>
tdoc2.setContent(content);
}
context.put("tdoc", tdoc2);

tdoc.setStore(doc.getStore());
context.put("tdoc", tdoc);
vcontext.put("tdoc", tdoc.newDocument(context));
}
}
XWikiDocument tdoc2 = tdoc.clone();
if (content != null && !content.equals("")) {
tdoc2.setContent(content);
}
context.put("tdoc", tdoc2);
