Project

General

Profile

« Previous | Next » 

Revision 697

Added by bojilova about 23 years ago

- fixed missing replication of public_access
- new attribute catalog_id added in xml_documents and xml_revisions
as a FK to xml_catalog; catalog_id is replicated also

View differences:

ReplicationHandler.java
108 108
        }
109 109
      }
110 110
      serverList = buildServerList(conn);
111
      updateCatalog(serverList);
111 112
      update(serverList);
112
      updateCatalog(serverList);
113 113
      conn.close();
114 114
    }
115 115
    catch (Exception e)
......
272 272
            {
273 273
              String newDocid = DocumentImpl.write(conn, 
274 274
                              new StringReader(newxmldoc),
275
                              null,
275
                              (String)docinfoHash.get("public_access"),
276
                              null,  /* the dtd text */
276 277
                              action, 
277 278
                              docid, 
278 279
                              (String)docinfoHash.get("user_owner"),
279 280
                              (String)docinfoHash.get("user_owner"), 
280 281
                              serverCode, 
281
                              true);
282
                              true, /* override */
283
                              false /* validate */);
282 284
              MetacatReplication.replLog("wrote doc " + docid + " from " + 
283 285
                                         docServer);
284 286
              System.out.println("wrote doc " + docid + " from " + 

Also available in: Unified diff