Last modified: 2013-01-18 18:02:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46028, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44028 - SMWSQLStore3Writers::prepareConceptTableInserts stores concept data as assoc array
SMWSQLStore3Writers::prepareConceptTableInserts stores concept data as assoc ...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-16 10:35 UTC by s7eph4n
Modified: 2013-01-18 18:02 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
return concept data in numeric array (491 bytes, application/octet-stream)
2013-01-16 10:35 UTC, s7eph4n
Details

Description s7eph4n 2013-01-16 10:35:16 UTC
Created attachment 11635 [details]
return concept data in numeric array

MW's Database::insert expects a numeric array with index 0 being present. SMWSQLStore3Writers::prepareConceptTableInsertsreturns returns an associative array which will lead to a mysql error and the data not being inserted.

The attached patch should fix this.
Comment 1 s7eph4n 2013-01-16 10:36:26 UTC
Semantic MediaWiki (Version 1.9 alpha) 	(0e1afb0)
Comment 2 Jeroen De Dauw 2013-01-18 13:20:39 UTC
https://gerrit.wikimedia.org/r/#/c/44612/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links