Changeset 32064


Ignore:
Timestamp:
2017-11-14T13:48:57+13:00 (6 years ago)
Author:
kjdon
Message:

for processDocXMLGetSection we need to actually add the section to the result!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/DocXMLUtil.java

    r28966 r32064  
    345345            String collection = currentSection.getAttribute(GSXML.COLLECTION_ATT);
    346346
    347             _GSDM.documentXMLGetSection(oid, collection, userContext);
     347            Element section = _GSDM.documentXMLGetSection(oid, collection, userContext);
    348348            if(_GSDM.checkError(result, DOC_XML_GET_SECTION))
    349349            {
    350                 return result;
    351             }
     350              logger.error("there was an error getting the archive section for " +oid);
     351                return result;
     352            }
     353            result.appendChild(result_doc.importNode(section,true));
    352354        }
    353355        return result;
Note: See TracChangeset for help on using the changeset viewer.