Project

General

Profile

« Previous | Next » 

Revision 6955

include generate system metadata upgrade in the success flag

View differences:

src/edu/ucsb/nceas/metacat/admin/upgrade/Upgrade2_0_0.java
45 45
        
46 46
        // dataone system metadata generation
47 47
        GenerateSystemMetadata systemMetadataUpgrade = new GenerateSystemMetadata();
48
        systemMetadataUpgrade.upgrade();  // TODO:  why aren't we checking success return value here?
48
        success = success && systemMetadataUpgrade.upgrade();
49 49
        
50 50
        // Optionally upgrade GUIDs to use DOI syntax if configured
51 51
        GenerateGlobalIdentifiers globalIDUpgrade = new GenerateGlobalIdentifiers();

Also available in: Unified diff