Fix [2845178] - PackIn data failing if ran second time and first failed
https://sourceforge.net/tracker/?func=detail&aid=2845178&group_id=176962&atid=879332
This commit is contained in:
parent
9441393a77
commit
f9a8309e2f
|
@ -398,4 +398,9 @@ public class IDFinder {
|
|||
|
||||
return id;
|
||||
}
|
||||
|
||||
public static void clearIDCache() {
|
||||
idCache.clear();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -156,6 +156,9 @@ public class PackIn extends SvrProcess {
|
|||
X_AD_Package_Imp_Proc adPackageImp = new X_AD_Package_Imp_Proc(getCtx(),
|
||||
p_PackIn_ID, null);
|
||||
|
||||
// clear cache of previous runs
|
||||
IDFinder.clearIDCache();
|
||||
|
||||
// Create Target directory if required
|
||||
String packageDirectory = adPackageImp.getAD_Package_Dir();
|
||||
if (packageDirectory == null || packageDirectory.trim().length() == 0) {
|
||||
|
|
Loading…
Reference in New Issue