Changeset 34284

Show
Ignore:
Timestamp:
23.07.2020 13:53:26 (12 days 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.

Files:
1 modified

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());