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