Ignore:
Timestamp:
2012-10-25T17:50:57+13:00 (11 years ago)
Author:
ak19
Message:

Fixed issue with deleting fedora collections from GLI: it would start a process to call the new g2f-deletecol script and then immediately continue by deleting the collection directory. Unfortunately, the collection directory needs to be around until the script has finished purging the docs from fedora: the GS3 collection dir is how the g2f-deletecol.pl script works out what files (which pids) need purging.

File:
1 edited

Legend:

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

    r19272 r26402  
    344344        list_model.removeElement(collection);
    345345
    346         resultPrompt(true);
     346        if (!Configuration.fedora_info.isActive()) { // for fedora collections, delete in background
     347            resultPrompt(true);
     348        }
    347349        details.setText(Dictionary.get("DeleteCollectionPrompt.No_Collection"));
    348350        confirmation.setEnabled(false);
Note: See TracChangeset for help on using the changeset viewer.