Fixed AR-451: Display both current version of repo and installed version of repo

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2485 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-02-23 16:40:53 +00:00
parent 75fe6196f4
commit d7a8ab1065
10 changed files with 167 additions and 42 deletions

View File

@@ -169,7 +169,7 @@ public class PatchServiceImpl implements PatchService
String report = null;
boolean success = false;
// first check whether the patch is relevant to the repo
Descriptor repoDescriptor = descriptorService.getRepositoryDescriptor();
Descriptor repoDescriptor = descriptorService.getInstalledRepositoryDescriptor();
boolean applies = applies(repoDescriptor, patch);
if (!applies)
{