Ignore:
Timestamp:
2008-08-08T11:03:17+12:00 (16 years ago)
Author:
davidb
Message:

Fixed oversight in GLI reading GS3 collectionConfig.xml where it didn't use the backwards-compatible mapping to rename old Plug->Plugins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/cdm/CollectionConfiguration.java

    r16042 r16678  
    13741374        }
    13751375        catch(Exception exception) {
     1376        // This catch clause had been left empty.  If this is deliberate then
     1377        // we should have a comment here explaining why there is no need to
     1378        // print anything out.  Am assuming this is mistake for now, and
     1379        // have added in a call to printStackTrace()
     1380        System.err.println("Malformed plugin statement");
     1381        exception.printStackTrace();
    13761382        }
    13771383        return command_element;
     
    20492055            Element e = (Element)plugin_children.item (i);
    20502056            String str = e.getAttribute (StaticStrings.NAME_ATTRIBUTE);
     2057        str = ensureNewPluginName(str);
    20512058            Element plugin_element = to.createElement (StaticStrings.PLUGIN_ELEMENT);
    20522059            plugin_element.setAttribute (StaticStrings.TYPE_ATTRIBUTE, str);
Note: See TracChangeset for help on using the changeset viewer.