Element processedMetadata;
try {
final String siteURL = context.getBean(SettingManager.class).getSiteURL(context);
processedMetadata = process(id, process, save, _appPath, xslProcessingReport, false, siteURL, request);
if (processedMetadata == null) {
throw new BadParameterEx("Processing failed", "Not found:"
+ xslProcessingReport.getNotFoundMetadataCount() +
", Not owner:" + xslProcessingReport.getNotEditableMetadataCount() +
", No process found:" + xslProcessingReport.getNoProcessFoundCount() + ".");
}
} catch (Exception e) {