Project

General

Profile

« Previous | Next » 

Revision 1767

Added by Jing Tao over 20 years ago

Fixed a bug that replication didn't do inline data.

View differences:

src/edu/ucsb/nceas/metacat/MetacatReplication.java
524 524
                +util.getLocalReplicationServerName()
525 525
                +"&action=read&docid=" + docid);
526 526
      String xmldoc = MetacatReplication.getURLContent(u);
527
    
527
          
528 528
      // get the document info from server
529 529
      URL docinfourl = new URL("https://" + server + 
530 530
                               "?server="+util.getLocalReplicationServerName()
......
940 940
      
941 941
      DocumentImpl di = new DocumentImpl(docid);
942 942
      response.setContentType("text/xml");
943
      out.print(di.toString());
943
      out.print(di.toString(null, null, true));
944 944
   
945 945
      MetacatReplication.replLog("document " + docid + " sent");
946 946
    

Also available in: Unified diff