- Timestamp:
- 2016-08-15T14:30:41+12:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/DocumentMaker.java
r30617 r30704 44 44 import org.greenstone.gsdl3.util.GSPath; 45 45 import org.greenstone.gsdl3.util.GSXML; 46 import org.greenstone.gsdl3.util.OID; 46 47 import org.greenstone.gsdl3.util.UserContext; 47 48 import org.greenstone.gsdl3.util.XMLConverter; … … 451 452 _GSDM.documentXMLSetText(oid, collection, newContent, userContext); 452 453 453 markDocumentInFlatDatabase("R", collection, oid); 454 // only top level doc ids are in database 455 markDocumentInFlatDatabase("R", collection, OID.getTop(oid)); 454 456 455 457 } … … 465 467 } 466 468 protected void markDocumentInFlatDatabase(String mark, String collection, String oid) { 467 469 468 470 Document msg_doc = XMLConverter.newDOM(); 469 471 Element message = msg_doc.createElement(GSXML.MESSAGE_ELEM);
Note:
See TracChangeset
for help on using the changeset viewer.