Hi there, did I overlook something? Can someone reproduce this behaviour or might the problem be on our side?
Thanks, David On 09/10/11 13:31, David Raison wrote: > Hej, > > We've stumbled upon a problem with the query printer in SMW 1.6.1 and > 1.6.2. Any export to RDF (example: [0]) triggers the following exception: > > """ > Catchable fatal error: Argument 1 passed to > SMWExporter::addPropertyValues() must be an instance of SMWDIProperty, > instance of SMWPropertyValue given, called in > /var/local/mediawiki/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_RDF.php > on line 72 and defined in > /var/local/mediawiki/extensions/SemanticMediaWiki/includes/export/SMW_Exporter.php > on line 150 > """ > > var_dumping $printreq->getMode() in > SMWRDFResultPrinter->getResultText() reveals the values int(2) and > int(1), i.e. PRINT_PROP in which case $printreq->getData() return an > SMWPropertyValue object and not the required SMWDIProperty. > > As we use rdf exports quite extensively, I hope someone can give this a > quick look?! > > Thanks, > > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > > > > _______________________________________________ > Semediawiki-devel mailing list > Semediawiki-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- David Raison syn2cat a.s.b.l. - Promoting social and technical innovations A: 11, rue du cimetière L-8018 Strassen | Luxembourg T: +352 691 44 23 24 E: da...@hackerspace.lu W: http://www.hackerspace.lu
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel