AKSW/OntoWiki — Issue #26: Unable to get History upon import
Author: LisaDawn
Created: 2012-01-03 21:37:25+00:00
State: open

Hi,

We are still unable to get history upon importing a data source. This has worked in the past on MySQL, but not successfully on Virtuoso.

We have a cloned version of ASKW (non-edited) running on our machines. We have commented out line 532 of ModelController; tried setting the variable to "true". In all the debugging, it appears that the variable
is set to "true", but we still don't see any history.

Here are some details from debugging:

ModelController.php commented line#532

$versioning = $this->_erfurt->getVersioning();

$oldValue = $versioning->isVersioningEnabled(); //$versioning-
>enableVersioning(false);

$this->_handleImport($post, true);
When I debug this functionality I found :

Call Stack:
1. ModelController->createAction

2. ModelController->_handleImport

3. $this->_erfurt->getStore()->getNewModel
a. $this->_backendAdapter->createModel
b. $this->getModel

4. $this->_erfurt->getStore()->importRdf
a. $this->_backendAdapter->importRdf
i. $importSql = $this->_getImportSql;
ii. $this->_execSql('CALL
DB.DBA.RDF_LOAD_RDFXML(XML_URI_GET_AND_CACHE('http://localhost/
Ontologies/classtest.owl'), 'http://localhost/OntoWiki/classtest/',
'http://localhost/OntoWiki/classtest/')');
b. $this->_backendAdapter->init()

We had originally reported this on the google group, but thought I would report it here.

We need to have this functionality work for our release next week. Ideas on what can be done?

thanks in advance!
Lisa

http://groups.google.com/group/ontowiki-user/browse_thread/thread/4e516fdcd0520d18