mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

lutoff
12.48.2008 5d33827ca1985a58ebe62deaf4229873d7dbfb52
Fix for issue #3582 (Revert fails with "no valid existing backup locations")

To check that a revert directory is a really a reversion file directory, we're now based on the "installation" object

1 files modified
4 ■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/upgrader/Reverter.java 4 ●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/Reverter.java
@@ -766,9 +766,7 @@
      Set<String> cs = new HashSet<String>(Arrays.asList(children));
      // TODO:  more testing of file dir
      String installPath = System.getProperty("INSTALL_ROOT");
      String instancePath = System.getProperty("INSTANCE_ROOT");
      if (installPath.equals(instancePath))
      if (installation.instanceAndInstallInSameDir)
      {
      isFilesDir = cs.contains(CONFIG_PATH_RELATIVE) &&
              cs.contains(LIBRARIES_PATH_RELATIVE);