Revision 2641
Added by Jing Tao over 18 years ago
RemoteDocument.java | ||
---|---|---|
203 | 203 |
throw new Exception ("Couldn't find a dataset docid for the required id"); |
204 | 204 |
} |
205 | 205 |
// Create a documentImpl object |
206 |
document = new DocumentImpl(givenDocId, false); |
|
206 |
String accNumber = givenDocId + MetaCatUtil.getOption("accNumSeparator") + |
|
207 |
DBUtil.getLatestRevisionInDocumentTable(givenDocId); |
|
208 |
document = new DocumentImpl(accNumber, false); |
|
207 | 209 |
// get the replication home server (it come from xml_replication table) |
208 | 210 |
replicationDocHomeServer = document.getDocHomeServer(); |
209 | 211 |
|
Also available in: Unified diff
Change the code to make sure DocumentImpl class's constructor should have rev attached.