Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/service/ExportToolContentService.java =================================================================== RCS file: /usr/local/cvsroot/lams_common/src/java/org/lamsfoundation/lams/learningdesign/service/ExportToolContentService.java,v diff -u -r1.121.2.4 -r1.121.2.5 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/service/ExportToolContentService.java 16 Dec 2014 15:20:33 -0000 1.121.2.4 +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/service/ExportToolContentService.java 19 Jan 2015 14:03:23 -0000 1.121.2.5 @@ -652,6 +652,9 @@ File svgFile = new File(svgPath); if (svgFile.canRead()) { FileUtils.copyFile(svgFile, new File(destinationPath)); + // remove the file as its icons refer to LAMS Community server instead of local resources + // and should not be used in Monitoring + svgFile.delete(); } destinationPath = FileUtil.getFullPath(contentDir, ExportToolContentService.PNG_IMAGE_FILE_NAME); Index: lams_common/src/java/org/lamsfoundation/lams/learningdesign/service/LearningDesignService.java =================================================================== RCS file: /usr/local/cvsroot/lams_common/src/java/org/lamsfoundation/lams/learningdesign/service/LearningDesignService.java,v diff -u -r1.32.2.1 -r1.32.2.2 --- lams_common/src/java/org/lamsfoundation/lams/learningdesign/service/LearningDesignService.java 26 Nov 2014 22:02:10 -0000 1.32.2.1 +++ lams_common/src/java/org/lamsfoundation/lams/learningdesign/service/LearningDesignService.java 19 Jan 2015 14:03:23 -0000 1.32.2.2 @@ -389,9 +389,11 @@ } String fileExtension; - if ((imageFormat == SVGGenerator.OUTPUT_FORMAT_SVG) - || (imageFormat == SVGGenerator.OUTPUT_FORMAT_SVG_LAMS_COMMUNITY)) { + if (imageFormat == SVGGenerator.OUTPUT_FORMAT_SVG) { fileExtension = ".svg"; + } else if (imageFormat == SVGGenerator.OUTPUT_FORMAT_SVG_LAMS_COMMUNITY){ + // mark it as a special version of SVG as it contains icons that refer to LAMS Community server + fileExtension = ".export.svg"; } else { fileExtension = ".png"; }