Changeset 33015


Ignore:
Timestamp:
2019-04-16T20:35:44+12:00 (5 years ago)
Author:
ak19
Message:

Bugfix. Client-GLI didn't have the preview button enabled if opening a collection that was already built, requiring the user to rebuild again in order for the button to become enabled. Now the built() method, which returns true if a collection is already built, also works for the remote GS3 case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java

    r32712 r33015  
    398398        }
    399399        File test_file = new File(file_name);
    400         return test_file.exists();
     400
     401        if(Gatherer.isGsdlRemote) {
     402        return Gatherer.remoteGreenstoneServer.exists(collection.getGroupQualifiedName(false), test_file);
     403        } else {
     404        return test_file.exists();
     405        }
    401406    }
    402407    return false;
Note: See TracChangeset for help on using the changeset viewer.