Last modified: 2012-11-08 07:41:48 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 T43857, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41857 - queries for Text properties work incorrectly
queries for Text properties work incorrectly
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
master
All All
: Unprioritized critical with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://scratchpad.referata.com/wiki/B...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-07 18:29 UTC by Yury Katkov
Modified: 2012-11-08 07:41 UTC (History)
4 users (show)

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


Attachments

Description Yury Katkov 2012-11-07 18:29:17 UTC
If the property Property:Testprop has type Text, the selecting pages in inline queries work not as expected. 

Steps to reproduce the bug:

1) Create page Property:Testprop with the content:  [[has type::Text]]
2) Create pages Test1, Test2, Test3 with the content: [[Testprop::blabla]]
3) Create pages Test4, Test5, Test6 with the content: [[Testprop::something else]]
4) execute the query: {{#ask:[[Testprop::blabla]] }}

EXPECTED RESULT: Test1,Test2,Test3
ACTUAL RESULT in SMW 1.7.1: Test1,Test2,Test3, Test4, Test5, Test6
Comment 1 Yury Katkov 2012-11-07 18:43:10 UTC
http://scratchpad.referata.com/wiki/Bug_41857_-_queries_for_Text_properties_work_incorrectly - here is the page on Referata scratchpad where I've reproduced the bug
Comment 2 Markus Krötzsch 2012-11-08 07:41:48 UTC
This works correctly in SQLStore3, so you might consider this "fixed".

For SQLStore2, the bug is "invalid": it should be documented that value checking for type Text properties is not supported. You can not sort by such properties either. All of this works in SMW1.8 with SQLStore3.

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


Navigation
Links