Project

General

Profile

« Previous | Next » 

Revision 1034

Added by Jing Tao almost 22 years ago

In writeDataFile method, using getDataFileLockGrant(docid) replace getDataFileLockGrant(docid, serverCode). The latter will cause a problem

View differences:

DocumentImpl.java
357 357
      throw new Exception("Please specify the stored file name");
358 358
    }
359 359
    //make sure user have file lock grant(local metacat means have it too)
360
    if (getDataFileLockGrant(accnum, serverCode))
360
    if (getDataFileLockGrant(accnum))
361 361
    {
362 362
      //register data file into xml_documents table
363 363
      registerDocument(docname, doctype, accnum, user, serverCode);

Also available in: Unified diff