Last modified: 2011-05-12 11:51:31 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 T30688, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28688 - getPropertyValues() fails for "Has default form" special property in SMW 1.6
getPropertyValues() fails for "Has default form" special property in SMW 1.6
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized critical (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-25 04:27 UTC by Yaron Koren
Modified: 2011-05-12 11:51 UTC (History)
1 user (show)

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


Attachments

Description Yaron Koren 2011-04-25 04:27:31 UTC
Trying to get the set of default forms for a page, by using SMW's getPropertyValues() function to query on the special property "Has default form", unfortunately doesn't work with SMW 1.6. I tried to isolate the problem, and I think the issue comes not in the querying itself - which seems to work - but rather in the function SMWCompatibilityHelper::dataItemFromDBKeys(), which is supposed to process the query results into a usable form, but doesn't know what to do with properties with the type ID "__spf", and so does nothing with them.
Comment 1 Yaron Koren 2011-05-12 11:51:31 UTC
I fixed this in SMWCompatibilityHelper::dataItemFromDBKeys(), after a discussion with Markus.

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


Navigation
Links