Changeset 36169


Ignore:
Timestamp:
2022-05-10T09:51:46+12:00 (2 years ago)
Author:
kjdon
Message:

there was a (cut and paste?) error in passing the site name to GSFile.getAllXSLFiles which meant it was always passing null. therefore it couldn't pick up any metadata names from site or collection xsl files. Now that its fixed, adding metadata into these transform files does result it getting added to the page - requires a restart though, as this step of workign out which metadata we need happens at configure time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java

    r36001 r36169  
    154154    protected void getRequiredMetadataNamesFromXSLFiles()
    155155    {
    156         ArrayList<File> xslFiles = GSFile.getAllXSLFiles((String) this.config_params.get((String) this.config_params.get(GSConstants.SITE_NAME)));
     156        ArrayList<File> xslFiles = GSFile.getAllXSLFiles((String) this.config_params.get(GSConstants.SITE_NAME));
    157157
    158158        HashMap<String, ArrayList<String>> includes = new HashMap<String, ArrayList<String>>();
Note: See TracChangeset for help on using the changeset viewer.