You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/08/28 15:38:51 UTC

[jira] [Commented] (JENA-525) OntDocuemntManager copies the FileManger incorrectly.

    [ https://issues.apache.org/jira/browse/JENA-525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13752394#comment-13752394 ] 

ASF subversion and git services commented on JENA-525:
------------------------------------------------------

Commit 1518203 from [~andy.seaborne] in branch 'jena/trunk'
[ https://svn.apache.org/r1518203 ]

JENA-525 : Add cloning operation for AdapterFileManager.
Set the global location mapper with the global StreamManager.
                
> OntDocuemntManager copies the FileManger incorrectly.
> -----------------------------------------------------
>
>                 Key: JENA-525
>                 URL: https://issues.apache.org/jira/browse/JENA-525
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Ontology API
>    Affects Versions: Jena 2.10.1
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>
> 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:
> {noformat}
> public void setFileManager() {
>         setFileManager( new FileManager( FileManager.get() ) );
>         m_usingGlobalFileMgr = true;
>     }
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira