https://bugzilla.wikimedia.org/show_bug.cgi?id=31907
Web browser: ---
Bug #: 31907
Summary: Exception in SMW RDF Query Printer
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
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() returns an
SMWPropertyValue object and not the required SMWDIProperty.
Setting the format to "debug" returns "Fatal error: Call to a member function
getCount() on a non-object in
/var/local/mediawiki/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php
on line 426"
Let me know if you need more data.
[0]
https://www.hackerspace.lu/wiki/Special:Ask/-5B-5BCategory:Event-5D-5D-20-5B-5BStartDate::%2B-5D-5D-20-5B-5BStartDate::-3E2011-2D10-2D18-5D-5D/-3FStartDate/-3FEndDate/-3FHas-20description/-3FIs-20Event-20of-20Type/-3FHas-20location/mainlabel%3D/order%3DASC/sort%3DStartDate/format%3Ddebug/syntax%3Drdfxml/limit%3D100
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l