community = communityManager.getCommunity(command, -1, false);
if ((command.getOther() != null)
&& (command.getOther().get(0).equals("to"))) {
// verify that the user can edit the requested parent
int parentId = Integer.parseInt(command.getOther().get(1));
if (!workflowManager.canEdit(user, command.getProject(),
command.getCommand(), parentId)) {
errors.add("You don't have permission to add a "
+ "subcommunity to the requested community.");
goToList = true;
} else {