Compare commits

...

1 Commits

Author SHA1 Message Date
msjian
15a57d6074 fix(TDQ-20638): fix a replacement error for DQ item (#7840) 2022-08-02 17:14:31 +08:00

View File

@@ -394,7 +394,9 @@ public class ExportItemUtil {
if (StringUtils.isEmpty(proTechnicalLabel)) {
continue;
}
String uppercasePath = "../../" + proTechnicalLabel;
// TDQ-20638 msjian: here replacement consider a case: when referenceProjectName starts with
// mainProjectName
String uppercasePath = "../../" + proTechnicalLabel + "/"; //$NON-NLS-1$ //$NON-NLS-2$
FilesUtils.replaceInFile(uppercasePath, targetPath.toPortableString(), uppercasePath.toLowerCase());
}
}