Fix bug in package loader - allow loading version with later patch if old version is missing

This commit is contained in:
Grahame Grieve 2020-12-01 14:51:19 +11:00
parent 2d8ac6f377
commit 1e16f02b48
1 changed files with 5 additions and 0 deletions

View File

@ -221,6 +221,11 @@ public class FilesystemPackageCacheManager extends BasePackageCacheManager imple
return retVal; return retVal;
} }
retVal = super.loadFromPackageServer(id, VersionUtilities.getMajMin(version)+".x");
if (retVal != null) {
return retVal;
}
// ok, well, we'll try the old way // ok, well, we'll try the old way
return fetchTheOldWay(id, version); return fetchTheOldWay(id, version);
} }