We have an ACL script that writes a back up copy ofthe XMLfile to a temp directory located on the users C: Drive. If the user is working with a file that has a space in the filename the following error message occurs within the Arbortext Debug window:
ERROR:
[A11342] Modifier conflicts with previously specified one:
save
Function traceback at time of error:
#1 newSave() at "\\joes\custom\scripts\newSave.acl":36
Can anyone help me figure out why this is happening??
Here is the newSave.acl script:
function newSave()
{
$newLoc="c:\\_epictemp\\"
if (access($newLoc,"e"))
{}
else
{
mkdir c:\_epictemp
}
$oldLoc=$filename
$newLoc="c:\\_epictemp\\" . $docname
#save the file into a new location for safe keeping
if (access($newLoc, "e"))
{
remove_file $newLoc
save_as $newLoc
}
else
{
save_as $newLoc
}
if (access($oldLoc, "e"))
{
#if the original file is accessible then remove
#the old one so that save_as will not prompt to overwrite
remove_file "$oldLoc"
#save the updated file
save_as "$oldLoc"
#delete the one at the new locations
#remove_file $newLoc
}
else
{
save_as "$oldLoc"
}
}
Sarah Copley