mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Big hunk of merge.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3265 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -218,9 +218,9 @@ public class ExporterActionExecuter extends ActionExecuterAbstractBase
|
||||
String packageName = (String)ruleAction.getParameterValue(PARAM_PACKAGE_NAME);
|
||||
|
||||
// add the default Alfresco content package extension if an extension hasn't been given
|
||||
if (packageName.indexOf(".") == -1)
|
||||
if (!packageName.endsWith("." + ACPExportPackageHandler.ACP_EXTENSION))
|
||||
{
|
||||
packageName = packageName + "." + ACPExportPackageHandler.ACP_EXTENSION;
|
||||
packageName += (packageName.charAt(packageName.length() -1) == '.') ? ACPExportPackageHandler.ACP_EXTENSION : "." + ACPExportPackageHandler.ACP_EXTENSION;
|
||||
}
|
||||
|
||||
// set the name for the new node
|
||||
|
Reference in New Issue
Block a user