Merge pull request #805 from rcordovano/artifact_type_in_attr_table

Fix bug in case name code in XMLCaseManagement
This commit is contained in:
Richard Cordovano 2014-07-03 13:55:50 -04:00
commit 88af810765

View File

@ -659,7 +659,7 @@ import org.xml.sax.SAXException;
// set the case Directory and Name
setCaseDirPath(file.getParent());
String fullFileName = file.getName();
String fileName = fullFileName.substring(0, fullFileName.indexOf(".")); // remove the extension
String fileName = fullFileName.substring(0, fullFileName.lastIndexOf(".")); // remove the extension
setName(fileName);
}
}