if (bundle.getBundleId() == 0) {
model.put(Variables.SYSTEM_PACKAGE_COUNT, getSystemPackages().size());
}
model.put(Variables.BUNDLE, new TemplateBundle(bundle));
} else {
return new ErrorResolution(HttpServletResponse.SC_NOT_FOUND);
}
return new TemplateResolution(model);
}