Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-525

OntDocumentManager copies the FileManager incorrectly.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Jena 2.10.1
    • Fix Version/s: Jena 2.11.0
    • Component/s: Ontology API
    • Labels:
      None

      Description

      From http://mail-archives.apache.org/mod_mbox/jena-users/201308.mbox/%3C521D6121.3070503%40neusoft.com%3E

      The OntDocumentManager takes its own copy of a FileManager – but as of jena 2.10.1 the actual global filemanager is a subclass of FileManager. When OntDocumentManager recreates a copy, the copy is incomplete. Need to copy the subclass somehow.

      Problem code: new FileManager in:

      public void setFileManager() {
              setFileManager( new FileManager( FileManager.get() ) );
              m_usingGlobalFileMgr = true;
          }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andy Andy Seaborne
                Reporter:
                andy Andy Seaborne
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: