Changeset 34284 for main


Ignore:
Timestamp:
2020-07-23T13:53:26+12:00 (4 years ago)
Author:
ak19
Message:

After testing on client-GLI, rolling back uploading the converted or exported meta.csv file to the remote dir if created anywhere inside the collection folder other than the import dir.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java

    r34283 r34284  
    224224
    225225        // refresh coll view if meta.csv was created somewhere inside this coll's import folder
    226         // And for remote case, also upload any new file that's inside collection dir
    227         // (especially import dir) to server
    228         if(success && csvFile.exists() && csvFile.getAbsolutePath().startsWith(collection_directory_path)) {
     226        // And for remote case, also upload any new file that's inside
     227        // the collection's import dir to the remote server
     228        if(success && csvFile.exists() && csvFile.getAbsolutePath().startsWith(importDir)) {
    229229            if(Gatherer.isGsdlRemote) {
    230230            Gatherer.remoteGreenstoneServer.uploadFilesIntoCollection(currCollName, new File[] {csvFile}, csvFile.getParentFile());
Note: See TracChangeset for help on using the changeset viewer.