String content = tdoc.updateDocumentSection(sectionNumber, sectionContent);
tdoc.setContent(content);
tdoc.setComment(sectionDoc.getComment());
tdoc.setMinorEdit(sectionDoc.isMinorEdit());
} else {
<BUG>tdoc.readFromForm((EditForm) form, context);
}</BUG>
String username = context.getUser();
tdoc.setAuthor(username);
if (tdoc.isNew()) {

String content = tdoc.updateDocumentSection(sectionNumber, sectionContent);
tdoc.setContent(content);
tdoc.setComment(sectionDoc.getComment());
tdoc.setMinorEdit(sectionDoc.isMinorEdit());
} else {
tdoc.readFromForm(form, context);
}
String username = context.getUser();
tdoc.setAuthor(username);
if (tdoc.isNew()) {
